diff options
author | DJ Lucas <dj@linuxfromscratch.org> | 2011-04-25 03:07:03 +0000 |
---|---|---|
committer | DJ Lucas <dj@linuxfromscratch.org> | 2011-04-25 03:07:03 +0000 |
commit | 84ce1e3fcac2178afba5f4db816e4d396aab2808 (patch) | |
tree | 1c2bca9257d44a9777d4f1e82ad1957817b907f0 /bootscripts | |
parent | 29450ec185b58ffeebdf0fd1147ad8b68f7d96b5 (diff) |
Synced lsb-v3 scripts with main bootscripts, changed format of changelog.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9513 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'bootscripts')
-rw-r--r-- | bootscripts/contrib/lsb-v3/ChangeLog | 154 | ||||
-rw-r--r-- | bootscripts/contrib/lsb-v3/init.d/mountfs | 1 | ||||
-rw-r--r-- | bootscripts/contrib/lsb-v3/init.d/mountvirtfs | 1 | ||||
-rw-r--r-- | bootscripts/contrib/lsb-v3/init.d/udev | 3 |
4 files changed, 96 insertions, 63 deletions
diff --git a/bootscripts/contrib/lsb-v3/ChangeLog b/bootscripts/contrib/lsb-v3/ChangeLog index 8793f08c2..b9a1a91cd 100644 --- a/bootscripts/contrib/lsb-v3/ChangeLog +++ b/bootscripts/contrib/lsb-v3/ChangeLog @@ -1,69 +1,99 @@ ChangeLog -20101012 - [dj] * Added udev to Required-Start for swap script. -20100823 - [dj] * Fix missing 'then' in sendsignals conditionals. Thanks to - Jeremy Huntwork for the report and correction. +20110424 - [dj] + * Sync to LFS-Bootscripts-20110424 (move new run mounts and + symlinks [bdubbs]). -20100627 - [dj] * Sync to LFS-Bootscripts-20100627 (killall in new sysvinit). - * Standardized syntax for integer comparisons in tests. +20110418 - [bdubbs] + * lfs/init.d/mountvirtfs: Change name from mountkernfs to + mountvirtfs. + * Add mounting of /run filesystem. -20100529 - [matthew] - * Only copy /lib/udev/devices/null, as Udev >= 155 copies - devices from /lib/udev/devices to /dev itself. - Udevd still needs /dev/null present before starting up though. - -20100529 - [dj] * Sync to LFS-Bootscirpts-20100529 - * Add test if /dev is already mounted in udev script. - * Added --action=add to udevadmin trigger lines of udev script. - -20100427 - [dj] * Removed unneeded X-LFS-Default* lines. - * Corrected udev_retry script for new udev. - * Corrected path of syslogd and klogd in sysklogd script. - -20090325 - [dj] * Corrected serveral echo commands missing -e - Thanks to - Michael Tremer at IPFire for the corrections. - -20081023 - [dj] * Removed BROKEN_COMPOSE handling in console script because - kernel patch was accepted upstream. - -20080908 - [dj] * Corrected echo command in rc script - Thanks to - Michael Tremer at IPFire. - -20080907 - [dj] * Use new initd-tools package to activate scripts. - * $syslog and modules services cannot be a hard dependencies - due to minimal install target. - * Store bootlog date in UTC. - * Added hard deps to network script for local_fs, swap, and - localnet (account for /usr at network instead of $remote_fs). - -20080831 - [dj] * Corrected more, and minimized dependencies in scripts. - * Don't try to write to bootlog in 0 and 6. - * Use /etc/rcS.d instead of /etc/rcsysinit.d - added - replacement /etc/inittab file +20101012 - [dj] + * Added udev to Required-Start for swap script. -20080830 - [dj] * Corrected remaining dependency errors in script headers. +20100823 - [dj] + * Fix missing 'then' in sendsignals conditionals. Thanks to + Jeremy Huntwork for the report and correction. -20080531 - [dj] * Synced with LFS-Bootscrpts-20080531 (use udevadm) - * Added additional functions to manage_functions script. +20100627 - [dj] + * Sync to LFS-Bootscripts-20100627 (killall in new sysvinit). + * Standardized syntax for integer comparisons in tests. -20080413 - [dj] * Added manage_functions script for use by scripts such as - {install,remove}_initd or chkconfig, that need to parse the - LSB headers. - * Cleaned up script headers to reflect real Start or Stop - -20080315 - [dj] * Corrected test for $pidfile in pidofproc() - * Replaced exit with return in statusproc() - (lfs-functions) - -20080315 - [dj] * Added missing 'stale pid file' checking for pidofproc() - -20080210 - [dj] * Updated documentation - -20070820 - [dj] * Synced with LFS-bootscripts - -20070705 - [dj] * Synced with LFS-bootscripts - * Removed 'stty' from the environment setup as it breaks - custom key configs when run from the CLI. - -20070218 - [dj] * Synced with LFS-bootscripts. - -20070206 - [dj] * Initial commit +20100529 - [matthew] + * Only copy /lib/udev/devices/null, as Udev >= 155 copies + devices from /lib/udev/devices to /dev itself. + Udevd still needs /dev/null present before starting up though. + +20100529 - [dj] + * Sync to LFS-Bootscirpts-20100529 + * Add test if /dev is already mounted in udev script. + * Added --action=add to udevadmin trigger lines of udev script. + +20100427 - [dj] + * Removed unneeded X-LFS-Default* lines. + * Corrected udev_retry script for new udev. + * Corrected path of syslogd and klogd in sysklogd script. + +20090325 - [dj] + * Corrected serveral echo commands missing -e - Thanks to + Michael Tremer at IPFire for the corrections. + +20081023 - [dj] + * Removed BROKEN_COMPOSE handling in console script because + kernel patch was accepted upstream. + +20080908 - [dj] + * Corrected echo command in rc script - Thanks to + Michael Tremer at IPFire. + +20080907 - [dj] + * Use new initd-tools package to activate scripts. + * $syslog and modules services cannot be a hard dependencies + due to minimal install target. + * Store bootlog date in UTC. + * Added hard deps to network script for local_fs, swap, and + localnet (account for /usr at network instead of $remote_fs). + +20080831 - [dj] + * Corrected more, and minimized dependencies in scripts. + * Don't try to write to bootlog in 0 and 6. + * Use /etc/rcS.d instead of /etc/rcsysinit.d - added + replacement /etc/inittab file + +20080830 - [dj] + * Corrected remaining dependency errors in script headers. + +20080531 - [dj] + * Synced with LFS-Bootscrpts-20080531 (use udevadm) + * Added additional functions to manage_functions script. + +20080413 - [dj] + * Added manage_functions script for use by scripts such as + {install,remove}_initd or chkconfig, that need to parse the + LSB headers. + * Cleaned up script headers to reflect real Start or Stop + +20080315 - [dj] + * Corrected test for $pidfile in pidofproc() + * Replaced exit with return in statusproc() - (lfs-functions) + +20080315 - [dj] + * Added missing 'stale pid file' checking for pidofproc() + +20080210 - [dj] + * Updated documentation + +20070820 - [dj] + * Synced with LFS-bootscripts + +20070705 - [dj] + * Synced with LFS-bootscripts + * Removed 'stty' from the environment setup as it breaks + custom key configs when run from the CLI. + +20070218 - [dj] + * Synced with LFS-bootscripts. + +20070206 - [dj] + * Initial commit diff --git a/bootscripts/contrib/lsb-v3/init.d/mountfs b/bootscripts/contrib/lsb-v3/init.d/mountfs index 5a375ec51..562db546a 100644 --- a/bootscripts/contrib/lsb-v3/init.d/mountfs +++ b/bootscripts/contrib/lsb-v3/init.d/mountfs @@ -41,7 +41,6 @@ case "${1}" in # their option list. _netdev denotes a network filesystem. message="Mounting remaining file systems..." mount -a -O no_netdev >/dev/null - ln -s /run/shm /dev/shm evaluate_retval standard ;; diff --git a/bootscripts/contrib/lsb-v3/init.d/mountvirtfs b/bootscripts/contrib/lsb-v3/init.d/mountvirtfs index 6706da0a3..e458f9c7f 100644 --- a/bootscripts/contrib/lsb-v3/init.d/mountvirtfs +++ b/bootscripts/contrib/lsb-v3/init.d/mountvirtfs @@ -33,6 +33,7 @@ case "${1}" in if ! mountpoint /run > /dev/null; then message="${message}${INFO} /run${NORMAL}" mount -n /run || failed=1 + mkdir /run/{var,lock,shm} || failed=1 fi (exit ${failed}) diff --git a/bootscripts/contrib/lsb-v3/init.d/udev b/bootscripts/contrib/lsb-v3/init.d/udev index ec8a72cd7..0325b3505 100644 --- a/bootscripts/contrib/lsb-v3/init.d/udev +++ b/bootscripts/contrib/lsb-v3/init.d/udev @@ -52,6 +52,9 @@ case "${1}" in /etc/rc.d/init.d/halt stop fi + # Create a symlink for POSIX shared memory + ln -s /run/shm /dev/shm + # 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 |