NetBSD/distrib/miniroot/mtree.usr.install
lukem a8025d95ae Commit work-in-progess rototill of distrib/miniroot and associated machine
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!
2002-03-06 12:04:48 +00:00

25 lines
913 B
Plaintext

# $NetBSD: mtree.usr.install,v 1.1 2002/03/06 12:04:49 lukem Exp $
/set type=link uname=root gname=wheel mode=0755
# OK, now do everything in /usr all over all again in usr.install,
# in case we try and install directly into the miniroot (mounting over /usr).
./usr.install type=dir
./usr.install/bin type=dir
./usr.install/bin/chflags link=../../sysinst
./usr.install/bin/chgrp link=../../sysinst
./usr.install/bin/ftp link=../../sysinst
./usr.install/bin/gunzip link=../../sysinst
./usr.install/bin/gzcat link=../../sysinst
./usr.install/bin/gzip link=../../sysinst
./usr.install/bin/netstat link=../../sysinst
./usr.install/bin/sort link=../../sysinst
./usr.install/bin/tar link=../../sysinst
./usr.install/bin/tip link=../../sysinst
./usr.install/bin/vi link=../../sysinst
./usr.install/sbin type=dir
./usr.install/sbin/chown link=../../sysinst
./usr.install/sbin/chroot link=../../sysinst