Everything is covered per this conversation in SVN with the exception of accounting for missing /run in LightCube OS, but I think it was decided that it would be added. Also no ip flush (I forgot, but will get it in a day or two) on down interface, and dhcp calls not accounted for. Quite a few changes are required for the book to work with them now including:
* rendering of scripts in the book, path and name changes * tarball creation with book render job * inittab is installed by the bootscripts package (this could be changed if desired) * initd-tools page needs to be added * the path for the setclock script in 55-lfs.rules needs to be changed * the network interface configuration file should be placed in /etc/network/ifconfig.<int>/ * setting clock parameters for the setclock script is done in /etc/rc.site * setting the hostname is now done in /etc/rc.site * add mention of turning off bootlogging and interactive prompt For LightCube OS (or anyone else that would like to customize the scripts for their release), hopefully all that is needed is a similar patch to the one below, in addition to the one adding additional services and scripts (which will need to be rediffed for the new file layout), diff -Naur lsb-bootscripts-20110514/etc/default/rc.site lsb-bootscripts-20110514-LCOS/etc/default/rc.site --- lsb-bootscripts-20110514/etc/default/rc.site 2011-05-14 16:00:31.000000000 -0500 +++ lsb-bootscripts-20110514-LCOS/etc/default/rc.site 2011-05-14 16:30:27.000000000 -0500 @@ -9,7 +9,7 @@ BOOTLOG_ENAB="yes" # Hostname -HOSTNAME=<lfs> +HOSTNAME=<lightcube> # System time variables UTC=1 @@ -17,12 +17,12 @@ # Manual input is not appropriate on remote systems. Define what happens when # an error is encountered that interupts the boot/shutdown proceess -FAILURE_ACTION="read ENTER" +FAILURE_ACTION='echo ""' # Distro Information -DISTRO="Linux From Scratch" # The distro name -DISTRO_CONTACT="lfs-dev@linuxfromscratch.org" # Bug report address -DISTRO_MINI="lfs" # Short name used in filenames for distro config +DISTRO="LightCube OS" +DISTRO_CONTACT="http://dev.lightcube.us/projects/lightcubeos/issues" +DISTRO_MINI="lightcube" # Define custom colors used in messages printed to the screen BRACKET="\\033[1;34m" # Blue @@ -45,9 +45,9 @@ export PREFIX_SUCCESS PREFIX_WARNING PREFIX_FAILURE # Interactive startup -iprompt="yes" # Wether to display the interactive boot promp +iprompt="no" # Wether to display the interactive boot promp itime="2" # The ammount of time (in seconds) to display the prompt -dlen="29" # The total length of the distro welcome string +dlen="23" # The total length of the distro welcome string ilen="38" # The total length of the interactive message welcome_message="Welcome to ${INFO}${DISTRO}${NORMAL}" i_message="Press '${FAILURE}I${NORMAL}' to enter interactive startup" diff -Naur lsb-bootscripts-20110514/Makefile lsb-bootscripts-20110514-LCOS/Makefile --- lsb-bootscripts-20110514/Makefile 2011-05-14 16:00:31.000000000 -0500 +++ lsb-bootscripts-20110514-LCOS/Makefile 2011-05-14 16:26:42.000000000 -0500 @@ -25,7 +25,7 @@ install: create-dirs install -m ${MODE} etc/init.d/checkfs ${EXTDIR}/init.d/ install -m ${MODE} etc/init.d/cleanfs ${EXTDIR}/init.d/ - install -m ${CONFMODE} etc/init.d/lfs-functions ${EXTDIR}/init.d/ + install -m ${CONFMODE} etc/init.d/lfs-functions ${EXTDIR}/init.d/lightcube-functions install -m ${MODE} etc/init.d/halt ${EXTDIR}/init.d/ install -m ${MODE} etc/init.d/console ${EXTDIR}/init.d/ install -m ${MODE} etc/init.d/localnet ${EXTDIR}/init.d/ Think that covers it all. Time for some testing. -- DJ Lucas -- This message has been scanned for viruses and dangerous content, and is believed to be clean. -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page