Page MenuHomeFreeBSD

D59040.id.diff
No OneTemporary

D59040.id.diff

diff --git a/tools/tools/nanobsd/_xxx_includes.subr b/tools/tools/nanobsd/_xxx_includes.subr
--- a/tools/tools/nanobsd/_xxx_includes.subr
+++ b/tools/tools/nanobsd/_xxx_includes.subr
@@ -94,3 +94,17 @@
"$entry" "$type" "$NANO_DEF_UNAME" "$NANO_DEF_GNAME" "$mode" >> "$metalog"
fi
}
+
+#
+# If we do "make distribution", this directory must be present.
+# XXX: Discuss adding this as a pkg script in base
+#
+_xxx_add_sys_symlink() {
+ (
+ cd "${NANO_WORLDDIR}"
+ ln -sf usr/src/sys sys
+ )
+ if [ -n "$NANO_METALOG" ]; then
+ echo "./sys type=link uname=root gname=wheel mode=0755 link=usr/src/sys" >> "$NANO_METALOG"
+ fi
+}

File Metadata

Mime Type
text/plain
Expires
Mon, Aug 24, 8:10 PM (12 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37047176
Default Alt Text
D59040.id.diff (638 B)

Event Timeline