packages.list:46-48 takes sysutils/sysupgrade as a binary of the makronix
set and names docs/reference/sysupgrade.txt as the reading behind it, and
docs/reference/AGENTS.md lists the file too; neither existed. This is the
reading, done in the distfile sysupgrade-1.5.tar.gz (build/distfiles) and
pkgsrc's three patches, with the claims measured in the tree.
What it settles for t0055:
- RELEASEDIR is the architecture directory of a release (it fetches
binary/sets/<set>.<ext> and binary/kernel/netbsd-<KERNEL>.gz under it), so
build/obj/releasedir/amd64, not the sets directory; the sets there are
*.tar.xz and pkgsrc's ARCHIVE_EXTENSION is tar.xz on x86_64.
- file:// is not an accepted form: an absolute path, ftp://, http://, ssh://
(and https:// through pkgsrc's patch). Our command has to translate
file:///DIR to /DIR.
- KERNEL=AUTO needs config(1), which is comp-obsolete in this tree
(src/distrib/sets/lists/comp/mi:4719-4720) and not in the destdir: it
fails, it does not skip; KERNEL must be explicit (GENERIC on amd64).
- SETS=AUTO takes /etc/mtree/set.*, and set.makronix is one of them: the
makronix set is fetched and unpacked with the base system.
- The configuration file does not exist on an installed system: the set
carries share/examples/sysupgrade/default.conf, the CONF_FILES copy to
/usr/pkg/etc/sysupgrade.conf is a pkg_add action, and shtk_config_load
stops when the file is missing. The command of t0055 passes -c its own.
- Nothing verifies a set (t0078's subject).
Also recorded as makronix wiki entry e00012.