summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2000-07-26 04:28:21 +0000
committerjhb <jhb@FreeBSD.org>2000-07-26 04:28:21 +0000
commite18207aa844e85abf726c989be698fca17680bef (patch)
tree81c3aef2947a89132d535e3b756548ccb40c1c8d /release
parentd9182b54c97cee64b9a529f7d4b2a2edcb4b7d42 (diff)
downloadFreeBSD-src-e18207aa844e85abf726c989be698fca17680bef.zip
FreeBSD-src-e18207aa844e85abf726c989be698fca17680bef.tar.gz
Take a lesson from picoBSD: symlink /bin and /sbin to /stand in the mfsroot
and install dhclient-script in stand/.
Diffstat (limited to 'release')
-rw-r--r--release/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/release/Makefile b/release/Makefile
index f5ce0c3..9b5685c 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -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
OpenPOWER on IntegriCloud