aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2014-05-11 00:58:48 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2014-05-11 00:58:48 +0000
commit4e7d6a61b5867f3d159538f49a1e9971a828aa4b (patch)
treee83064705e34355db0532969195cbe6eb3d52b78
parentb3eb5259f14649c364e6dff01b998c2e6ae2d3b1 (diff)
Add explanations for kernel options in Section 8.3. Simplified the options due
to removal of systemd. Add a sed to ksyslogd to prevent errors in some circumstances. Update to man-pages-3.66. Update to linux-3.14.3. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10558 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml19
-rw-r--r--chapter06/sysklogd.xml5
-rw-r--r--chapter08/kernel.xml56
-rw-r--r--packages.ent10
4 files changed, 72 insertions, 18 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index b2296e860..397562d08 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -39,6 +39,25 @@
<para>2014-05-10</para>
<itemizedlist>
<listitem>
+ <para>[bdubbs] - Add explanations for kernel options
+ in Section 8.3. Simplified the options due to removal
+ of systemd. Fixes
+ <ulink url="&lfs-ticket-root;3566">#3566</ulink>.</para>
+ </listitem>
+ <listitem>
+ <para>[bdubbs] - Add a sed to ksyslogd to prevent
+ errors in some circumstances. Fixes
+ <ulink url="&lfs-ticket-root;3575">#3575</ulink>.</para>
+ </listitem>
+ <listitem>
+ <para>[bdubbs] - Update to man-pages-3.66. Fixes
+ <ulink url="&lfs-ticket-root;3576">#3576</ulink>.</para>
+ </listitem>
+ <listitem>
+ <para>[bdubbs] - Update to linux-3.14.3. Fixes
+ <ulink url="&lfs-ticket-root;3573">#3573</ulink>.</para>
+ </listitem>
+ <listitem>
<para>[bdubbs] - Remove systemd and dbus. Add eudev.</para>
</listitem>
<listitem>
diff --git a/chapter06/sysklogd.xml b/chapter06/sysklogd.xml
index a5e936178..421eb18c7 100644
--- a/chapter06/sysklogd.xml
+++ b/chapter06/sysklogd.xml
@@ -41,6 +41,11 @@
<sect2 role="installation">
<title>Installation of Sysklogd</title>
+ <para>First, fix a problem that causes a segmentation fault under
+ some conditions in klogd:</para>
+
+<screen><userinput remap="pre">sed -i '/Error loading kernel symbols/{n;n;d}' ksym_mod.c</userinput></screen>
+
<para>Compile the package:</para>
<screen><userinput remap="make">make</userinput></screen>
diff --git a/chapter08/kernel.xml b/chapter08/kernel.xml
index 7d9747aec..930e5a007 100644
--- a/chapter08/kernel.xml
+++ b/chapter08/kernel.xml
@@ -72,25 +72,55 @@
<para>Be sure to enable or disable following features:</para>
- <screen role="nodump">General setup ---&gt;
- [*] open by fhandle syscalls
- [*] Control Group support
-Processor type and features ---&gt;
- [*] Enable seccomp to safely compute untrusted bytecode
-Networking support ---&gt;
- Networking options ---&gt;
- &lt;*&gt; The IPv6 protocol
+ <screen role="nodump">
Device Drivers ---&gt;
Generic Driver Options ---&gt;
() path to uevent helper
[*] Maintain a devtmpfs filesystem to mount at /dev
- [ ] Fallback user-helper invocation for firmware loading
File systems ---&gt;
[*] Inotify support for userspace
- &lt;*&gt; Kernel automounter version 4 support (also supports v3)
- Pseudo filesystems ---&gt;
- [*] Tmpfs POSIX Access Control Lists
- [*] Tmpfs extended attributes</screen></note>
+ &lt;*&gt; Kernel automounter version 4 support (also supports v3)</screen></note>
+
+ <variablelist>
+ <title>The rationale for the above configuration items:</title>
+
+ <varlistentry>
+ <term><parameter>path to uevent helper</parameter></term>
+ <listitem>
+ <para>Having an entry in this space will interfere with device
+ management when using udev/eudev. </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><parameter>Maintain a devtmpfs</parameter></term>
+ <listitem>
+ <para>This will create automated device nodes which are populated by the
+ kernel, even without udev running. Udev then runs on top of this,
+ managing permissions and adding symlinks. This configuration
+ itme is required for all users of udev/eudev. </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><parameter>Inotify support</parameter></term>
+ <listitem>
+ <para>This allows monitoring of both files and directories via a single
+ open file descriptor.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><parameter>Kernel automounter version 4 support</parameter></term>
+ <listitem>
+ <para>This allows Desktop
+ Environments to automatically mount usb sticks and similar, this is
+ needed to work around a bug with network filesystems which are to be
+ mounted on boot.</para>
+ </listitem>
+ </varlistentry>
+
+ </variablelist>
<screen role="nodump"><userinput>make LANG=<replaceable>&lt;host_LANG_value&gt;</replaceable> LC_ALL= menuconfig</userinput></screen>
diff --git a/packages.ent b/packages.ent
index 075051a4e..8e31d1eff 100644
--- a/packages.ent
+++ b/packages.ent
@@ -407,12 +407,12 @@
<!ENTITY linux-major-version "3">
<!ENTITY linux-minor-version "14">
-<!ENTITY linux-patch-version "2">
+<!ENTITY linux-patch-version "3">
<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;">
<!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;"> -->
<!ENTITY linux-size "76,563 KB">
<!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz">
-<!ENTITY linux-md5 "28b68cde77997ddafab3c4e16cefae7d">
+<!ENTITY linux-md5 "99043433ad7368d2471b4743c9f562a2">
<!ENTITY linux-home "http://www.kernel.org/">
<!-- measured for 3.9.0 / gcc-4.8.0 on x86_64 : minimum is
allnoconfig extended for a hopefully-bootable build on desktop machine,
@@ -453,10 +453,10 @@
<!ENTITY man-db-ch6-du "27 MB">
<!ENTITY man-db-ch6-sbu "0.5 SBU">
-<!ENTITY man-pages-version "3.65">
-<!ENTITY man-pages-size "1,200 KB">
+<!ENTITY man-pages-version "3.66">
+<!ENTITY man-pages-size "1,211 KB">
<!ENTITY man-pages-url "&kernel;linux/docs/man-pages/man-pages-&man-pages-version;.tar.xz">
-<!ENTITY man-pages-md5 "0f165e0ab25ff5687d2d0b237af77b74">
+<!ENTITY man-pages-md5 "4400766c63a28e58bb899a2d3a0191d8">
<!ENTITY man-pages-home "http://www.kernel.org/doc/man-pages/">
<!ENTITY man-pages-ch6-du "23 MB">
<!ENTITY man-pages-ch6-sbu "less than 0.1 SBU">