wm/cde cannot be cross-built from Linux (mk/tools/replace.mk:142 refuses awk:run when OPSYS != NATIVE_OPSYS), so it is built on a live image from src/ under qemu: tools/vm-boot.cfg puts the console on com0, tools/vmctl.py drives it, and tools/vmbuild/ holds the stages that bootstrap pkgsrc there with --prefer-native=yes and build the recipe unchanged. Two settings, both configuration, both scoped to wm/cde in the build host's mk.conf: FORCE_C_STD=gnu11 (autoconf 2.72 picks C23, where CDE's 'int f();' means 'int f(void)') and the C wrapper's append list for the five GCC 14 implicit-declaration errors, the only lever that reaches the ksh93 subtree. stage6 walks the runtime closure over the @pkgdep lines in +CONTENTS, not over +DEPENDS (that file is in the binary package, not in the registration database), and the closure is unpacked into the sysroot rather than pkg_add'ed so CDE's /etc/dt paths do not land on the build host. 10837 set entries, checkflist green.
20 lines
741 B
INI
20 lines
741 B
INI
# boot.cfg for the NetBSD build host VM (not part of the distribution).
|
|
#
|
|
# The live image built by live-image/ has no VGA console in the VM, so the
|
|
# loader and the kernel have to be told to use com0: the loader reads this file
|
|
# from the root of the root filesystem, and libsa passes the same devname, addr
|
|
# and speed to the kernel as BTINFO_CONSOLE (sys/arch/i386/stand/lib/exec.c,
|
|
# read by sys/arch/x86/x86/consinit.c).
|
|
#
|
|
# Passed to the image build as
|
|
# -V IMGFILE_EXTRA="... this-file boot.cfg"
|
|
# so the shipped boot.cfg stays untouched.
|
|
|
|
menu=Boot normally:rndseed /var/db/entropy-file;boot
|
|
menu=Boot single user:rndseed /var/db/entropy-file;boot -s
|
|
menu=Drop to boot prompt:prompt
|
|
default=1
|
|
timeout=5
|
|
clear=1
|
|
consdev=com0,115200
|