aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDJ Lucas <dj@linuxfromscratch.org>2011-05-31 03:36:33 +0000
committerDJ Lucas <dj@linuxfromscratch.org>2011-05-31 03:36:33 +0000
commit43c2ecf0b898e8dfaca243df6946522b5d49cda5 (patch)
tree8f34be6679f9209e1946205a05eb6cdf13d0652e
parentdde63db80c1e80b4a28ae032bdf4d34e43c58455 (diff)
Update to lfs-bootscripts-20110531.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9556 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--appendices/scripts.xml13
-rw-r--r--bootscripts/ChangeLog6
-rw-r--r--bootscripts/lfs/init.d/udev3
-rw-r--r--chapter01/changelog.xml9
-rw-r--r--general.ent4
-rwxr-xr-xmake-aux-files.sh4
-rw-r--r--packages.ent2
-rw-r--r--process-scripts.sh16
8 files changed, 41 insertions, 16 deletions
diff --git a/appendices/scripts.xml b/appendices/scripts.xml
index 7bac2588e..3c71ac149 100644
--- a/appendices/scripts.xml
+++ b/appendices/scripts.xml
@@ -5,6 +5,8 @@
<!ENTITY checkfs SYSTEM "checkfs.script">
<!ENTITY cleanfs SYSTEM "cleanfs.script">
<!ENTITY console SYSTEM "console.script">
+ <!ENTITY functions SYSTEM "functions.script">
+ <!ENTITY consolelog SYSTEM "consolelog.script">
<!ENTITY halt SYSTEM "halt.script">
<!ENTITY localnet SYSTEM "localnet.script">
<!ENTITY modules SYSTEM "modules.script">
@@ -24,7 +26,6 @@
<!ENTITY createfiles SYSTEM "createfiles.script">
<!ENTITY modules_sys SYSTEM "modules-sysinit.script">
<!ENTITY rc_sys SYSTEM "rc-sysinit.script">
- <!ENTITY rc_site SYSTEM "rc-site.script">
<!ENTITY ifup SYSTEM "ifup.script">
<!ENTITY ifdown SYSTEM "ifdown.script">
<!ENTITY ipv4_static SYSTEM "ipv4-static.script">
@@ -56,11 +57,21 @@
<screen>&rc;</screen>
</sect1>
+ <sect1 id="functions" role="wrap">
+ <title>/etc/rc.d/init.d/functions</title>
+ <screen>&functions;</screen>
+ </sect1>
+
<sect1 id="mountvirtfs" role="wrap">
<title>/etc/rc.d/init.d/mountvirtfs</title>
<screen>&mountvirtfs;</screen>
</sect1>
+ <sect1 id="consolelog" role="wrap">
+ <title>/etc/rc.d/init.d/consolelog</title>
+ <screen>&consolelog;</screen>
+ </sect1>
+
<sect1 id="modules" role="wrap">
<title>/etc/rc.d/init.d/modules</title>
<screen>&modules;</screen>
diff --git a/bootscripts/ChangeLog b/bootscripts/ChangeLog
index 63a7e0d79..00e35927e 100644
--- a/bootscripts/ChangeLog
+++ b/bootscripts/ChangeLog
@@ -1,4 +1,8 @@
-2011-04-19 Bruce Dubbs <bdubbs@linuxfromscratch.org>
+2011-05-31 DJ Lucas <dj@linuxfromscratch.org>
+ * lfs/init.d/udev: Add multiple udev triggers for both subsystems and
+ devices per upstream recommendation.
+
+2011-04-19 Bruce Dubbs <bdubbs@linuxfromscratch.org>
* lfs/init.d/mountvirtfs: Add creation of /run/{var,lock,shm}.
* lfs/init.d/udev: Add /dev/shm -> /run/shm symlink.
diff --git a/bootscripts/lfs/init.d/udev b/bootscripts/lfs/init.d/udev
index a1834891d..7e68fdf7b 100644
--- a/bootscripts/lfs/init.d/udev
+++ b/bootscripts/lfs/init.d/udev
@@ -65,7 +65,8 @@ case "${1}" in
# Now traverse /sys in order to "coldplug" devices that have
# already been discovered
- /sbin/udevadm trigger --action=add
+ /sbin/udevadm trigger --action=add --type=subsystems
+ /sbin/udevadm trigger --action=add --type=devices
# Now wait for udevd to process the uevents we triggered
/sbin/udevadm settle
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 03a9cf84a..88d01e7f9 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -37,6 +37,15 @@
-->
<listitem>
+ <para>2011-05-31</para>
+ <itemizedlist>
+ <listitem>
+ <para>[dj] - Updated to lfs-bootscripts-20110531.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ <listitem>
<para>2011-05-23</para>
<itemizedlist>
<listitem>
diff --git a/general.ent b/general.ent
index 5bce289a2..b12893cf0 100644
--- a/general.ent
+++ b/general.ent
@@ -1,5 +1,5 @@
-<!ENTITY version "SVN-20110523">
-<!ENTITY releasedate "May 23, 2011">
+<!ENTITY version "SVN-20110531">
+<!ENTITY releasedate "May 31, 2011">
<!ENTITY copyrightdate "1999-2011"><!-- jhalfs needs a literal dash, not &ndash; -->
<!ENTITY milestone "6.9">
<!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->
diff --git a/make-aux-files.sh b/make-aux-files.sh
index 10cdf327c..c57352a9d 100755
--- a/make-aux-files.sh
+++ b/make-aux-files.sh
@@ -4,11 +4,11 @@ rm -f lfs-bootscripts*.tar.bz2
# Get base file name and move bootscripts directory to that name
version=`grep "ENTITY lfs-bootscripts-version" packages.ent |cut -d'"' -f2`
-mv lsb-bootscripts lfs-bootscripts-$version
+mv bootscripts lfs-bootscripts-$version
# Create the tarball and clean up
tar -cjf lfs-bootscripts-$version.tar.bz2 --exclude .svn lfs-bootscripts-$version
-mv lfs-bootscripts-$version lsb-bootscripts
+mv lfs-bootscripts-$version bootscripts
rm -f udev-config*.bz2
diff --git a/packages.ent b/packages.ent
index 2ba1b1b32..ff327fbff 100644
--- a/packages.ent
+++ b/packages.ent
@@ -297,7 +297,7 @@
<!ENTITY less-ch6-du "2.9 MB">
<!ENTITY less-ch6-sbu "less than 0.1 SBU">
-<!ENTITY lfs-bootscripts-version "20110424"> <!-- Scripts depend on this format -->
+<!ENTITY lfs-bootscripts-version "20110531"> <!-- Scripts depend on this format -->
<!ENTITY lfs-bootscripts-size "BOOTSCRIPTS-SIZE KB"> <!-- Updated in Makefile -->
<!ENTITY lfs-bootscripts-url "&downloads-root;lfs-bootscripts-&lfs-bootscripts-version;.tar.bz2">
<!ENTITY lfs-bootscripts-md5 "BOOTSCRIPTS-MD5SUM"> <!-- Updated in Makefile -->
diff --git a/process-scripts.sh b/process-scripts.sh
index 184d5d564..44518c423 100644
--- a/process-scripts.sh
+++ b/process-scripts.sh
@@ -1,20 +1,20 @@
#!/bin/bash
# Boot scripts
-for s in lsb-bootscripts/etc/init.d/* \
- lsb-bootscripts/etc/default/* \
- lsb-bootscripts/sbin/* \
- lsb-bootscripts/lib/network-services/*
+for s in bootscripts/lfs/init.d/* \
+ bootscripts/lfs/sysconfig/* \
+ bootscripts/lfs/sysconfig/network-devices/* \
+ bootscripts/lfs/sysconfig/network-devices/services/*
do
script=$(basename $s)
# Skip directories
- [ $script == 'sbin' ] && continue
- [ $script == 'network-services' ] && continue
+ [ $script == 'network-devices' ] && continue
+ [ $script == 'services' ] && continue
# Disambiguate duplicate file names
- [ $s == 'lsb-bootscripts/etc/default/rc' ] && script='rc-sysinit';
- [ $s == 'lsb-bootscripts/etc/default/modules' ] && script='modules-sysinit';
+ [ $s == 'bootscripts/lfs/sysconfig/rc' ] && script='rc-sysinit';
+ [ $s == 'bootscripts/lfs/sysconfig/modules' ] && script='modules-sysinit';
sed -e 's/\&/\&amp\;/g' -e 's/</\&lt\;/g' -e 's/>/\&gt\;/g' \
-e "s/'/\&apos\;/g" -e 's/"/\&quot\;/g' -e 's/\t/ /g' \