From 78ea3f47104ee4b105df58e3a602e419390c587b Mon Sep 17 00:00:00 2001 From: brooks Date: Thu, 23 Sep 2004 21:17:31 +0000 Subject: Backout the hack to install mtree, newsyslog, and touch in the cloned root in the previous commit. We'll fix /etc/rc.d/var directly (someday). --- share/examples/diskless/clone_root | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/share/examples/diskless/clone_root b/share/examples/diskless/clone_root index f4505fe..9402c23 100755 --- a/share/examples/diskless/clone_root +++ b/share/examples/diskless/clone_root @@ -73,13 +73,11 @@ DEST=/diskless_root # DIRS mountpoints (empty dirs) # PWFILES files related to passwords # TOCOPY files and dirs to copy from root partition -# USRBINS binaries from /usr needed for tmp and var scripts SYSDIRS="dev proc root usr var" DIRS="cdrom home mnt" PWFILES="master.passwd passwd spwd.db pwd.db" TOCOPY="bin boot compat etc modules sbin stand sys" -USRBINS="/usr/sbin/mtree /usr/sbin/newsyslog /usr/bin/touch" init_diskless_root() { echo "Cleaning old diskless root ($DEST)" @@ -89,7 +87,7 @@ init_diskless_root() { mkdir -p $DEST && echo "New diskless root created." echo "+++ Now copy original tree from / ..." ex="" - (cd / ; tar -clf - ${TOCOPY} ${USRBINS} ) | (cd $DEST; tar xvf - ) + (cd / ; tar -clf - ${TOCOPY} ) | (cd $DEST; tar xvf - ) #(cd / ; find -x dev | cpio -o -H newc ) | \ # (cd $DEST; cpio -i -H newc -d ) echo "+++ Fixing permissions on some objects" -- cgit v1.1