Date: Thu, 19 Mar 2026 17:15:30 +0000 From: Jose Luis Duran <jlduran@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 894992e78605 - main - nanobsd: embedded: Time stamp the code image Message-ID: <69bc2f32.331e6.2108c045@gitrepo.freebsd.org>
index | next in thread | raw e-mail
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)home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69bc2f32.331e6.2108c045>
