Also define and use "MACHINE" variable to describe port names
(no uname(1) or sysctl(8) in miniroot binary list by default).
I guess the short format like "91" by ${DISTRIBREV} was used only
for split sets for floppies in 1990's releases.
Worth to pullup to netbsd-9.
No program requires -ledit in crunched SMALLPROG case, and
miniroot doesn't have /usr/bin/file which requires -lmagic.
(sparc had it but it was removed in distrib/sparc/miniroot/list rev 1.29)
PROG usr/bin/gzip usr/bin/gzcat usr/bin/gunzip
while 14 picked
PROG usr/bin/gzip usr/bin/gunzip usr/bin/gzcat
Make them all choose the former. No functional change.
dependent files:
- Use infrastructure from distrib/common to build file system images with
crunchgen-ed programs from a list file.
- Non root ("UNPRIVED") builds from a read-only source tree are possible,
as makefs(8) replaces vnconfig(8)/vnd use, devices are generated using
common/makedev2spec.awk, etc.
- Cross builds should be possible, except that some ports need cross-compile
host tool versions of installboot and any appropriate host disk labelling
tools.
XXX: pmax, sparc and vax need fixing for this!
- This code has NOT YET BEEN TESTED on most of the ports.
It should work, but it is extremely likely that the file system
parameters may need tweaking to get things to fit.
See MAKEFS_FLAGS in sparc/miniroot/Makefile.inc for an example.
If assistance is required, please ask!
VERSION file.
* Set the EDITOR variable in install.sub, so it will be set in both
upgrade & install.
* Make the checks on the presence of installation sets on the local
disks on upgrade more precise.
* Remove more&less from the list of standard binaries (I need more space!)
* When building an fstab from the users' fstab, drop lines starting with
a '#' and lines with an fstype that is not supported on the miniroot.
names. As before the first program name (field 3) is the one "with source".
The remaining entries specify just filesystem links.
Additional keywords processed by makeconf.awk:
ARGVLINK: used to specify additional link directives for crunchgen(1); no
filesystem links appear for these.
SRCDIRS: crunchgen `srcdirs' directive
CRUNCHSPECIAL: crunchgen `special' directive
Note:
- `list' was more-or-less arbitrarily split into MD & MI parts.
- the `crunch' configuration file is generated from `list's
with the `makeconf' awk-script.
- Makefile assumes there's a `../<arch>/miniroot' directory with
MI configuration files.