Make ramdiskbin smaller to fit into ramdisk.
This commit is contained in:
parent
e5244472c9
commit
2f247ac8dd
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.5 1999/05/11 20:46:59 veego Exp $
|
||||
# $NetBSD: Makefile,v 1.6 1999/07/08 16:36:15 tsubai Exp $
|
||||
|
||||
TOP= ${.CURDIR}/..
|
||||
|
||||
|
@ -28,7 +28,7 @@ all: ${CBIN}
|
|||
dd if=/dev/zero of=${IMAGE} bs=${SIZE} count=1
|
||||
vnconfig -t ${DISKTYPE} -v -c ${VND_CDEV} ${IMAGE}
|
||||
disklabel -rw ${VND_CDEV} ${DISKTYPE}
|
||||
newfs -B be -m 0 -o space -i 4096 -c 80 ${VND_RDEV}
|
||||
newfs -B be -m 0 -o space -i 6144 -c 96 ${VND_RDEV}
|
||||
mount ${VND_DEV} ${MOUNT_POINT}
|
||||
mtree -def ${.CURDIR}/${MTREE} -p ${MOUNT_POINT}/ -u
|
||||
TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
|
||||
|
@ -41,7 +41,7 @@ all: ${CBIN}
|
|||
|
||||
unconfig:
|
||||
-umount -f ${MOUNT_POINT}
|
||||
-vnconfig -u ${VND_DEV}
|
||||
-vnconfig -u ${VND_CDEV}
|
||||
-/bin/rm -f ${IMAGE}
|
||||
|
||||
${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: ramdiskbin.conf,v 1.4 1999/01/27 13:18:31 tsubai Exp $
|
||||
# $NetBSD: ramdiskbin.conf,v 1.5 1999/07/08 16:36:15 tsubai Exp $
|
||||
#
|
||||
# ramdiskbin.conf - unified binary for the install ramdisk
|
||||
|
||||
|
@ -8,15 +8,17 @@ srcdirs sys/arch/macppc/stand
|
|||
progs cat chmod chown chroot cp dd df disklabel ed
|
||||
progs fsck fsck_ffs ftp gzip ifconfig init installboot ln ls
|
||||
progs mkdir mknod more mount mount_cd9660 mount_ffs mount_kernfs
|
||||
progs mount_msdos mount_nfs mt mv newfs pax ping pwd rcmd rcp reboot
|
||||
progs mount_msdos mount_nfs mv newfs pax ping pwd rcmd rcp reboot
|
||||
progs restore rm route sed sh shutdown slattach stty sync
|
||||
progs test tip tset umount update
|
||||
progs sysinst
|
||||
|
||||
special init srcdir distrib/utils/init_s
|
||||
special dd srcdir distrib/utils/x_dd
|
||||
special gzip srcdir distrib/utils/x_gzip
|
||||
special ifconfig srcdir distrib/utils/x_ifconfig
|
||||
special init srcdir distrib/utils/init_s
|
||||
special more srcdir distrib/utils/more
|
||||
special sysinst srcdir distrib/utils/sysinst
|
||||
special route srcdir distrib/utils/x_route
|
||||
special sysinst srcdir distrib/utils/sysinst/arch/macppc
|
||||
|
||||
ln chown chgrp
|
||||
|
@ -35,4 +37,4 @@ ln restore rrestore
|
|||
srcdirs distrib/utils
|
||||
|
||||
libs libhack.o
|
||||
libs -ledit -lutil -lcurses -ltermcap -lrmt -lcrypt -ll -lm -lz -lkvm
|
||||
libs -ledit -lutil -lcurses -ltermcap -lcrypt -ll -lm -lz -lkvm
|
||||
|
|
Loading…
Reference in New Issue