Take a lesson from picoBSD: symlink /bin and /sbin to /stand in the mfsroot

and install dhclient-script in stand/.
This commit is contained in:
John Baldwin 2000-07-26 04:28:21 +00:00
parent 44a028c369
commit dc2475c540
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=63871

View File

@ -522,8 +522,11 @@ release.8: write_mfs_in_kernel
ls console tty bpf0 ttyv0 ttyv1 ttyv2 ttyv3 null zero card0 card1 card2 card3 usb usb0 uhid0 ums0 ulpt0 ugen0 kbd0 kmem mem | \
cpio -dump ${RD}/mfsfd/dev )
( cd ${RD}/mfsfd/dev && rm -f *[swo]d*[bdefgh] )
( cd ${RD}/mfsfd && mkdir -p bin sbin && ln -s /stand/sh bin/sh )
cp /sbin/dhclient-script ${RD}/mfsfd/sbin
( cd ${RD}/mfsfd && \
for dir in bin sbin ; do \
ln -sf /stand $$dir; \
done )
cp /sbin/dhclient-script ${RD}/mfsfd/stand
cp ${.CURDIR}/../etc/defaults/pccard.conf ${RD}/mfsfd/etc/defaults/pccard.conf
cp ${.CURDIR}/../etc/usbd.conf ${RD}/mfsfd/etc/usbd.conf
cd ${RD}/trees/bin && ls ${BOOT1} | cpio -dump ${RD}/mfsfd/stand