git: 800d390fe74a - main - nanobsd: Add a provisional populate /cfg function
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 17 Jan 2026 18:13:08 UTC
The branch main has been updated by jlduran:
URL: https://cgit.FreeBSD.org/src/commit/?id=800d390fe74affa7484da3ad754ccc166624c056
commit 800d390fe74affa7484da3ad754ccc166624c056
Author: Jose Luis Duran <jlduran@FreeBSD.org>
AuthorDate: 2026-01-17 18:09:59 +0000
Commit: Jose Luis Duran <jlduran@FreeBSD.org>
CommitDate: 2026-01-17 18:09:59 +0000
nanobsd: Add a provisional populate /cfg function
Add a provisional _populate_cfg_part function. It populates the /cfg
partition, but using makefs(8), which is more in-line with what release
engineering uses to create images.
Reviewed by: imp
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D48791
---
tools/tools/nanobsd/defaults.sh | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tools/tools/nanobsd/defaults.sh b/tools/tools/nanobsd/defaults.sh
index 7775dd572fb5..c0683259786a 100755
--- a/tools/tools/nanobsd/defaults.sh
+++ b/tools/tools/nanobsd/defaults.sh
@@ -772,6 +772,10 @@ populate_cfg_slice() {
populate_slice "$1" "$2" "$3" "$4"
}
+_populate_cfg_part() {
+ _populate_part "cfg" "$1" "$2" "$3" "$4" "$5"
+}
+
populate_data_slice() {
populate_slice "$1" "$2" "$3" "$4"
}