aboutsummaryrefslogtreecommitdiff
path: root/release/Makefile
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2001-03-21 23:53:40 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2001-03-21 23:53:40 +0000
commita191fd1be70bc095857b65d9930828a0a99615c7 (patch)
tree875723d4f1571d3268447eab6b19d03e61b582b7 /release/Makefile
parentd0230d0442334f672f0ee617b0ed2c1a3c1ad9d1 (diff)
downloadsrc-a191fd1be70bc095857b65d9930828a0a99615c7.tar.gz
src-a191fd1be70bc095857b65d9930828a0a99615c7.zip
This adds /etc/netconfig to the list of files that get copied to
/stand/etc on the mfsroot, and hence to /etc on the install target disk for use during the install. It also links netconfig and services into /etc on the mfsroot so that they are available to a fixit shell. Submitted by: iedowse
Notes
Notes: svn path=/head/; revision=74611
Diffstat (limited to 'release/Makefile')
-rw-r--r--release/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/release/Makefile b/release/Makefile
index a59585a33931..c0b4974b1ffc 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -85,7 +85,7 @@ BIN_DISTS?= bin
DISTRIBUTIONS?= ${BIN_DISTS} ${OTHER_DISTS} ${COMPAT_DISTS} ${CRYPTO_DISTS}
KERNELS?= GENERIC
-BOOT1= etc/protocols etc/defaults/rc.conf
+BOOT1= etc/protocols etc/netconfig etc/defaults/rc.conf
# mountpoint for filesystems.
MNT= /mnt
@@ -537,11 +537,10 @@ release.8: write_mfs_in_kernel
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
- echo "nameserver 42/tcp name" > ${RD}/mfsfd/stand/etc/services
- echo "ftp 21/tcp" >> ${RD}/mfsfd/stand/etc/services
- echo "domain 53/tcp nameserver" >> ${RD}/mfsfd/stand/etc/services
- echo "domain 53/udp nameserver" >> ${RD}/mfsfd/stand/etc/services
- echo "cmd 514/tcp shell" >> ${RD}/mfsfd/stand/etc/services
+ grep -E '^(ftp|nameserver|domain|sunrpc|cmd|nfsd)[^-\w]' \
+ ${.CURDIR}/../etc/services > ${RD}/mfsfd/stand/etc/services
+ ln ${RD}/mfsfd/stand/etc/services ${RD}/mfsfd/etc/services
+ ln ${RD}/mfsfd/stand/etc/netconfig ${RD}/mfsfd/etc/netconfig
gzip -9c ${.CURDIR}/../COPYRIGHT > ${RD}/mfsfd/stand/help/COPYRIGHT.hlp.gz
@for i in README.TXT RELNOTES.TXT INSTALL.TXT UPGRADE.TXT HARDWARE.TXT; do \
if [ -f ${.CURDIR}/texts/${MACHINE_ARCH}/$${i} ]; then \