Updates from LFS development.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd/BOOK@10483 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Krejzi 2014-02-18 21:28:59 +00:00
parent 720f253e88
commit e2c484805f
21 changed files with 80 additions and 62 deletions

View File

@ -35,6 +35,17 @@
</itemizedlist> </itemizedlist>
</listitem> </listitem>
--> -->
<listitem>
<para>2014-02-18</para>
<itemizedlist>
<listitem>
<para>[bdubbs] - Change kmod instructions to allow
installation of man pages. Fixes
<ulink url="&lfs-ticket-root;3502">#3502</ulink>.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem> <listitem>
<para>2014-02-17</para> <para>2014-02-17</para>
<itemizedlist> <itemizedlist>

View File

@ -51,7 +51,8 @@ sed 's:/usr/local/bin:/bin:' configure.orig &gt; configure</userinput></screen>
<para>Now prepare Expect for compilation:</para> <para>Now prepare Expect for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/tools --with-tcl=/tools/lib \ <screen><userinput remap="configure">./configure --prefix=/tools \
--with-tcl=/tools/lib \
--with-tclinclude=/tools/include</userinput></screen> --with-tclinclude=/tools/include</userinput></screen>
<variablelist> <variablelist>

View File

@ -16,10 +16,11 @@
debugging symbols. Remove those symbols with:</para> debugging symbols. Remove those symbols with:</para>
<screen><userinput>strip --strip-debug /tools/lib/* <screen><userinput>strip --strip-debug /tools/lib/*
strip --strip-unneeded /tools/{,s}bin/*</userinput></screen> /usr/bin/strip --strip-unneeded /tools/{,s}bin/*</userinput></screen>
<para>These commands will skip a number of files, reporting that it does not <para>These commands will skip a number of files, reporting that it does not
recognize their file format. Most of these are scripts instead of binaries.</para> recognize their file format. Most of these are scripts instead of binaries.
Also use the system strip command to include the strip binary in /tools.</para>
<para>Take care <emphasis>not</emphasis> to use <para>Take care <emphasis>not</emphasis> to use
<parameter>--strip-unneeded</parameter> on the libraries. The static <parameter>--strip-unneeded</parameter> on the libraries. The static

View File

@ -6,10 +6,10 @@
]> ]>
<sect1 id="ch-tools-xz" role="wrap"> <sect1 id="ch-tools-xz" role="wrap">
<?dbhtml filename="xz-utils.html"?> <?dbhtml filename="xz.html"?>
<sect1info condition="script"> <sect1info condition="script">
<productname>xz-utils</productname> <productname>xz</productname>
<productnumber>&xz-version;</productnumber> <productnumber>&xz-version;</productnumber>
<address>&xz-url;</address> <address>&xz-url;</address>
</sect1info> </sect1info>

View File

@ -22,9 +22,13 @@ mkdir -pv /usr/{,local/}share/{color,dict,doc,info,locale,man}
mkdir -v /usr/{,local/}share/{misc,terminfo,zoneinfo} mkdir -v /usr/{,local/}share/{misc,terminfo,zoneinfo}
mkdir -v /usr/libexec mkdir -v /usr/libexec
mkdir -pv /usr/{,local/}share/man/man{1..8} mkdir -pv /usr/{,local/}share/man/man{1..8}
case $(uname -m) in case $(uname -m) in
x86_64) ln -sv lib /lib64 &amp;&amp; ln -sv lib /usr/lib64 &amp;&amp; ln -sv lib /usr/local/lib64 ;; x86_64) ln -sv lib /lib64 &amp;&amp;
ln -sv lib /usr/lib64 &amp;&amp;
ln -sv lib /usr/local/lib64 ;;
esac esac
mkdir -v /var/{log,mail,spool} mkdir -v /var/{log,mail,spool}
ln -sv /run /var/run ln -sv /run /var/run
ln -sv /run/lock /var/lock ln -sv /run/lock /var/lock

View File

@ -273,7 +273,7 @@
<varlistentry id="libdb"> <varlistentry id="libdb">
<term><filename class="libraryfile">libdb.{so,a}</filename></term> <term><filename class="libraryfile">libdb.{a,so}</filename></term>
<listitem> <listitem>
<para>Contains functions to manipulate database files from C <para>Contains functions to manipulate database files from C
programs</para> programs</para>
@ -284,7 +284,7 @@
</varlistentry> </varlistentry>
<varlistentry id="libdb_cxx"> <varlistentry id="libdb_cxx">
<term><filename class="libraryfile">libdb_cxx.{so,a}</filename></term> <term><filename class="libraryfile">libdb_cxx.{a,so}</filename></term>
<listitem> <listitem>
<para>Contains functions to manipulate database files from C++ <para>Contains functions to manipulate database files from C++
programs</para> programs</para>

View File

@ -71,7 +71,8 @@ cd ../gcc-build</userinput></screen>
<para>Prepare GCC for compilation:</para> <para>Prepare GCC for compilation:</para>
<screen><userinput remap="configure">SED=sed \ <screen><userinput remap="configure">SED=sed \
../gcc-&gcc-version;/configure --prefix=/usr \ ../gcc-&gcc-version;/configure \
--prefix=/usr \
--enable-shared \ --enable-shared \
--enable-threads=posix \ --enable-threads=posix \
--enable-__cxa_atexit \ --enable-__cxa_atexit \

View File

@ -58,13 +58,6 @@
<screen><userinput remap="pre">sed -i 's/\\$$(pwd)/`pwd`/' timezone/Makefile</userinput></screen> <screen><userinput remap="pre">sed -i 's/\\$$(pwd)/`pwd`/' timezone/Makefile</userinput></screen>
<para>The Glibc build system is self-contained and will install
perfectly, even though the compiler specs file and linker are still
pointing at <filename class="directory">/tools</filename>. The specs
and linker cannot be adjusted before the Glibc install because the
Glibc autoconf tests would give false results and defeat the goal
of achieving a clean build.</para>
<para>Some of the Glibc programs use non-FHS compilant <para>Some of the Glibc programs use non-FHS compilant
<filename class="directory">/var/db</filename> directory to store <filename class="directory">/var/db</filename> directory to store
their runtime data. Apply the following patch to make such programs their runtime data. Apply the following patch to make such programs
@ -72,6 +65,13 @@
<screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen> <screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen>
<para>The Glibc build system is self-contained and will install
perfectly, even though the compiler specs file and linker are still
pointing at <filename class="directory">/tools</filename>. The specs
and linker cannot be adjusted before the Glibc install because the
Glibc autoconf tests would give false results and defeat the goal
of achieving a clean build.</para>
<para>The Glibc documentation recommends building Glibc outside of the source <para>The Glibc documentation recommends building Glibc outside of the source
directory in a dedicated build directory:</para> directory in a dedicated build directory:</para>
@ -352,7 +352,7 @@ unset ZONEINFO</userinput></screen>
<para>Then create the <filename>/etc/localtime</filename> file by <para>Then create the <filename>/etc/localtime</filename> file by
running:</para> running:</para>
<screen><userinput>ln -sv /usr/share/zoneinfo/<replaceable>&lt;xxx&gt;</replaceable> /etc/localtime</userinput></screen> <screen><userinput>ln -sfv /usr/share/zoneinfo/<replaceable>&lt;xxx&gt;</replaceable> /etc/localtime</userinput></screen>
<para>Replace <replaceable>&lt;xxx&gt;</replaceable> with the name of the <para>Replace <replaceable>&lt;xxx&gt;</replaceable> with the name of the
time zone selected (e.g., Canada/Eastern).</para> time zone selected (e.g., Canada/Eastern).</para>
@ -431,9 +431,9 @@ mkdir -pv /etc/ld.so.conf.d</userinput></screen>
/usr/include/netipx, /usr/include/netiucv, /usr/include/netpacket, /usr/include/netipx, /usr/include/netiucv, /usr/include/netpacket,
/usr/include/netrom, /usr/include/netrose, /usr/include/nfs, /usr/include/netrom, /usr/include/netrose, /usr/include/nfs,
/usr/include/protocols, /usr/include/rpc, /usr/include/rpcsvc, /usr/include/protocols, /usr/include/rpc, /usr/include/rpcsvc,
/usr/include/sys, /usr/lib/audit, /usr/lib/gconv, /usr/lib/getconf, /usr/include/sys, /usr/lib/audit, /usr/lib/gconv, /usr/lib/locale,
/usr/lib/locale, /usr/share/i18n, /usr/share/zoneinfo, /var/cache/nscd, /usr/libexec/getconf, /usr/share/i18n, /usr/share/zoneinfo,
and /var/lib/nss_db</seg> /var/cache/nscd, and /var/lib/nss_db</seg>
</seglistitem> </seglistitem>
</segmentedlist> </segmentedlist>

View File

@ -46,8 +46,8 @@
<screen><userinput remap="configure">./configure --prefix=/usr \ <screen><userinput remap="configure">./configure --prefix=/usr \
--bindir=/bin \ --bindir=/bin \
--sysconfdir=/etc \ --sysconfdir=/etc \
--disable-manpages \
--with-rootlibdir=/lib \ --with-rootlibdir=/lib \
--disable-manpages \
--with-xz \ --with-xz \
--with-zlib</userinput></screen> --with-zlib</userinput></screen>
@ -88,10 +88,10 @@
<screen><userinput remap="test">make check</userinput></screen> <screen><userinput remap="test">make check</userinput></screen>
<para>Install the package, and create symlinks for compatibility with <para>Install the package, create symlinks for compatibility with
Module-Init-Tools, the package that previously handled Linux kernel modules. Module-Init-Tools (the package that previously handled Linux kernel
Also make sure that all libraries are in the correct directory: modules), and manually install the man pages. Also make sure that all
</para> libraries are in the correct directory: </para>
<screen><userinput remap="install">make install <screen><userinput remap="install">make install
@ -99,7 +99,10 @@ for target in depmod insmod modinfo modprobe rmmod; do
ln -sv ../bin/kmod /sbin/$target ln -sv ../bin/kmod /sbin/$target
done done
ln -sv kmod /bin/lsmod</userinput></screen> ln -sv kmod /bin/lsmod
cp -v man/*.5 /usr/share/man/man5
cp -v man/*.8 /usr/share/man/man8</userinput></screen>
</sect2> </sect2>

View File

@ -106,7 +106,7 @@ ln -v -sf ../../lib/libpcre.so.0 /usr/lib/libpcre.so</userinput></screen>
<seglistitem> <seglistitem>
<seg>pcregrep, pcretest, and pcre-config</seg> <seg>pcregrep, pcretest, and pcre-config</seg>
<seg>libpcre.{so,a}, libpcrecpp.{so,a} and libpcreposix.{so,a}</seg> <seg>libpcre.{a,so}, libpcrecpp.{a,so} and libpcreposix.{a,so}</seg>
<seg>/usr/share/doc/pcre-&pcre-version;</seg> <seg>/usr/share/doc/pcre-&pcre-version;</seg>
</seglistitem> </seglistitem>
</segmentedlist> </segmentedlist>

View File

@ -70,7 +70,6 @@
To run the test suite, run the following commands:</para> To run the test suite, run the following commands:</para>
<screen><userinput remap="test">sed -i -r 's|(pmap_initname)\\\$|\1|' testsuite/pmap.test/pmap.exp <screen><userinput remap="test">sed -i -r 's|(pmap_initname)\\\$|\1|' testsuite/pmap.test/pmap.exp
make check</userinput></screen> make check</userinput></screen>
<para>Install the package:</para> <para>Install the package:</para>

View File

@ -91,8 +91,7 @@ ln -sfv ../../lib/$(readlink /usr/lib/libhistory.so ) /usr/lib/libhistory.so</us
<para>If desired, install the documentation:</para> <para>If desired, install the documentation:</para>
<screen><userinput remap="install">mkdir -v /usr/share/doc/readline-&readline-version; <screen><userinput remap="install">mkdir -v /usr/share/doc/readline-&readline-version;
install -v -m644 doc/*.{ps,pdf,html,dvi} \ install -v -m644 doc/*.{ps,pdf,html,dvi} /usr/share/doc/readline-&readline-version;</userinput></screen>
/usr/share/doc/readline-&readline-version;</userinput></screen>
</sect2> </sect2>

View File

@ -69,8 +69,7 @@ find man -name Makefile.in -exec sed -i 's/groups\.1 / /' {} \;</userinput></scr
<note> <note>
<para>If you chose to build Shadow with Cracklib support, run the following:</para> <para>If you chose to build Shadow with Cracklib support, run the following:</para>
<screen role="nodump"><userinput>sed -i 's@DICTPATH.*@DICTPATH\t/lib/cracklib/pw_dict@' \ <screen role="nodump"><userinput>sed -i 's@DICTPATH.*@DICTPATH\t/lib/cracklib/pw_dict@' etc/login.defs</userinput></screen>
etc/login.defs</userinput></screen>
</note> </note>
<para>Prepare Shadow for compilation:</para> <para>Prepare Shadow for compilation:</para>

View File

@ -6,10 +6,10 @@
]> ]>
<sect1 id="ch-system-xz" role="wrap"> <sect1 id="ch-system-xz" role="wrap">
<?dbhtml filename="xz-utils.html"?> <?dbhtml filename="xz.html"?>
<sect1info condition="script"> <sect1info condition="script">
<productname>xz-utils</productname> <productname>xz</productname>
<productnumber>&xz-version;</productnumber> <productnumber>&xz-version;</productnumber>
<address>&xz-url;</address> <address>&xz-url;</address>
</sect1info> </sect1info>

View File

@ -1,5 +1,5 @@
<!ENTITY version "20140217-SYSTEMD"> <!ENTITY version "20140218-SYSTEMD">
<!ENTITY releasedate "February 17, 2014"> <!ENTITY releasedate "February 18, 2014">
<!ENTITY copyrightdate "1999-2014"><!-- jhalfs needs a literal dash, not &ndash; --> <!ENTITY copyrightdate "1999-2014"><!-- jhalfs needs a literal dash, not &ndash; -->
<!ENTITY milestone "7.5"> <!ENTITY milestone "7.5">
<!ENTITY generic-version "systemd"> <!-- Use "development", "testing", or "x.y[-pre{x}]" --> <!ENTITY generic-version "systemd"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->