Changeset 053b206


Ignore:
Timestamp:
01/21/2014 06:49:14 PM (10 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.5, 7.6, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
ef8510e
Parents:
cb23c1a
Message:

Moved util-linux final build to be after udev.
Fixed up e2fsprogs and udev to use the Chapter 5 build of util-linux.

Changed umount instructions in Chapter 9 to be compatible with
changes in mounting /run as a tmpfs.

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

Files:
8 edited

Legend:

Unmodified
Added
Removed
  • appendices/dependencies.xml

    rcb23c1a r053b206  
    20562056        <seglistitem>
    20572057         <seg>Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep,
    2058          Kmod, Make, and Sed</seg>
     2058         Kmod, Make, Sed, and Util-linux</seg>
    20592059        </seglistitem>
    20602060      </segmentedlist>
  • chapter01/changelog.xml

    rcb23c1a r053b206  
    4040      <itemizedlist>
    4141        <listitem>
    42           <para>[bdubbs] - Added a Chapter 5 build of util-linux after
    43           udev to satify a circular dependency.  This is not the
    44           complete fix as this build has not yet been incorporated into
    45           Chapter 6.</para>
    46         </listitem>
    47         <listitem>
    48           <para>[bdubbs] - Moutn /run as a tmpfs for Chapter 6.</para>
     42          <para>[bdubbs] - Moved util-linux final build to be after
     43          udev.  Fixed up e2fsprogs and udev to use the Chapter 5
     44          build of util-linux.  Fixes
     45          <ulink url="&lfs-ticket-root;3467">#3467</ulink>.</para>
     46        </listitem>
     47      </itemizedlist>
     48    </listitem>
     49
     50    <listitem>
     51      <para>2014-01-15</para>
     52      <itemizedlist>
     53        <listitem>
     54          <para>[bdubbs] - Added a Chapter 5 build of util-linux in
     55          preparation for moving the Chapter 6 build to after udev.
     56          This is not the complete fix as this build has not yet
     57          been incorporated into Chapter 6.</para>
     58        </listitem>
     59        <listitem>
     60          <para>[bdubbs] - Mount /run as a tmpfs for Chapter 6.</para>
    4961        </listitem>
    5062      </itemizedlist>
  • chapter06/chapter06.xml

    rcb23c1a r053b206  
    3434  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ncurses.xml"/>
    3535  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="shadow.xml"/>
    36   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="util-linux.xml"/>
    3736  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="psmisc.xml"/>
    3837  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="procps.xml"/>
     
    7473  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="texinfo.xml"/>
    7574  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="systemd.xml"/>
     75  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="util-linux.xml"/>
    7676  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="vim.xml"/>
    7777  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="aboutdebug.xml"/>
  • chapter06/e2fsprogs.xml

    rcb23c1a r053b206  
    5353    <para>Prepare E2fsprogs for compilation:</para>
    5454
    55 <screen><userinput remap="configure">../configure --prefix=/usr         \
     55<screen><userinput remap="configure">export PKG_CONFIG_PATH=/tools/lib/pkgconfig
     56
     57LIBS=-L/tools/lib                  \
     58CFLAGS=-I/tools/include            \
     59../configure --prefix=/usr         \
    5660             --with-root-prefix="" \
    5761             --enable-elf-shlibs   \
     
    6266
    6367    <variablelist>
    64       <title>The meaning of the configure options:</title>
    65 <!--
     68      <title>The meaning of the environment variable and configure options:</title>
     69
    6670      <varlistentry>
    67         <term><parameter>PKG_CONFIG...</parameter></term>
    68         <listitem>
    69           <para>This enables E2fsprogs to be built without requiring Pkg-config
    70           to be built and installed first.</para>
    71         </listitem>
    72       </varlistentry>
    73 -->
     71        <term><parameter>PKG_CONFIG_PATH, LIBS, CFLAGS</parameter></term>
     72        <listitem>
     73          <para>These variables enable e2fsprogs to be built using the
     74          <xref linkend="ch-tools-util-linux"/> package built earlier.</para>
     75        </listitem>
     76      </varlistentry>
     77
    7478      <varlistentry>
    7579        <term><parameter>--with-root-prefix=""</parameter></term>
     
    128132<screen><userinput remap="install">make install</userinput></screen>
    129133
    130     <para>Install the static libraries and headers:</para>
    131 
    132 <screen><userinput remap="install">make install-libs</userinput></screen>
     134    <para>Install the static libraries and headers and do some clean up:</para>
     135
     136<screen><userinput remap="install">make install-libs
     137unset PKG_CONFIG_PATH</userinput></screen>
    133138
    134139    <para>Make the installed static libraries writable so debugging symbols can
  • chapter06/systemd.xml

    rcb23c1a r053b206  
    5454<screen><userinput remap="pre">tar -xvf ../&udev-lfs;.tar.bz2</userinput></screen>
    5555
    56     <para>Compile the package:</para>
     56    <para>Create two symbolic links to header files and set an
     57    environment variable to properly use <xref linkend="ch-tools-util-linux"/>.</para>
     58
     59<screen><userinput remap="pre">ln -svf /tools/include/blkid /usr/include
     60ln -svf /tools/include/uuid  /usr/include
     61export LD_LIBRARY_PATH=/tools/lib</userinput></screen>
     62
     63    <para>Install the package:</para>
    5764
    5865<screen><userinput remap="make">make -f &udev-lfs;/Makefile.lfs</userinput></screen>
     
    8188
    8289<screen><userinput remap="install">bash &udev-lfs;/init-net-rules.sh</userinput></screen>
     90
     91    <para>Do some cleanup:</para>
     92
     93<screen><userinput remap="install">rm -fv /usr/include/{uuid,blkid}
     94unset LD_LIBRARY_PATH</userinput></screen>
     95
    8396  </sect2>
    8497
  • chapter09/reboot.xml

    rcb23c1a r053b206  
    8888
    8989<screen><userinput>umount -v $LFS/dev/pts
    90 
    91 if [ -h $LFS/dev/shm ]; then
    92   link=$(readlink $LFS/dev/shm)
    93   umount -v $LFS/$link
    94   unset link
    95 else
    96   umount -v $LFS/dev/shm
    97 fi
    98 
    9990umount -v $LFS/dev
     91umount -v $LFS/run
    10092umount -v $LFS/proc
    10193umount -v $LFS/sys</userinput></screen>
  • general.ent

    rcb23c1a r053b206  
    1 <!ENTITY version         "SVN-20140119">
    2 <!ENTITY releasedate     "January 19, 2014">
     1<!ENTITY version         "SVN-20140121">
     2<!ENTITY releasedate     "January 21, 2014">
    33<!ENTITY copyrightdate   "1999-2014"><!-- jhalfs needs a literal dash, not &ndash; -->
    44<!ENTITY milestone       "7.5">
  • packages.ent

    rcb23c1a r053b206  
    555555<!ENTITY tzdata-ch6-sbu "less than 0.1 SBU">
    556556
    557 <!ENTITY udev-lfs        "udev-lfs-&systemd-version;-1">
     557<!ENTITY udev-lfs        "udev-lfs-&systemd-version;-2">
    558558<!ENTITY udev-lfs-size   "29 KB">
    559559<!ENTITY udev-lfs-url    "&anduin-other;&udev-lfs;.tar.bz2">
    560 <!ENTITY udev-lfs-md5    "67a5339e7ef1fa08f5db8315a5ea69e7">
     560<!ENTITY udev-lfs-md5    "ed85205909de6e4f96ea2b0ebc57df7e">
    561561<!ENTITY udev-lfs-home   " ">
    562562
Note: See TracChangeset for help on using the changeset viewer.