From f48386c2b54983dff06f4d4e8243c0af918be6d3 Mon Sep 17 00:00:00 2001 From: "Rodney W. Grimes" Date: Mon, 18 Apr 1994 04:23:33 +0000 Subject: [PATCH] >From BETA_1_1 branch: ---------------------------- revision 1.53.2.3 date: 1994/04/10 20:19:37; author: rgrimes; state: Exp; lines: +12 -3 Must have etc and usr directories on the cdinstall floppies. Need to have device files for mcd1. Create links for usr/libexec and usr/lib on cdinstall floppies so that shared library code is loaded from cdrom. --- etc/Makefile | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/etc/Makefile b/etc/Makefile index 7ab8c96cd579..8afe8d00eb7f 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -1,5 +1,5 @@ # from: @(#)Makefile 5.11 (Berkeley) 5/21/91 -# $Id: Makefile,v 1.54 1994/03/07 00:42:56 rgrimes Exp $ +# $Id: Makefile,v 1.53.2.3 1994/04/10 20:19:37 rgrimes Exp $ NOOBJ= noobj @@ -48,6 +48,8 @@ KC_LINKS= bin/[ bin/cp bin/echo bin/test KC_LINKS+= sbin/fsck sbin/halt sbin/init KC_LINKS+= sbin/umount # +CD_DIRS= etc usr +# FILESYSTEM_DIRS= bin dev etc mnt proc sbin usr usr/bin usr/mdec usr/sbin FILESYSTEM_TREES= dev FILESYSTEM_FILES= ${COPYRIGHT} @@ -231,8 +233,10 @@ kcopy-floppy: (cd ${MOUNT}/dev; \ sh ${DESTDIR}/dev/MAKEDEV std; \ rm -rf fd; \ - sh ${DESTDIR}/dev/MAKEDEV fd0 fd1 wd0 wd1 sd0 sd1 cd0 mcd0; \ - rm -rf fd0?* rfd0?* fd1?* rfd1?*;) + sh ${DESTDIR}/dev/MAKEDEV fd0 fd1 wd0 wd1 sd0 sd1; \ + rm -rf fd0?* rfd0?* fd1?* rfd1?*; \ + sh ${DESTDIR}/dev/MAKEDEV cd0 mcd0 mcd1; \ + rm -rf rmcd*) (cd ${DESTDIR}/; \ ls ${KC_FILES} | cpio -pdamuv ${MOUNT}) install -c -o root -g wheel -m 755 etc.i386/kc.profile \ @@ -270,6 +274,11 @@ kcopy_bt.flp: cdins-floppy: ${MAKE} kcopy-floppy + (cd ${DESTDIR}/; \ + ls -d ${CD_DIRS} | cpio -pdamuv ${MOUNT}) + (cd ${MOUNT}/usr; \ + ln -s /cdrom/filesys/usr/libexec libexec; \ + ln -s /cdrom/filesys/usr/lib lib) mkdir ${MOUNT}/cdrom chown root.wheel ${MOUNT}/cdrom chmod 755 ${MOUNT}/cdrom