Files
makronix/tools/vmbuild/AGENTS.md
T

1.3 KiB

tools/vmbuild/ -- LEGACY: building in a NetBSD VM

What it is for

The earlier way to build wm/cde: inside a NetBSD amd64 VM driven over its serial console. Since 2026-11-13 this is not the way to build. Building is cross and native, never in a VM; a VM is only for testing installs and upgrades (root AGENTS.md). This directory, tools/packages.vm.list, tools/vm-pkgbuild.sh, tools/vm-pkgcollect.sh, tools/vm-boot.cfg and the Python drivers tools/vmctl.py, tools/vmmon.py are being removed. Do not extend them, do not describe a VM build as the way to build.

What is in it

  • README -- the step-by-step record of the old procedure.
  • stage1-fetch.sh, stage3-bootstrap.sh, stage4-mkconf.sh, stage5-cde.sh, stage6-pack.sh -- stages run inside the VM (there is no stage2).
  • vm-mk.conf, mk-cde.conf -- mk.conf fragments of the build host.

What may be changed

Nothing new. Only removal, together with its users (tools/userland.sh, Makefile, root AGENTS.md) in the same commit.

What must not be touched

  • Do not patch pkgsrc to get a package through; a package that cannot build is a finding for the report.
  • Results belong in build/, never in the tree.
  • Nothing here has been re-run since 2026-11-06; the log names in README were not checked.