git: 894992e78605 - main - nanobsd: embedded: Time stamp the code image
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 19 Mar 2026 17:15:30 UTC
The branch main has been updated by jlduran:
URL: https://cgit.FreeBSD.org/src/commit/?id=894992e7860596ce27961771fc00e52812da91f1
commit 894992e7860596ce27961771fc00e52812da91f1
Author: Jose Luis Duran <jlduran@FreeBSD.org>
AuthorDate: 2026-03-19 17:14:36 +0000
Commit: Jose Luis Duran <jlduran@FreeBSD.org>
CommitDate: 2026-03-19 17:14:36 +0000
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
---
tools/tools/nanobsd/embedded/common | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)