Author: justin Date: 2006-07-12 12:51:12 -0600 (Wed, 12 Jul 2006) New Revision: 1613
Added: branches/cross/packages/clfs-bootscripts/ Removed: branches/cross/packages/clfs-bootscripts/lfs-bootscripts-20060417-livecd-1.patch branches/cross/packages/lfs-bootscripts/ Modified: branches/cross/packages/clfs-bootscripts/Makefile Log: Remove lfs-bootscripts, added clfs-bootscripts. Copied: branches/cross/packages/clfs-bootscripts (from rev 1598, branches/cross/packages/lfs-bootscripts) Modified: branches/cross/packages/clfs-bootscripts/Makefile =================================================================== --- branches/cross/packages/lfs-bootscripts/Makefile 2006-07-11 13:57:00 UTC (rev 1598) +++ branches/cross/packages/clfs-bootscripts/Makefile 2006-07-12 18:51:12 UTC (rev 1613) @@ -1,15 +1,13 @@ # LFS-Bootscripts Makefile -NM= lfs-bootscripts -VRS= 20060417 +NM= bootscripts-cross-lfs +VRS= 0.2 DIR= $(NM)-$(VRS) FILE= $(DIR).tar.bz2 -URL-$(FILE)= http://www.linuxfromscratch.org/~dj/bootscripts/$(FILE) -SHA-$(FILE)= df32cc670d88a42fb46036fad488c251dc0c89f0 +URL-$(FILE)= $(HTTP)/$(NM)/$(FILE) +SHA-$(FILE)= 8a10f76788e39d75d87d474bef83b56c6dac7dc3 -PATCH1= $(DIR)-livecd-1.patch - # Targets include $(ROOT)/scripts/functions @@ -23,8 +21,7 @@ cp $(SRC)/$(FILE) $(LFSSRC) compile-stage2: - patch -Np1 -i ../$(PATCH1) - make install-livecd + make install clean: -rm -rf $(DIR) Deleted: branches/cross/packages/clfs-bootscripts/lfs-bootscripts-20060417-livecd-1.patch =================================================================== --- branches/cross/packages/lfs-bootscripts/lfs-bootscripts-20060417-livecd-1.patch 2006-07-11 13:57:00 UTC (rev 1598) +++ branches/cross/packages/clfs-bootscripts/lfs-bootscripts-20060417-livecd-1.patch 2006-07-12 18:51:12 UTC (rev 1613) @@ -1,110 +0,0 @@ -diff -urN lfs-bootscripts-20060415.orig/lfs/init.d/console lfs-bootscripts-20060415/lfs/init.d/console ---- lfs-bootscripts-20060415.orig/lfs/init.d/console 2005-12-26 06:28:48.000000000 +0500 -+++ lfs-bootscripts-20060415/lfs/init.d/console 2006-04-20 15:18:02.000000000 +0600 -@@ -57,8 +57,12 @@ - # FIXME: Fedora Core also initializes two spare consoles - # - do we want that? - -- for TTY in `grep '^[^#].*respawn:/sbin/agetty' /etc/inittab | -- grep -o '\btty[[:digit:]]*\b'` -+ # for TTY in `grep '^[^#].*respawn:/sbin/agetty' /etc/inittab | -+ # grep -o '\btty[[:digit:]]*\b'` -+ # -+ # XXX Livecd doesn't use agetty, so the statement above -+ # doesn't work -+ for TTY in 1 2 3 4 5 6 - do - openvt -f -w -c ${TTY#tty} -- \ - /bin/sh -c "${MODE_COMMAND}" -diff -urN lfs-bootscripts-20060415.orig/lfs/init.d/udev lfs-bootscripts-20060415/lfs/init.d/udev ---- lfs-bootscripts-20060415.orig/lfs/init.d/udev 2006-04-14 07:56:36.000000000 +0600 -+++ lfs-bootscripts-20060415/lfs/init.d/udev 2006-04-20 15:18:02.000000000 +0600 -@@ -18,41 +18,13 @@ - case "${1}" in - start) - boot_mesg "Populating /dev with device nodes..." -- if ! grep -q '[[:space:]]sysfs' /proc/mounts; then -- echo_failure -- boot_mesg -n "FAILURE:\n\nUnable to create" ${FAILURE} -- boot_mesg -n " devices without a SysFS filesystem" -- boot_mesg -n "\n\nAfter you press Enter, this system" -- boot_mesg -n " will be halted and powered off." -- boot_mesg -n "\n\nPress Enter to continue..." ${INFO} -- boot_mesg "" ${NORMAL} -- read ENTER -- /etc/rc.d/init.d/halt stop -- fi -- -- # Mount a temporary file system over /dev, so that any devices -- # made or removed during this boot don't affect the next one. -- # The reason we don't write to mtab is because we don't ever -- # want /dev to be unavailable (such as by `umount -a'). -- mount -n -t tmpfs tmpfs /dev -o mode=755 -- if [ ${?} != 0 ]; then -- echo_failure -- boot_mesg -n "FAILURE:\n\nCannot mount a tmpfs" ${FAILURE} -- boot_mesg -n " onto /dev, this system will be halted." -- boot_mesg -n "\n\nAfter you press Enter, this system" -- boot_mesg -n " will be halted and powered off." -- boot_mesg -n "\n\nPress Enter to continue..." ${INFO} -- boot_mesg "" ${NORMAL} -- read ENTER -- /etc/rc.d/init.d/halt stop -- fi - - # Udev handles uevents itself, so we don't need to have - # the kernel call out to any binary in response to them - echo > /proc/sys/kernel/hotplug - -- # Copy static device nodes to /dev -- cp -a /lib/udev/devices/* /dev -+ # LiveCD specific -+ /usr/sbin/dmsetup mknodes - - # Start the udev daemon to continually watch for, and act on, - # uevents -diff -urN lfs-bootscripts-20060415.orig/Makefile lfs-bootscripts-20060415/Makefile ---- lfs-bootscripts-20060415.orig/Makefile 2006-04-16 01:36:11.000000000 +0600 -+++ lfs-bootscripts-20060415/Makefile 2006-04-20 18:19:41.000000000 +0600 -@@ -85,6 +85,41 @@ - install -m ${MODE} lfs/sysconfig/network-devices/services/ipv4-static ${EXTDIR}/sysconfig/network-devices/services/ - install -m ${MODE} lfs/sysconfig/network-devices/services/ipv4-static-route ${EXTDIR}/sysconfig/network-devices/services/ - -+install-livecd: create-dirs create-service-dir -+ install -m ${CONFMODE} lfs/init.d/functions ${EXTDIR}/rc.d/init.d/ -+ install -m ${MODE} lfs/init.d/console ${EXTDIR}/rc.d/init.d/ -+ install -m ${MODE} lfs/init.d/localnet ${EXTDIR}/rc.d/init.d/ -+ install -m ${MODE} lfs/init.d/mountfs ${EXTDIR}/rc.d/init.d/ -+ install -m ${MODE} lfs/init.d/mountkernfs ${EXTDIR}/rc.d/init.d/ -+ install -m ${MODE} lfs/init.d/network ${EXTDIR}/rc.d/init.d/ -+ install -m ${MODE} lfs/init.d/rc ${EXTDIR}/rc.d/init.d/ -+ install -m ${MODE} lfs/init.d/sendsignals ${EXTDIR}/rc.d/init.d/ -+ install -m ${MODE} lfs/init.d/setclock ${EXTDIR}/rc.d/init.d/ -+ install -m ${MODE} lfs/init.d/sysklogd ${EXTDIR}/rc.d/init.d/ -+ install -m ${MODE} lfs/init.d/udev ${EXTDIR}/rc.d/init.d/ -+ ln -sf ../init.d/sendsignals ${EXTDIR}/rc.d/rc0.d/S60sendsignals -+ ln -sf ../init.d/localnet ${EXTDIR}/rc.d/rc0.d/S90localnet -+ ln -sf ../init.d/sendsignals ${EXTDIR}/rc.d/rc6.d/S60sendsignals -+ ln -sf ../init.d/localnet ${EXTDIR}/rc.d/rc6.d/S90localnet -+ ln -sf ../init.d/network ${EXTDIR}/rc.d/rc0.d/K80network -+ ln -sf ../init.d/network ${EXTDIR}/rc.d/rc1.d/K80network -+ ln -sf ../init.d/network ${EXTDIR}/rc.d/rc2.d/K80network -+ ln -sf ../init.d/network ${EXTDIR}/rc.d/rc3.d/S20network -+ ln -sf ../init.d/network ${EXTDIR}/rc.d/rc4.d/S20network -+ ln -sf ../init.d/network ${EXTDIR}/rc.d/rc5.d/S20network -+ ln -sf ../init.d/network ${EXTDIR}/rc.d/rc6.d/K80network -+ ln -sf ../init.d/mountkernfs ${EXTDIR}/rc.d/rcsysinit.d/S00mountkernfs -+ ln -sf ../init.d/udev ${EXTDIR}/rc.d/rcsysinit.d/S10udev -+ ln -sf ../init.d/mountfs ${EXTDIR}/rc.d/rcsysinit.d/S40mountfs -+ ln -sf ../init.d/setclock ${EXTDIR}/rc.d/rcsysinit.d/S60setclock -+ ln -sf ../init.d/console ${EXTDIR}/rc.d/rcsysinit.d/S70console -+ ln -sf ../init.d/localnet ${EXTDIR}/rc.d/rcsysinit.d/S80localnet -+ if [ ! -f ${EXTDIR}/sysconfig/rc ]; then install -m ${CONFMODE} lfs/sysconfig/rc ${EXTDIR}/sysconfig/; fi -+ install -m ${MODE} lfs/sysconfig/network-devices/ifup ${EXTDIR}/sysconfig/network-devices/ -+ install -m ${MODE} lfs/sysconfig/network-devices/ifdown ${EXTDIR}/sysconfig/network-devices/ -+ install -m ${MODE} lfs/sysconfig/network-devices/services/ipv4-static ${EXTDIR}/sysconfig/network-devices/services/ -+ install -m ${MODE} lfs/sysconfig/network-devices/services/ipv4-static-route ${EXTDIR}/sysconfig/network-devices/services/ -+ - install-consolelog: create-dirs - install -m ${MODE} contrib/init.d/consolelog ${EXTDIR}/rc.d/init.d - ln -sf ../init.d/consolelog ${EXTDIR}/rc.d/rcsysinit.d/S00consolelog -- http://linuxfromscratch.org/mailman/listinfo/livecd FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
