diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2014-10-25 01:04:51 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2014-10-25 01:04:51 +0000 |
commit | 96e9f0bd0ae9d5e539abbcec8109ec5e1f103e30 (patch) | |
tree | 18d7da318b835f5eca20fd1353c9736dace6dd14 /chapter06 | |
parent | 8a961f65245346170b1f4f5ca50775691b423bd5 (diff) |
Add an instruction to the eudev install to create the initial
/etc/udev/hwdb.bin file.
Update to tzdata-2014i.
Update to util-linux-2.25.2.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10779 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/coreutils.xml | 12 | ||||
-rw-r--r-- | chapter06/eudev.xml | 6 | ||||
-rw-r--r-- | chapter06/gmp.xml | 2 | ||||
-rw-r--r-- | chapter06/util-linux.xml | 21 |
4 files changed, 34 insertions, 7 deletions
diff --git a/chapter06/coreutils.xml b/chapter06/coreutils.xml index b54061eba..81853cab7 100644 --- a/chapter06/coreutils.xml +++ b/chapter06/coreutils.xml @@ -72,6 +72,15 @@ touch Makefile.in</userinput></screen> <title>The meaning of the configure options:</title> <varlistentry> + <term><envar>FORCE_UNSAFE_CONFIGURE=1</envar></term> + <listitem> + <para>This environment variable allows the package to be + built as the root user. + </para> + </listitem> + </varlistentry> + + <varlistentry> <term><parameter>--enable-no-install-program=kill,uptime</parameter></term> <listitem> <para>The purpose of this switch is to prevent Coreutils from @@ -112,6 +121,9 @@ touch Makefile.in</userinput></screen> <screen><userinput remap="test">su nobody -s /bin/bash \ -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen> + <para>The stty-pairs test is known to fail on a virtual console, but + passes if run in a X terminal.</para> + <para>Remove the temporary group:</para> <screen><userinput remap="test">sed -i '/dummy/d' /etc/group</userinput></screen> diff --git a/chapter06/eudev.xml b/chapter06/eudev.xml index 8b31ae329..7d49c3555 100644 --- a/chapter06/eudev.xml +++ b/chapter06/eudev.xml @@ -80,9 +80,11 @@ mkdir -pv /etc/udev/rules.d</userinput></screen> <screen><userinput remap="test">make check</userinput></screen> - <para>Install the package:</para> + <para>Install the package and creat the initial + <filename>/etc/udev/hwdb.bin</filename> file:</para> -<screen><userinput remap="install">make install</userinput></screen> +<screen><userinput remap="install">make install +udevadm hwdb --update</userinput></screen> <para>Now, install the man pages:</para> diff --git a/chapter06/gmp.xml b/chapter06/gmp.xml index a16500a28..3e44abfcc 100644 --- a/chapter06/gmp.xml +++ b/chapter06/gmp.xml @@ -67,7 +67,7 @@ </varlistentry> <varlistentry> - <term><parameter>--docdir=/usr/share/doc-gmp&gmp-version;</parameter></term> + <term><parameter>--docdir=/usr/share/doc/gmp&gmp-version;</parameter></term> <listitem> <para>This variable specifies the correct place for the documentation.</para> diff --git a/chapter06/util-linux.xml b/chapter06/util-linux.xml index 2a19a5bbb..223197be2 100644 --- a/chapter06/util-linux.xml +++ b/chapter06/util-linux.xml @@ -54,16 +54,29 @@ <sect2 role="installation"> <title>Installation of Util-linux</title> - +<!-- <para>First, fix one of the regression tests:</para> <screen><userinput remap="pre">sed -e 's/2^64/(2^64/' -e 's/E </E) <=/' -e 's/ne /eq /' \ -i tests/ts/ipcs/limits2</userinput></screen> - +--> <para>Prepare Util-linux for compilation:</para> -<screen><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \ - --docdir=/usr/share/doc/util-linux-&util-linux-version;</userinput></screen> +<screen><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \ + --docdir=/usr/share/doc/util-linux-&util-linux-version; \ + --disable-chfn-chsh \ + --disable-login \ + --disable-su \ + --disable-setpriv \ + --disable-runuser \ + --disable-pylibmount \ + --without-python \ + --without-systemd \ + --without-systemdsystemunitdir</userinput></screen> + + <para>The --disable and --without options prevent warnings about + building components that require packages not in LFS or are + inconsistent with programs installed by other packages.</para> <para>Compile the package:</para> |