The 3 GB GPT image without /source fails the same way under OVMF from USB
(test-smoke-usb-uefi-2026-11-09.log), so the size was never the cause.
make test installs fully from the GPT stick through its BIOS path.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sysinst finds them in /source/sets when it runs from the stick (main.c:144)
and installs them in the simple mode (util.c:1536). Chain 2026-11-09c
proved the config-menu flow of 0b4d2a9 up to the reboot.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Written by opencode (iceman-contributor-free), checked against Makefile:79-92,
tools/test.sh, tools/vmsh.sh:97-100, tools/cd-com0.sh:7-12.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
setup.c calls set_network/add_new_user (configmenu.c wrappers) and
root_pw_setup while the target is mounted, instead of its own forms;
ordinary users get the desktop groups afterwards. dup_file_into_target
copies only a source that exists. Tests answer the new prompts.
Not built yet.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MacBookPro8,1 has EFI 1.1 by Apple; NetBSD's EFI loader stops after loading the
kernel there (gnats 58279). rEFInd 0.14.2 (pinned SHA-256) starts the loader.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- patch 0014: the install image carries the binary packages (MD_IMGDIR_EXTRA,
amd64 installimage, 3072 MB) and consdev=auto in its boot.cfg
- sysinst disks.c: the disk whose wedge is the root is not listed (the stick
was offered as "a: sd0")
- vmsh.sh -U (image as USB stick, snapshot), install-simple.sh -U
Measured 2026-11-08: install from the stick (BIOS, USB) 38 PASS, with the extra
programs from the stick; the GPT image boots to sysinst in QEMU/UEFI.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- tools/cd-com0.sh: copy of an install CD with `consdev=com0' in /boot.cfg;
the UEFI loader (console=auto) did not take the serial port in the test VM
(a key through the serial pipe or the keyboard did not count; screen dump:
installer on VGA)
- install-cgd.sh: UEFI uses that copy, 4 GB RAM; install-simple.sh: no
Enter loop; vmsh.sh: VMSH_AHCI
Measured 2026-11-08: cgd UEFI 35 PASS, multi-CD (3 package CDs) 38 PASS.
Open: three guest freezes in write-heavy phases at 2 GB, cause unknown.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- sysinst simple mode: sshd on with root login by password, npf firewall,
mDNS (mdnsd, nsswitch), PulseAudio, CUPS, dbus; extra programs from N
package CDs (extras.c); cgd root fix (mnt2_mounted)
- Portuguese (pt_BR) catalogs and patch 0013; welcome text for DVD/CDs
- media: console=auto (0008), RAM-disk installer with two CDs (0012),
package CDs and DVD packages (cd3.sh), userland.sh for the build VM
- tests: line-by-line checks, mDNS pattern, UEFI Enter loop, VMSH_AHCI
(QEMU 11.1.2 loses PIIX IDE interrupts under load)
- docs: UPDATING.md, npf-default.conf, AGENTS.md updates
Measured 2026-11-07: simple 37 PASS, DVD+sources 42 PASS, cgd BIOS 35 PASS;
cgd UEFI with console=auto not green yet.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
make iso now also writes CD 2 (makronix set) and CD 3 (binary packages); make sourcesets/isosrc make the source sets and the DVD with them. tools: cd2.sh cd3.sh, install-simple.sh install-cgd.sh (end-to-end tests on the serial console), vmsh.sh devvm.sh (QEMU sessions, the kept build VM), vm-pkgbuild.sh vm-pkgcollect.sh (native pkgsrc builds), pkg-binaries.sh (the project's binary packages), host-nfs-setup.sh (NFS for the build VM; loopback-only through an nftables rule), makronix-distfiles.sh makronix-pins.sh msrc-stage.sh. Package lists: common, per platform, and binary.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The goal is a sysinst that encrypts by itself; tools/install-simple.sh and tools/install-cgd.sh drive that in sh. They stay in git history.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
tools/mkrootimg.sh makes an ext4 image with the device's ROOT_UUID from the
base's rootfs tar, the kernel modules, fstab, a usb0 profile and the root
password (ROOT_PASSWORD, default makronix); tools/flash-root.sh writes it to
ROOT_PARTITION (userdata). mkbootimg.sh appends pmos_root_uuid=$ROOT_UUID;
the pmOS UUIDs left the cmdline. BASE defaults to void.
Measured: Void reaches "void login:" with runit, sshd and NetworkManager, with
the baseline kernel on slot a. The pinned kernel tree's build garbles the
display and does not reach the initramfs (devices/hotdogb/AGENTS.md).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The installer cannot read its own CD: cd9660.kmod is 62 hours older than the
kernel inside the same ISO, so the module does not load. build.sh iso-image
only packages releasedir; the kmods come from distribution. Two steps, in this
order, with the timestamp check as the gate.
docs/HANDOFF-2026-11-05.md carries the measurements, the file map and what is
already proven (unencrypted GPT/EFI install boots to login:).
The old driver waited for menu text on a unix socket; these menus are drawn
with box characters and their labels are not contiguous text, so it gave up
before sysinst had drawn anything. This waits only for the two plain strings
the console does contain and otherwise sends keys on a schedule.
The five amd64 boot.cfg.in files carried upstream's 30. What a medium
actually waits comes from /boot.cfg, and on this tree's media that file is the
etc set's (distrib/sets/lists/etc/md.amd64:3), extracted after the medium's
own copy; measured with tools/boottimeout-probe.py on the built CD: countdown
5,4,3,2,1, menu gone at 5.8s; the same image with that byte set to 9 counts
from 9 and leaves the menu at 16.5s. The patch makes the declared value equal
to the value that boots.
docs/reference/boot-cfg-timeout.txt records the quotes and the finding;
build/logs/t-d1972f2e-media.log is the release that carried it (rc=0).
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.
The tools it guards (awk:run, install-info:run) only ever see TARGET paths and
are never executed here; can-be-built-here.mk documents NO_SKIP for exactly
this case. Without it CDE stops before its first file is compiled.
vim 9.2.1202 and vim-share build cross with the tree's toolchain
(x86_64--netbsd-gcc) and come out as NetBSD 11.99.9 ELF. Two
configuration defects had to go first: bootstrap on a Linux host writes
PREFER_PKGSRC=yes, which made pkgsrc rebuild curses (devel/ncurses) for
the host and mix host and target in one build; and the fragment described
a target pkg_install that does not exist, since pkgtools/pkg_install
cannot cross-build.
The 'makronix' set is generated by tools/makronix-set.sh from what the
packages installed plus the METALOG records pkg_add does not write.
See AGENTS.md for the set, the bootstrap flag and where a Linux build
host stops.
The tree builds pkgsrc packages for NetBSD/amd64 with the tooldir and the
sysroot that build.sh produced; tools/pkgsrc-cross.mk.conf carries the whole
configuration as the bootstrap's mk-fragment. Measured: devel/zlib comes out
"for NetBSD 11.99.9", installs into destdir.amd64/usr/pkg through pkgsrc's
bootstrap pkg_add with -p, and checkflist reports those files as extra until a
set lists them.
OPSYS_VERSION in the fragment was 119900900; bsd.prefs.mk computes it as
printf "%02d%02d%02d" of major/minor/patch, so 11.99.9 is 119909, and the
missing CROSS_LOWER_*/CROSS_OBJECT_FMT stop bsd.prefs.mk with "missing cross
variable settings".
Also: build/ is output and now ignored, the tick uses the absolute path to
hermes, and AGENTS.md names the import pins and how a build is gated.