Changeset cb23c1a


Ignore:
Timestamp:
01/20/2014 01:18:30 AM (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:
053b206
Parents:
cde2ae7
Message:

Added a Chapter 5 build of util-linux in preparation for
moving the Chapter 6 build to after udev. This satisfies a circular
dependency. This is not the complete fix as this build has not yet
been incorporated into Chapter 6.

Mount /run as a tmpfs for Chapter 6. This allows use by test processes
during Chapter 6 without carying the files over to the new system.

Other minor cleanups.

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

Files:
1 added
1 deleted
10 edited

Legend:

Unmodified
Added
Removed
  • appendices/dependencies.xml

    rcde2ae7 rcb23c1a  
    20922092        <seglistitem>
    20932093         <seg>Bash, Binutils, Coreutils, Diffutils, Findutils, Gawk, GCC,
    2094          Gettext, Glibc, Grep, Make, Ncurses, Sed, and Zlib</seg>
    2095         </seglistitem>
    2096       </segmentedlist>
    2097 
    2098       <segmentedlist>
    2099         <segtitle>&testsuites;</segtitle>
    2100 
    2101         <seglistitem>
    2102           <seg>No test suite available</seg>
     2094         Gettext, Glibc, Grep, Make, Ncurses, Sed, Udev, and Zlib</seg>
     2095        </seglistitem>
     2096      </segmentedlist>
     2097
     2098      <segmentedlist>
     2099        <segtitle>&testsuites;</segtitle>
     2100
     2101        <seglistitem>
     2102          <seg>None</seg>
    21032103        </seglistitem>
    21042104      </segmentedlist>
  • chapter01/changelog.xml

    rcde2ae7 rcb23c1a  
    3737-->
    3838    <listitem>
     39      <para>2014-01-15</para>
     40      <itemizedlist>
     41        <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>
     49        </listitem>
     50      </itemizedlist>
     51    </listitem>
     52
     53    <listitem>
    3954      <para>2014-01-14</para>
    4055      <itemizedlist>
     
    4762        <listitem>
    4863          <para>[bdubbs] - Fix hardcoded reference to /tools in
    49           Chapter 6 glibc.  Fixes
     64          Chapter 6 gcc.  Fixes
    5065          <ulink url="&lfs-ticket-root;3466">#3466</ulink>.</para>
    5166        </listitem>
  • chapter01/whatsnew.xml

    rcde2ae7 rcb23c1a  
    107107      <para>IANA-Etc &iana-etc-version;</para>
    108108    </listitem>-->
    109     <!--<listitem>
     109    <listitem>
    110110      <para>Inetutils &inetutils-version;</para>
    111     </listitem>-->
     111    </listitem>
    112112    <listitem>
    113113      <para>IPRoute2 &iproute2-version;</para>
  • chapter05/chapter05.xml

    rcde2ae7 rcb23c1a  
    4444  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="tar.xml"/>
    4545  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="texinfo.xml"/>
     46  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="util-linux.xml"/>
    4647  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="xz.xml"/>
    47 <!--  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="util-linux-ng.xml"/>-->
    4848  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="stripping.xml"/>
    4949  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="changingowner.xml"/>
  • chapter05/ncurses.xml

    rcde2ae7 rcb23c1a  
    4646    <para>Prepare Ncurses for compilation:</para>
    4747
    48 <screen><userinput remap="configure">./configure --prefix=/tools --with-shared \
    49     --without-debug --without-ada --enable-overwrite</userinput></screen>
     48<screen><userinput remap="configure">
     49./configure --prefix=/tools \
     50            --with-shared   \
     51            --without-debug \
     52            --without-ada   \
     53            --enable-widec  \
     54            --enable-overwrite</userinput></screen>
    5055
    5156    <variablelist>
     
    6974          ensure that other packages can find the Ncurses headers
    7075          successfully.</para>
     76        </listitem>
     77      </varlistentry>
     78
     79      <varlistentry>
     80        <term><parameter>--enable-widec</parameter></term>
     81        <listitem>
     82          <para>This switch causes wide-character libraries (e.g., <filename
     83          class="libraryfile">libncursesw.so.&ncurses-version;</filename>)
     84          to be built instead of normal ones (e.g., <filename
     85          class="libraryfile">libncurses.so.&ncurses-version;</filename>).
     86          These wide-character libraries are usable in both multibyte and
     87          traditional 8-bit locales, while normal libraries work properly
     88          only in 8-bit locales. Wide-character and normal libraries are
     89          source-compatible, but not binary-compatible.</para>
    7190        </listitem>
    7291      </varlistentry>
  • chapter06/creatingdirs.xml

    rcde2ae7 rcb23c1a  
    1414  standard directory tree by issuing the following commands:</para>
    1515
    16 <screen><userinput>mkdir -pv /{bin,boot,etc/{opt,sysconfig},home,lib,mnt,opt,run}
     16<screen><userinput>mkdir -pv /{bin,boot,etc/{opt,sysconfig},home,lib,mnt,opt}
    1717mkdir -pv /{media/{floppy,cdrom},sbin,srv,var}
    1818install -dv -m 0750 /root
  • chapter06/kernfs.xml

    rcde2ae7 rcb23c1a  
    2323    mounted:</para>
    2424
    25 <screen><userinput>mkdir -pv $LFS/{dev,proc,sys}</userinput></screen>
     25<screen><userinput>mkdir -pv $LFS/{dev,proc,sys,run}</userinput></screen>
    2626
    2727  <sect2>
     
    7171<screen><userinput>mount -vt devpts devpts $LFS/dev/pts -o gid=5,mode=620
    7272mount -vt proc proc $LFS/proc
    73 mount -vt sysfs sysfs $LFS/sys</userinput></screen>
     73mount -vt sysfs sysfs $LFS/sys
     74mount -vt tmpfs tmpfs $LFS/run</userinput></screen>
    7475
    7576    <variablelist>
     
    103104      <para>In some host systems, <filename>/dev/shm</filename> is a
    104105      symbolic link to <filename class="directory">/run/shm</filename>.
    105       Inside a chroot environment, this temporary file system needs
    106       to be mounted separate from the host file system:</para>
     106      The /run tmpfs was mounted above so in this case only a
     107      directory needs to be created.</para>
    107108
    108109<screen><userinput>if [ -h $LFS/dev/shm ]; then
    109   link=$(readlink $LFS/dev/shm)
    110   mkdir -pv $LFS/$link
    111   mount -vt tmpfs shm $LFS/$link
    112   unset link
    113 else
    114   mount -vt tmpfs shm $LFS/dev/shm
     110  mkdir -pv $LFS/$(readlink $LFS/dev/shm)
    115111fi</userinput></screen>
    116112
  • chapter06/revisedchroot.xml

    rcde2ae7 rcb23c1a  
    1313  <para>Finally, clean up some extra files left around from running tests:</para>
    1414
    15 <screen><userinput>rm -rf /run/* /tmp/*</userinput></screen>
     15<screen><userinput>rm -rf /tmp/*</userinput></screen>
    1616
    1717  <para>From now on, when reentering the chroot environment after
  • general.ent

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

    rcde2ae7 rcb23c1a  
    566566<!ENTITY util-linux-md5 "4fac6443427f575fc5f3531a4ad2ca01">
    567567<!ENTITY util-linux-home "http://userweb.kernel.org/~kzak/util-linux/">
     568<!ENTITY util-linux-ch5-du "89 MB">
     569<!ENTITY util-linux-ch5-sbu "0.6 SBU">
    568570<!ENTITY util-linux-ch6-du "89 MB">
    569571<!ENTITY util-linux-ch6-sbu "0.6 SBU">
Note: See TracChangeset for help on using the changeset viewer.