aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Luis Duran <jlduran@FreeBSD.org>2026-01-17 18:10:22 +0000
committerJose Luis Duran <jlduran@FreeBSD.org>2026-01-17 18:10:22 +0000
commit8832f767d6aeba37b2e957626d24de1f06890a0c (patch)
tree227c9efa8acee18dbf8d5b8e70da63c1ce4641a0
parent800d390fe74affa7484da3ad754ccc166624c056 (diff)
nanobsd: Add a provisional populate /data function
Add a provisional _populate_data_part function. It populates the optional /data partition, but using makefs(8), which is more in-line with what release engineering uses to create images. Reviewed by: emaste MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D48792
-rwxr-xr-xtools/tools/nanobsd/defaults.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/tools/nanobsd/defaults.sh b/tools/tools/nanobsd/defaults.sh
index c0683259786a..bb22ab9a0aa4 100755
--- a/tools/tools/nanobsd/defaults.sh
+++ b/tools/tools/nanobsd/defaults.sh
@@ -780,6 +780,10 @@ populate_data_slice() {
populate_slice "$1" "$2" "$3" "$4"
}
+_populate_data_part() {
+ _populate_part "data" "$1" "$2" "$3" "$4" "$5"
+}
+
last_orders() {
# Redefine this function with any last orders you may have
# after the build completed, for instance to copy the finished