Changeset ac55dee


Ignore:
Timestamp:
05/12/2004 07:58:19 PM (20 years ago)
Author:
Zack Winkles <winkie@…>
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, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 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:
4451b392
Parents:
c58d07c
Message:

Fixed bug #307

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

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    rc58d07c rac55dee  
    5454<listitem><para>Added:</para>
    5555<itemizedlist>
     56<listitem><para>coreutils-5.2.1-dupes-1.patch</para></listitem>
    5657<listitem><para>flex-2.5.31-debian-fixes-2.patch</para></listitem>
    5758<listitem><para>iana-etc-1.00</para></listitem>
     
    7677<itemizedlist>
    7778<listitem><para>bison-1.875-attribute.patch</para></listitem>
     79<listitem><para>coreutils-5.2.1-hostname-1.patch</para></listitem>
    7880<listitem><para>ed-0.2</para></listitem>
    7981<listitem><para>gcc-2.95.3</para></listitem>
     
    9597</listitem>
    9698
     99<listitem><para>May 12th, 2004 [winkie]: Apply patch to assure Coreutils doesn't
     100install any binaries that we don't need/want.</para></listitem>
     101
    97102<listitem><para>May 12th, 2004 [winkie]: Don't pass <quote>-default</quote> to
    98103Man's configure, since it's not needed anymore.</para></listitem>
  • chapter03/patches.xml

    rc58d07c rac55dee  
    2323
    2424<varlistentry>
    25 <term>Coreutils Hostname Patch - 1 KB:</term>
     25<term>Coreutils Dupes Patch - 16 KB:</term>
    2626<listitem>
    27 <para><ulink url="&patches-root;coreutils-&coreutils-version;-hostname-1.patch"/></para>
     27<para><ulink url="&patches-root;coreutils-&coreutils-version;-dupes-1.patch"/></para>
    2828</listitem>
    2929</varlistentry>
  • chapter06/coreutils.xml

    rc58d07c rac55dee  
    3131<screen><userinput>patch -Np1 -i ../coreutils-&coreutils-version;-uname-2.patch</userinput></screen>
    3232
    33 <para>We do not want Coreutils to install its version of the
    34 <command>hostname</command> program, because it is inferior to the version
    35 provided by Net-tools. Prevent its installation by applying a patch:</para>
    36 
    37 <screen><userinput>patch -Np1 -i ../coreutils-&coreutils-version;-hostname-1.patch</userinput></screen>
     33<para>Prevent Coreutils from installing binaries that will be later be installed
     34by other programs:</para>
     35
     36<screen><userinput>patch -Np1 -i ../coreutils-&coreutils-version;-dupes-1.patch</userinput></screen>
    3837
    3938<para>Now prepare Coreutils for compilation:</para>
     
    5150package</quote>.</para>
    5251
    53 <para>To be able to run the full test suite, the <command>su</command> program
    54 needs to be installed. We didn't bother to install this little program in
    55 <xref linkend="chapter-temporary-tools"/> because it requires root privileges,
    56 so do it now:</para>
    57 
    58 <screen><userinput>make install-root</userinput></screen>
    59 
    6052<para>Create two dummy groups and a dummy user name:</para>
    6153
     
    7264user:</para>
    7365
    74 <screen><userinput>su dummy -c "make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen>
     66<screen><userinput>src/su dummy -c "make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen>
    7567
    7668<para>When you're done testing, remove the dummy user and groups:</para>
     
    8779mv /usr/bin/{date,echo,false,head,install,ln,ls} /bin
    8880mv /usr/bin/{mkdir,mknod,mv,pwd,rm,rmdir,sync} /bin
    89 mv /usr/bin/{sleep,stty,su,test,touch,true,uname} /bin
     81mv /usr/bin/{sleep,stty,test,touch,true,uname} /bin
    9082mv /usr/bin/chroot /usr/sbin</userinput></screen>
    91 
    92 <para>We'll be using the <filename>kill</filename> program from the Procps
    93 package (installed as <filename>/bin/kill</filename> later in the chapter).
    94 Remove the one installed by Coreutils:</para>
    95 
    96 <screen><userinput>rm /usr/bin/kill</userinput></screen>
    9783
    9884<para>Finally, create a symlink to be FHS-compliant:</para>
Note: See TracChangeset for help on using the changeset viewer.