From b26e8fa84486e71aa9571db17bcddb1a69f564b3 Mon Sep 17 00:00:00 2001 From: Aaron Klingaman Date: Wed, 1 Dec 2004 23:57:05 +0000 Subject: [PATCH] don't attempt to build iso before burning copy default network conf file to cd make all pl_* init scripts executable --- build.sh | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index 47075c0..6bbed7c 100755 --- a/build.sh +++ b/build.sh @@ -115,12 +115,19 @@ function build_initrd() echo "installing our own inittab and init scripts" cp -f $CONF_FILES_DIR/inittab $CD_ROOT/etc - cp -f $CONF_FILES_DIR/pl_sysinit $CD_ROOT/etc/init.d/ - cp -f $CONF_FILES_DIR/pl_hwinit $CD_ROOT/etc/init.d/ + init_scripts="pl_sysinit pl_hwinit pl_netinit pl_validateconf pl_boot" + for script in $init_scripts; do + cp -f $CONF_FILES_DIR/$script $CD_ROOT/etc/init.d/ + chmod +x $CD_ROOT/etc/init.d/$script + done echo "setup basic networking files" cp -f $CONF_FILES_DIR/hosts $CD_ROOT/etc/ + echo "setup default network conf file" + mkdir -p $CD_ROOT/usr/boot + cp -f $CONF_FILES_DIR/default-net.cnf $CD_ROOT/usr/boot + echo "copying isolinux configuration files" cp -f $CONF_FILES_DIR/isolinux.cfg $CD_ROOT/usr/isolinux/ echo "$FULL_VERSION_STRING" > $CD_ROOT/usr/isolinux/message.txt @@ -180,7 +187,6 @@ if [ "$1" == "clean" ]; then fi if [ "$1" == "burn" ]; then - build_iso burn exit fi -- 2.43.0