Trim the ramdisk down even smaller. Include the device files on
the ramdisk, since we don't have enough memory to dynamically build /dev on mfs.
This commit is contained in:
parent
b85e9644ab
commit
a530714247
@ -1,11 +1,10 @@
|
||||
# $NetBSD: Makefile,v 1.4 2002/02/13 19:25:26 gmcgarry Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2002/02/23 22:02:08 gmcgarry Exp $
|
||||
|
||||
.include "${.CURDIR}/../../Makefile.inc"
|
||||
.include <bsd.own.mk>
|
||||
|
||||
IMAGE= ramdisk.fs
|
||||
IMAGESIZE= 2000k
|
||||
IMAGEDEPENDS= ${DESTDIR}/usr/mdec/uboot.lif
|
||||
IMAGESIZE= 1200k
|
||||
USE_SYSINST= yes
|
||||
|
||||
WARNS= 1
|
||||
@ -19,6 +18,9 @@ IMAGEDEPENDS+= ${CRUNCHBIN} dot.profile termcap.mini \
|
||||
${_SRC_TOP_}/etc/protocols ${_SRC_TOP_}/etc/netconfig \
|
||||
${_SRC_TOP_}/etc/services ${DESTDIR}/usr/mdec/uboot.lif
|
||||
|
||||
|
||||
MAKEDEVTARGETS+=std md0
|
||||
|
||||
.if defined(USE_SYSINST)
|
||||
LISTS+= ${DISTRIBDIR}/common/list.sysinst
|
||||
.endif
|
||||
|
@ -1,30 +1,20 @@
|
||||
# $NetBSD: list,v 1.1 2002/02/13 05:31:18 gmcgarry Exp $
|
||||
#
|
||||
# $NetBSD: list,v 1.2 2002/02/23 22:02:08 gmcgarry Exp $
|
||||
|
||||
SRCDIRS bin sbin usr.bin usr.sbin gnu/usr.bin sys/arch/hp300/stand
|
||||
#SRCDIRS usr.bin/less
|
||||
|
||||
PROG bin/cat
|
||||
PROG bin/chio
|
||||
PROG bin/chmod
|
||||
PROG bin/cp
|
||||
PROG bin/dd
|
||||
PROG bin/df
|
||||
PROG bin/ed
|
||||
PROG bin/ln
|
||||
PROG bin/ls
|
||||
PROG bin/mkdir
|
||||
PROG bin/mt
|
||||
PROG bin/mv
|
||||
PROG bin/pax usr/bin/tar
|
||||
PROG bin/pwd
|
||||
PROG bin/rcmd
|
||||
PROG bin/rm
|
||||
PROG bin/sh
|
||||
PROG bin/stty
|
||||
PROG bin/sync
|
||||
|
||||
PROG sbin/dhclient
|
||||
PROG sbin/disklabel
|
||||
PROG sbin/fsck
|
||||
PROG sbin/fsck_ffs
|
||||
@ -33,50 +23,34 @@ PROG sbin/init
|
||||
PROG sbin/mknod
|
||||
PROG sbin/mount
|
||||
PROG sbin/mount_cd9660
|
||||
PROG sbin/mount_ext2fs
|
||||
PROG sbin/mount_ffs
|
||||
PROG sbin/mount_kernfs
|
||||
PROG sbin/mount_msdos
|
||||
PROG sbin/mount_nfs
|
||||
PROG sbin/mount_ntfs
|
||||
PROG sbin/newfs sbin/mount_mfs
|
||||
PROG sbin/ping
|
||||
PROG sbin/ping6
|
||||
PROG sbin/reboot sbin/halt
|
||||
PROG sbin/restore sbin/rrestore
|
||||
PROG sbin/route
|
||||
PROG sbin/rtsol
|
||||
PROG sbin/scsictl
|
||||
PROG sbin/shutdown
|
||||
PROG sbin/slattach
|
||||
PROG sbin/swapctl
|
||||
PROG sbin/umount
|
||||
|
||||
PROG usr/bin/ftp
|
||||
PROG usr/bin/gzip usr/bin/gzcat usr/bin/gunzip
|
||||
#PROG usr/bin/less usr/bin/more
|
||||
PROG usr/bin/sed
|
||||
PROG usr/bin/tip
|
||||
|
||||
PROG usr/sbin/chown usr/bin/chgrp
|
||||
PROG usr/sbin/chroot
|
||||
PROG usr/sbin/wiconfig
|
||||
|
||||
SPECIAL dhclient srcdir distrib/utils/x_dhclient
|
||||
SPECIAL ftp srcdir distrib/utils/x_ftp
|
||||
SPECIAL ifconfig srcdir distrib/utils/x_ifconfig
|
||||
SPECIAL mount srcdir distrib/utils/x_mount
|
||||
SPECIAL ping srcdir distrib/utils/x_ping
|
||||
SPECIAL ping6 srcdir distrib/utils/x_ping6
|
||||
SPECIAL route srcdir distrib/utils/x_route
|
||||
SPECIAL umount srcdir distrib/utils/x_umount
|
||||
|
||||
LIBS libhack.o -lbz2 -ledit -lutil -lcurses -ltermcap -lrmt -lcrypt -ll -lm
|
||||
LIBS libhack.o -lbz2 -lutil -lcurses -ltermcap -lcrypt -ll -lm
|
||||
|
||||
# various files that we need in /etc for the install
|
||||
COPY ${_SRC_TOP_}/usr.sbin/dhcp/clientscript/dhclient-script sbin/dhclient-script 555
|
||||
|
||||
# we need the boot block in /usr/mdec
|
||||
COPY ${DESTDIR}/usr/mdec/uboot.lif usr/mdec/uboot.lif
|
||||
COPY ${DISTDIR}/usr/mdec/installboot usr/mdec/installboot
|
||||
COPY ${DESTDIR}/usr/mdec/installboot usr/mdec/installboot
|
||||
|
||||
# init invokes the shell as -sh
|
||||
ARGVLN sh -sh
|
||||
|
Loading…
Reference in New Issue
Block a user