aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Luis Duran <jlduran@FreeBSD.org>2026-03-19 17:14:36 +0000
committerJose Luis Duran <jlduran@FreeBSD.org>2026-03-19 17:14:36 +0000
commit894992e7860596ce27961771fc00e52812da91f1 (patch)
tree81de10ee6be8748b1503f3102042620ecaea4eaf
parent5902c1834d82737137152eeaf8b60f1cd6652fad (diff)
nanobsd: embedded: Time stamp the code image
While there is a function nano_makefs() that already takes care of this issue, we are not yet ready to consume it. Just add the time stamp and FFS options to makefs. This is done primarily to use UFS2 (UFS version 2). If the user needs further customization, the variable NANO_MAKEFS can be overridden. Timestamping takes care of making the images bit-for-bit identical. Reviewed by: imp MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D54980
-rw-r--r--tools/tools/nanobsd/embedded/common2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tools/nanobsd/embedded/common b/tools/tools/nanobsd/embedded/common
index f1ecf21fe51d..d6147a2b9760 100644
--- a/tools/tools/nanobsd/embedded/common
+++ b/tools/tools/nanobsd/embedded/common
@@ -589,7 +589,7 @@ eval std_${NANO_ARCH}
: ${NANO_ENDIAN:=little} # make -V something to figure it out?
: ${NANO_LAYOUT:=std-embedded}
-: ${NANO_MAKEFS_UFS:=makefs -t ffs -B ${NANO_ENDIAN}}
+: ${NANO_MAKEFS_UFS:=makefs -T ${NANO_TIMESTAMP} -t ffs ${NANO_MAKEFS} -B ${NANO_ENDIAN}}
: ${NANO_DISK_SCHEME:=mbr} # No others really supported ATM (well, gpt)
case ${NANO_LAYOUT} in
std-embedded)