NetBSD/distrib/miniroot/list
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

74 lines
1.6 KiB
Plaintext

# $NetBSD: list,v 1.17 2002/03/06 12:04:49 lukem Exp $
SRCDIRS bin sbin usr.bin usr.sbin gnu/usr.bin
PROG bin/cat
PROG bin/chmod
PROG bin/cp
PROG bin/dd
PROG bin/df
PROG bin/ed
PROG bin/expr
PROG bin/hostname
PROG bin/ln
PROG bin/ls
PROG bin/kill
PROG bin/mkdir
PROG bin/mt
PROG bin/mv
PROG bin/pwd
PROG bin/pax usr/bin/tar usr/bin/cpio
PROG bin/rm
PROG bin/sh
PROG bin/stty
PROG bin/sleep
PROG bin/sync
PROG sbin/fsck_ffs sbin/fsck
PROG sbin/reboot sbin/halt
PROG sbin/ifconfig
PROG sbin/init
PROG sbin/mknod
PROG sbin/mount
PROG sbin/mount_cd9660
PROG sbin/mount_ffs
PROG sbin/mount_nfs
PROG sbin/newfs sbin/mount_mfs
PROG sbin/ping
PROG sbin/route
PROG sbin/shutdown
PROG sbin/slattach
PROG sbin/umount
PROG usr/bin/chflags
PROG usr/bin/ftp
PROG usr/bin/gzip usr/bin/gunzip usr/bin/gzcat
PROG usr/bin/sed
PROG usr/bin/sort
PROG usr/bin/tip
PROG usr/sbin/chown usr/bin/chgrp
PROG usr/sbin/chroot
SPECIAL ed srcdir distrib/utils/x_ed
SPECIAL ifconfig srcdir distrib/utils/x_ifconfig
SPECIAL ping srcdir distrib/utils/x_ping
SPECIAL route srcdir distrib/utils/x_route
LIBS -lrmt -ledit -lutil -lcurses -ltermcap -lbz2 -lcrypt -lintl -ll -lm -lkvm
ARGVLN sh -sh
# various files that we need in /etc for the install
COPY ${_SRC_TOP_}/etc/group etc/group
COPY ${_SRC_TOP_}/etc/master.passwd etc/master.passwd
COPY ${_SRC_TOP_}/etc/netconfig etc/netconfig
COPY ${_SRC_TOP_}/etc/protocols etc/protocols
COPY ${_SRC_TOP_}/etc/services etc/services
# and the installation scripts
COPY ${CURDIR}/install.sub install.sub
COPY ${CURDIR}/install.sh install 755
COPY ${CURDIR}/upgrade.sh upgrade 755
CMD sed "/^VERSION=/s/=.*/=${DISTRIBREV}/" < ${CURDIR}/install.sub > install.sub