# syspkgs -- NetBSD base as packages (read 2026-11-09)

Source: src/BUILDING:399-402 (pinned src e523df740)
     syspkgs       Create syspkgs from DESTDIR into
                   RELEASEDIR/RELEASEMACHINEDIR/binary/syspkgs.  Should be run
                   after "make distribution", as "make build" alone does not
                   install all of the required files.

Tools in the tree: src/distrib/sets/{syspkgs,regpkg,regpkgset,syspkgdeps,listpkgs}
The package of a file is the 2nd field of every line in src/distrib/sets/lists/*/*
Measured: lists/base/mi has 6513 lines and 223 distinct package names (e.g. base-sys-root).
There is no MKPKG variable (grep of src/share/mk/bsd.own.mk: no match).
