git: f54f362d62c6 - main - nanobsd: embedded: Stub out experimental functions

From: Jose Luis Duran <jlduran_at_FreeBSD.org>
Date: Fri, 30 Jan 2026 01:43:39 UTC
The branch main has been updated by jlduran:

URL: https://cgit.FreeBSD.org/src/commit/?id=f54f362d62c638529b66ea351821752e756a9a21

commit f54f362d62c638529b66ea351821752e756a9a21
Author:     Jose Luis Duran <jlduran@FreeBSD.org>
AuthorDate: 2026-01-27 05:54:04 +0000
Commit:     Jose Luis Duran <jlduran@FreeBSD.org>
CommitDate: 2026-01-30 01:42:00 +0000

    nanobsd: embedded: Stub out experimental functions
    
    Stub out both experimental functions introduced in ecc039be7fdd when
    doing embedded builds.
    
    Fixes:          ecc039be7fdd ("nanobsd: Add a NO_ROOT build option")
    MFC after:      3 days
---
 tools/tools/nanobsd/embedded/common | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/tools/tools/nanobsd/embedded/common b/tools/tools/nanobsd/embedded/common
index f8df8f2698dd..87dad52fcaca 100644
--- a/tools/tools/nanobsd/embedded/common
+++ b/tools/tools/nanobsd/embedded/common
@@ -622,6 +622,9 @@ calculate_partitioning() {
 create_code_slice() {
 }
 
+_create_code_slice() {
+}
+
 # Each major disk scheme has its own routine. Generally
 # this is for mbr, gpt, etc. These are generally are widely
 # shared, but some specialized formats won't be shared.
@@ -629,6 +632,10 @@ create_diskimage() {
 	eval create_diskimage_${NANO_DISK_SCHEME}
 }
 
+_create_diskimage() {
+	eval create_diskimage_${NANO_DISK_SCHEME}
+}
+
 # Set the path to the same path we use for buldworld to use latest mkimg
 NANO_TARGET=$(cd ${NANO_SRC}; ${NANO_MAKE} TARGET_ARCH=${NANO_ARCH} -V _TARGET)
 NANO_TMPPATH=$(cd ${NANO_SRC}; ${NANO_MAKE} MK_AUTO_OBJ=no TARGET=${NANO_TARGET} TARGET_ARCH=${NANO_ARCH} -f Makefile.inc1 buildenv -V TMPPATH)