aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorDJ Lucas <dj@linuxfromscratch.org>2016-11-22 05:15:50 +0000
committerDJ Lucas <dj@linuxfromscratch.org>2016-11-22 05:15:50 +0000
commit5d15cbab733d2b600bf0019160f36aa272641907 (patch)
tree902e8a4abb0ec159eacc1b25c53459090f896402 /chapter06
parentaf97530c1f9942ea58b2787152057c345b95c43e (diff)
Update to Linux-4.8.10, add flex-2.6.2-fixes-1.patch, correct systemd /sbin/sulogin issue. Fixes issues #4003, #4005, and #4006.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11147 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/flex.xml9
-rw-r--r--chapter06/systemd.xml1
2 files changed, 8 insertions, 2 deletions
diff --git a/chapter06/flex.xml b/chapter06/flex.xml
index a3db70301..f1bdc7fb5 100644
--- a/chapter06/flex.xml
+++ b/chapter06/flex.xml
@@ -41,9 +41,14 @@
<sect2 role="installation">
<title>Installation of Flex</title>
+ <para>Fix an issue that was discovered after release:</para>
+
+<screen><userinput remap="pre">patch -Np1 -i ../&flex-fixes-patch; &amp;&amp;
+touch src/scan.*</userinput></screen>
+
<para>The build procedure assumes the <application>help2man</application>
program is available to create a man page from the executable --help option.
- This is not present, so we use an environment variable to skip this process.
+ This is not present, so we use an environment variable to skip this process.
Now, prepare Flex for compilation:</para>
<screen><userinput remap="configure">HELP2MAN=/tools/bin/true \
@@ -57,7 +62,7 @@
<screen><userinput remap="test">make check</userinput></screen>
- <para>There is one known test failure.</para>
+ <para>One test, <emphasis>cxx_restart</emphasis>, is known to fail.</para>
<para>Install the package:</para>
diff --git a/chapter06/systemd.xml b/chapter06/systemd.xml
index 57a607e54..a6df5b8e3 100644
--- a/chapter06/systemd.xml
+++ b/chapter06/systemd.xml
@@ -80,6 +80,7 @@ HAVE_LIBMOUNT=1
MOUNT_LIBS="-lmount"
MOUNT_CFLAGS="-I/tools/include/libmount"
cc_cv_CFLAGS__flto=no
+SULOGIN="/sbin/sulogin"
XSLTPROC="/usr/bin/xsltproc"</literal>
EOF</userinput></screen>