Changeset e2c4848


Ignore:
Timestamp:
02/18/2014 09:28:59 PM (10 years ago)
Author:
Krejzi <krejzi@…>
Branches:
7.5-systemd, 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
Children:
044384d
Parents:
720f253
Message:

Updates from LFS development.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd/BOOK@10483 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
21 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r720f253 re2c4848  
    3737-->
    3838    <listitem>
     39      <para>2014-02-18</para>
     40      <itemizedlist>
     41        <listitem>
     42          <para>[bdubbs] - Change kmod instructions to allow
     43          installation of man pages.  Fixes
     44          <ulink url="&lfs-ticket-root;3502">#3502</ulink>.</para>
     45        </listitem>
     46      </itemizedlist>
     47    </listitem>
     48
     49    <listitem>
    3950      <para>2014-02-17</para>
    4051      <itemizedlist>
  • chapter05/binutils-pass1.xml

    r720f253 re2c4848  
    7373    <para>Now prepare Binutils for compilation:</para>
    7474
    75 <screen><userinput remap="configure">../binutils-&binutils-version;/configure   \
     75<screen><userinput remap="configure">../binutils-&binutils-version;/configure     \
    7676    --prefix=/tools            \
    7777    --with-sysroot=$LFS        \
  • chapter05/binutils-pass2.xml

    r720f253 re2c4848  
    5454AR=$LFS_TGT-ar                 \
    5555RANLIB=$LFS_TGT-ranlib         \
    56 ../binutils-&binutils-version;/configure   \
     56../binutils-&binutils-version;/configure     \
    5757    --prefix=/tools            \
    5858    --disable-nls              \
  • chapter05/expect.xml

    r720f253 re2c4848  
    5252    <para>Now prepare Expect for compilation:</para>
    5353
    54 <screen><userinput remap="configure">./configure --prefix=/tools --with-tcl=/tools/lib \
    55   --with-tclinclude=/tools/include</userinput></screen>
     54<screen><userinput remap="configure">./configure --prefix=/tools       \
     55            --with-tcl=/tools/lib \
     56            --with-tclinclude=/tools/include</userinput></screen>
    5657
    5758    <variablelist>
  • chapter05/gcc-pass2.xml

    r720f253 re2c4848  
    7878  cp -uv $file{,.orig}
    7979  sed -e 's@/lib\(64\)\?\(32\)\?/ld@/tools&amp;@g' \
    80   -e 's@/usr@/tools@g' $file.orig &gt; $file
     80      -e 's@/usr@/tools@g' $file.orig &gt; $file
    8181  echo '
    8282#undef STANDARD_STARTFILE_PREFIX_1
  • chapter05/libstdc++.xml

    r720f253 re2c4848  
    5757
    5858<screen><userinput remap="configure">../gcc-&gcc-version;/libstdc++-v3/configure \
    59     --host=$LFS_TGT                      \
    60     --prefix=/tools                      \
    61     --disable-multilib                   \
    62     --disable-shared                     \
    63     --disable-nls                        \
    64     --disable-libstdcxx-threads          \
    65     --disable-libstdcxx-pch              \
     59    --host=$LFS_TGT                 \
     60    --prefix=/tools                 \
     61    --disable-multilib              \
     62    --disable-shared                \
     63    --disable-nls                   \
     64    --disable-libstdcxx-threads     \
     65    --disable-libstdcxx-pch         \
    6666    --with-gxx-include-dir=/tools/$LFS_TGT/include/c++/&gcc-version;</userinput></screen>
    6767
  • chapter05/stripping.xml

    r720f253 re2c4848  
    1717
    1818<screen><userinput>strip --strip-debug /tools/lib/*
    19 strip --strip-unneeded /tools/{,s}bin/*</userinput></screen>
     19/usr/bin/strip --strip-unneeded /tools/{,s}bin/*</userinput></screen>
    2020
    2121  <para>These commands will skip a number of files, reporting that it does not
    22   recognize their file format. Most of these are scripts instead of binaries.</para>
     22  recognize their file format. Most of these are scripts instead of binaries.
     23  Also use the system strip command to include the strip binary in /tools.</para>
    2324
    2425  <para>Take care <emphasis>not</emphasis> to use
  • chapter05/xz.xml

    r720f253 re2c4848  
    77
    88<sect1 id="ch-tools-xz" role="wrap">
    9   <?dbhtml filename="xz-utils.html"?>
     9  <?dbhtml filename="xz.html"?>
    1010
    1111  <sect1info condition="script">
    12     <productname>xz-utils</productname>
     12    <productname>xz</productname>
    1313    <productnumber>&xz-version;</productnumber>
    1414    <address>&xz-url;</address>
  • chapter06/creatingdirs.xml

    r720f253 re2c4848  
    2323mkdir -v  /usr/libexec
    2424mkdir -pv /usr/{,local/}share/man/man{1..8}
     25
    2526case $(uname -m) in
    26  x86_64) ln -sv lib /lib64 &amp;&amp; ln -sv lib /usr/lib64 &amp;&amp; ln -sv lib /usr/local/lib64 ;;
     27 x86_64) ln -sv lib /lib64     &amp;&amp;
     28         ln -sv lib /usr/lib64 &amp;&amp;
     29         ln -sv lib /usr/local/lib64 ;;
    2730esac
     31
    2832mkdir -v /var/{log,mail,spool}
    2933ln -sv /run /var/run
  • chapter06/db.xml

    r720f253 re2c4848  
    274274
    275275      <varlistentry id="libdb">
    276         <term><filename class="libraryfile">libdb.{so,a}</filename></term>
     276        <term><filename class="libraryfile">libdb.{a,so}</filename></term>
    277277        <listitem>
    278278          <para>Contains functions to manipulate database files from C
     
    285285
    286286      <varlistentry id="libdb_cxx">
    287         <term><filename class="libraryfile">libdb_cxx.{so,a}</filename></term>
     287        <term><filename class="libraryfile">libdb_cxx.{a,so}</filename></term>
    288288        <listitem>
    289289          <para>Contains functions to manipulate database files from C++
  • chapter06/gcc.xml

    r720f253 re2c4848  
    7171    <para>Prepare GCC for compilation:</para>
    7272
    73 <screen><userinput remap="configure">SED=sed                                            \
    74 ../gcc-&gcc-version;/configure --prefix=/usr               \
    75                        --enable-shared             \
    76                        --enable-threads=posix      \
    77                        --enable-__cxa_atexit       \
    78                        --enable-clocale=gnu        \
    79                        --enable-languages=c,c++    \
    80                        --disable-multilib          \
    81                        --disable-bootstrap         \
    82                        --with-system-zlib</userinput></screen>
     73<screen><userinput remap="configure">SED=sed                          \
     74../gcc-&gcc-version;/configure           \
     75     --prefix=/usr               \
     76     --enable-shared             \
     77     --enable-threads=posix      \
     78     --enable-__cxa_atexit       \
     79     --enable-clocale=gnu        \
     80     --enable-languages=c,c++    \
     81     --disable-multilib          \
     82     --disable-bootstrap         \
     83     --with-system-zlib</userinput></screen>
    8384
    8485    <para>Note that for other languages, there are some prerequisites that
  • chapter06/glibc.xml

    r720f253 re2c4848  
    5959<screen><userinput remap="pre">sed -i 's/\\$$(pwd)/`pwd`/' timezone/Makefile</userinput></screen>
    6060
     61    <para>Some of the Glibc programs use non-FHS compilant
     62    <filename class="directory">/var/db</filename> directory to store
     63    their runtime data. Apply the following patch to make such programs
     64    store their runtime data in the FHS-compliant locations:</para>
     65
     66<screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen>
     67
    6168    <para>The Glibc build system is self-contained and will install
    6269    perfectly, even though the compiler specs file and linker are still
     
    6673    of achieving a clean build.</para>
    6774
    68     <para>Some of the Glibc programs use non-FHS compilant
    69     <filename class="directory">/var/db</filename> directory to store
    70     their runtime data. Apply the following patch to make such programs
    71     store their runtime data in the FHS-compliant locations:</para>
    72 
    73 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen>
    74 
    7575    <para>The Glibc documentation recommends building Glibc outside of the source
    7676    directory in a dedicated build directory:</para>
     
    8181    <para>Prepare Glibc for compilation:</para>
    8282
    83 <screen><userinput remap="configure">../glibc-&glibc-version;/configure          \
     83<screen><userinput remap="configure">../glibc-&glibc-version;/configure    \
    8484    --prefix=/usr          \
    8585    --disable-profile      \
     
    353353    running:</para>
    354354
    355 <screen><userinput>ln -sv /usr/share/zoneinfo/<replaceable>&lt;xxx&gt;</replaceable> /etc/localtime</userinput></screen>
     355<screen><userinput>ln -sfv /usr/share/zoneinfo/<replaceable>&lt;xxx&gt;</replaceable> /etc/localtime</userinput></screen>
    356356
    357357    <para>Replace <replaceable>&lt;xxx&gt;</replaceable> with the name of the
     
    432432        /usr/include/netrom, /usr/include/netrose, /usr/include/nfs,
    433433        /usr/include/protocols, /usr/include/rpc, /usr/include/rpcsvc,
    434         /usr/include/sys, /usr/lib/audit, /usr/lib/gconv, /usr/lib/getconf,
    435         /usr/lib/locale, /usr/share/i18n, /usr/share/zoneinfo, /var/cache/nscd,
    436         and /var/lib/nss_db</seg>
     434        /usr/include/sys, /usr/lib/audit, /usr/lib/gconv, /usr/lib/locale,
     435        /usr/libexec/getconf, /usr/share/i18n, /usr/share/zoneinfo,
     436        /var/cache/nscd, and /var/lib/nss_db</seg>
    437437      </seglistitem>
    438438    </segmentedlist>
  • chapter06/kmod.xml

    r720f253 re2c4848  
    4747            --bindir=/bin          \
    4848            --sysconfdir=/etc      \
     49            --with-rootlibdir=/lib \
    4950            --disable-manpages     \
    50             --with-rootlibdir=/lib \
    5151            --with-xz              \
    5252            --with-zlib</userinput></screen>
     
    8989<screen><userinput remap="test">make check</userinput></screen>
    9090
    91     <para>Install the package, and create symlinks for compatibility with
    92     Module-Init-Tools, the package that previously handled Linux kernel modules.
    93     Also make sure that all libraries are in the correct directory:
    94     </para>
     91    <para>Install the package, create symlinks for compatibility with
     92    Module-Init-Tools (the package that previously handled Linux kernel
     93    modules), and manually install the man pages.  Also make sure that all
     94    libraries are in the correct directory: </para>
    9595
    9696<screen><userinput remap="install">make install
     
    100100done
    101101
    102 ln -sv kmod /bin/lsmod</userinput></screen>
     102ln -sv kmod /bin/lsmod
     103
     104cp -v man/*.5 /usr/share/man/man5
     105cp -v man/*.8 /usr/share/man/man8</userinput></screen>
    103106
    104107  </sect2>
  • chapter06/pcre.xml

    r720f253 re2c4848  
    107107      <seglistitem>
    108108        <seg>pcregrep, pcretest, and pcre-config</seg>
    109         <seg>libpcre.{so,a}, libpcrecpp.{so,a} and libpcreposix.{so,a}</seg>
     109        <seg>libpcre.{a,so}, libpcrecpp.{a,so} and libpcreposix.{a,so}</seg>
    110110        <seg>/usr/share/doc/pcre-&pcre-version;</seg>
    111111      </seglistitem>
  • chapter06/procps.xml

    r720f253 re2c4848  
    7171
    7272<screen><userinput remap="test">sed -i -r 's|(pmap_initname)\\\$|\1|' testsuite/pmap.test/pmap.exp
    73 
    7473make check</userinput></screen>
    7574
  • chapter06/readline.xml

    r720f253 re2c4848  
    9191    <para>If desired, install the documentation:</para>
    9292
    93 <screen><userinput remap="install">mkdir   -v       /usr/share/doc/readline-&readline-version;
    94 install -v -m644 doc/*.{ps,pdf,html,dvi} \
    95                  /usr/share/doc/readline-&readline-version;</userinput></screen>
     93<screen><userinput remap="install">mkdir   -v /usr/share/doc/readline-&readline-version;
     94install -v -m644 doc/*.{ps,pdf,html,dvi} /usr/share/doc/readline-&readline-version;</userinput></screen>
    9695
    9796  </sect2>
  • chapter06/shadow.xml

    r720f253 re2c4848  
    7070      <para>If you chose to build Shadow with Cracklib support, run the following:</para>
    7171
    72 <screen role="nodump"><userinput>sed -i 's@DICTPATH.*@DICTPATH\t/lib/cracklib/pw_dict@' \
    73     etc/login.defs</userinput></screen>
     72<screen role="nodump"><userinput>sed -i 's@DICTPATH.*@DICTPATH\t/lib/cracklib/pw_dict@' etc/login.defs</userinput></screen>
    7473    </note>
    7574
  • chapter06/strippingagain.xml

    r720f253 re2c4848  
    3333  <para>Then reenter it with:</para>
    3434
    35 <screen role="nodump"><userinput>chroot $LFS /tools/bin/env -i \
     35<screen role="nodump"><userinput>chroot $LFS /tools/bin/env -i            \
    3636    HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
    37     PATH=/bin:/usr/bin:/sbin:/usr/sbin \
     37    PATH=/bin:/usr/bin:/sbin:/usr/sbin   \
    3838    /tools/bin/bash --login</userinput></screen>
    3939
     
    4141
    4242<screen><userinput>/tools/bin/find /{,usr/}{bin,lib,sbin} -type f \
    43   -exec /tools/bin/strip --strip-debug '{}' ';'</userinput></screen>
     43    -exec /tools/bin/strip --strip-debug '{}' ';'</userinput></screen>
    4444
    4545  <para>A large number of files will be reported as having their file
  • chapter06/util-linux.xml

    r720f253 re2c4848  
    5151
    5252<screen><userinput remap="pre">sed -i -e 's@etc/adjtime@var/lib/hwclock/adjtime@g' \
    53      $(grep -rl '/etc/adjtime' .)
     53          $(grep -rl '/etc/adjtime' .)
    5454
    5555mkdir -pv /var/lib/hwclock</userinput></screen>
  • chapter06/xz.xml

    r720f253 re2c4848  
    77
    88<sect1 id="ch-system-xz" role="wrap">
    9   <?dbhtml filename="xz-utils.html"?>
     9  <?dbhtml filename="xz.html"?>
    1010
    1111  <sect1info condition="script">
    12     <productname>xz-utils</productname>
     12    <productname>xz</productname>
    1313    <productnumber>&xz-version;</productnumber>
    1414    <address>&xz-url;</address>
  • general.ent

    r720f253 re2c4848  
    1 <!ENTITY version         "20140217-SYSTEMD">
    2 <!ENTITY releasedate     "February 17, 2014">
     1<!ENTITY version         "20140218-SYSTEMD">
     2<!ENTITY releasedate     "February 18, 2014">
    33<!ENTITY copyrightdate   "1999-2014"><!-- jhalfs needs a literal dash, not &ndash; -->
    44<!ENTITY milestone       "7.5">
Note: See TracChangeset for help on using the changeset viewer.