Changeset ac55dee
- Timestamp:
- 05/12/2004 07:58:19 PM (20 years ago)
- 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
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter01/changelog.xml
rc58d07c rac55dee 54 54 <listitem><para>Added:</para> 55 55 <itemizedlist> 56 <listitem><para>coreutils-5.2.1-dupes-1.patch</para></listitem> 56 57 <listitem><para>flex-2.5.31-debian-fixes-2.patch</para></listitem> 57 58 <listitem><para>iana-etc-1.00</para></listitem> … … 76 77 <itemizedlist> 77 78 <listitem><para>bison-1.875-attribute.patch</para></listitem> 79 <listitem><para>coreutils-5.2.1-hostname-1.patch</para></listitem> 78 80 <listitem><para>ed-0.2</para></listitem> 79 81 <listitem><para>gcc-2.95.3</para></listitem> … … 95 97 </listitem> 96 98 99 <listitem><para>May 12th, 2004 [winkie]: Apply patch to assure Coreutils doesn't 100 install any binaries that we don't need/want.</para></listitem> 101 97 102 <listitem><para>May 12th, 2004 [winkie]: Don't pass <quote>-default</quote> to 98 103 Man's configure, since it's not needed anymore.</para></listitem> -
chapter03/patches.xml
rc58d07c rac55dee 23 23 24 24 <varlistentry> 25 <term>Coreutils Hostname Patch - 1KB:</term>25 <term>Coreutils Dupes Patch - 16 KB:</term> 26 26 <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> 28 28 </listitem> 29 29 </varlistentry> -
chapter06/coreutils.xml
rc58d07c rac55dee 31 31 <screen><userinput>patch -Np1 -i ../coreutils-&coreutils-version;-uname-2.patch</userinput></screen> 32 32 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 34 by other programs:</para> 35 36 <screen><userinput>patch -Np1 -i ../coreutils-&coreutils-version;-dupes-1.patch</userinput></screen> 38 37 39 38 <para>Now prepare Coreutils for compilation:</para> … … 51 50 package</quote>.</para> 52 51 53 <para>To be able to run the full test suite, the <command>su</command> program54 needs to be installed. We didn't bother to install this little program in55 <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 60 52 <para>Create two dummy groups and a dummy user name:</para> 61 53 … … 72 64 user:</para> 73 65 74 <screen><userinput>s u 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> 75 67 76 68 <para>When you're done testing, remove the dummy user and groups:</para> … … 87 79 mv /usr/bin/{date,echo,false,head,install,ln,ls} /bin 88 80 mv /usr/bin/{mkdir,mknod,mv,pwd,rm,rmdir,sync} /bin 89 mv /usr/bin/{sleep,stty, su,test,touch,true,uname} /bin81 mv /usr/bin/{sleep,stty,test,touch,true,uname} /bin 90 82 mv /usr/bin/chroot /usr/sbin</userinput></screen> 91 92 <para>We'll be using the <filename>kill</filename> program from the Procps93 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>97 83 98 84 <para>Finally, create a symlink to be FHS-compliant:</para>
Note:
See TracChangeset
for help on using the changeset viewer.