mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 05:58:57 +00:00
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:
parent
44a028c369
commit
dc2475c540
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=63871
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user