etc: /opt/src points at the projects' sources

The source set carries the projects Makronix ships under usr/src/ext/src/<name>
(ext/AGENTS.md); an installed system also gets /opt/src there, where the other
trees live.  /opt is a directory in NetBSD.dist.base, the link is a
CONFIGSYMLINKS pair (as /etc/rmt is), and the base set list carries both.

The link is dangling until the source set is installed, by design: without
the sources there is nothing to point at.
This commit is contained in:
lotherk committed 2026-11-22 17:50:43 +01:00
1 parent 40f1b545df
commit 7b0369f49b
3 files changed
+6

No files matched your search

+2
View File
@@ -220,6 +220,8 @@
./libexec/resolvconf/unbound base-resolvconf-root
./mnt base-sys-root
./netbsd base-sys-root kernel_dir
./opt base-sys-root
./opt/src base-sys-root
./rescue base-sys-root
./root base-sys-root
./sbin base-sys-root
+3
View File
@@ -275,8 +275,11 @@ FILESDIR_makronix-xsession= /etc/dt/config/Xsession.d
FILESNAME_makronix-xsession= 0000makronix
FILESMODE_makronix-xsession= 755
# MCDE: the sources of the projects Makronix ships (ext/src/<name> in the
# source set) are reachable as /opt/src too, where the other trees live.
CONFIGSYMLINKS+= ${TZDIR}/${LOCALTIME} /etc/localtime \
/usr/sbin/rmt /etc/rmt \
/usr/src/ext/src /opt/src \
/usr/share/doc/makronix/infolib/makronix.dti \
/etc/dt/infolib/en_US.UTF-8/makronix.dti \
en_US.UTF-8 /etc/dt/infolib/C
+1
View File
@@ -182,6 +182,7 @@
./libexec/resolvconf
./libexec/resolvconf/libc.d
./mnt
./opt
./rescue
./root
./sbin