Changeset cd0c92d6
- Timestamp:
- 02/22/2004 07:05:53 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, v5_1, v5_1_1, 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:
- b157558
- Parents:
- 9da62ab
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter01/changelog.xml
r9da62ab rcd0c92d6 6 6 7 7 <itemizedlist> 8 9 <listitem><para>February 22nd, 2004 [alex]: Chapter 6 - Coreutils and 10 E2fsprogs: Clarified the prerequisites for running the tests.</para></listitem> 8 11 9 12 <listitem><para>February 19th, 2004 [alex]: Chapter 5 - Stripping: Removed -
chapter06/coreutils.xml
r9da62ab rcd0c92d6 41 41 <screen><userinput>make</userinput></screen> 42 42 43 <para>The <command>su</command> program from Coreutils wasn't installed in 44 <xref linkend="chapter-temporary-tools"/> because it needed 45 <emphasis>root</emphasis> privilege to do so. We're going to need it in a few 46 moments for the test suite. Therefore we install it now:</para> 43 <para>The test suite of Coreutils makes several assumptions about the presence 44 of files and users that aren't valid yet this early in the LFS build. We will 45 therefore have to set up a few things before being able to run the tests. If 46 you choose not to run these tests, skip down to "Install the package".</para> 47 48 <para>To be able to run the full test suite, the <command>su</command> program 49 needs to be installed. We didn't bother to install this little program in 50 <xref linkend="chapter-temporary-tools"/> because it requires root privileges, 51 so do it now:</para> 47 52 48 53 <screen><userinput>make install-root</userinput></screen> 49 54 50 <para>The test suite of this package 51 makes some assumptions with regards to the presence of non-root users and 52 groups that don't apply this early into the LFS build. We therefore create 53 a dummy system user and two dummy groups to allow the tests to run 54 properly. Should you choose not to run the test suite, skip down to 55 "Install the package". The following commands will prepare us for the test 56 suite. Create two dummy groups and a dummy user name:</para> 55 <para>Create a 'table of mounted filesystems' file with:</para> 57 56 58 <screen><userinput>echo "dummy1:x:1000" >> /etc/group 59 echo "dummy2:x:1001:dummy" >> /etc/group 60 echo "dummy:x:1000:1000:::/bin/bash" >> /etc/passwd</userinput></screen> 57 <screen><userinput>touch /etc/mtab</userinput></screen> 61 58 62 <para>Some tests are meant to run as <emphasis>root</emphasis>:</para> 59 <para>And create two dummy groups and a dummy user name:</para> 60 61 <screen><userinput>echo "dummy1:x:1000" >> /etc/group 62 echo "dummy2:x:1001:dummy" >> /etc/group 63 echo "dummy:x:1000:1000:::/bin/bash" >> /etc/passwd</userinput></screen> 64 65 <para>Now you're all set to run the test suite. First run the few tests that 66 are meant to be run as <emphasis>root</emphasis>:</para> 63 67 64 68 <screen><userinput>make check-root</userinput></screen> 65 69 66 <para>The remainder of the tests are runas the <emphasis>dummy</emphasis>70 <para>Then run the remainder of the tests as the <emphasis>dummy</emphasis> 67 71 user:</para> 68 72 69 73 <screen><userinput>su dummy -c "make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen> 70 74 71 <para> Remove the dummy groups and user name:</para>75 <para>When you're done testing, remove the dummy user and groups:</para> 72 76 73 77 <screen><userinput>sed -i.bak '/dummy/d' /etc/passwd /etc/group</userinput></screen> … … 91 95 <screen><userinput>rm /usr/bin/kill</userinput></screen> 92 96 93 <para>Finally, create a few necessary symlinks:</para>97 <para>Finally, create two symlinks to be FHS-compliant:</para> 94 98 95 99 <screen><userinput>ln -s test /bin/[ -
chapter06/e2fsprogs.xml
r9da62ab rcd0c92d6 50 50 <screen><userinput>make</userinput></screen> 51 51 52 <para>To have the results tested, issue: 53 <userinput>make check</userinput>.</para> 52 <para>If you wish to have the results tested, first make sure an mtab file 53 exists with <userinput>touch /etc/mtab</userinput> to prevent some sixty tests 54 from failing, and (if it doesn't already exist) fake the presence of an old 55 pager with <userinput>ln -s /tools/bin/cat /bin/more</userinput> to prevent one 56 test from failing, then issue: <userinput>make check</userinput>.</para> 54 57 55 58 <para>Install most of the package:</para> -
chapter06/shadow.xml
r9da62ab rcd0c92d6 35 35 working:</para> 36 36 37 <screen><userinput>echo '#define HAVE_SETLOCALE 1' >>config.h</userinput></screen>37 <screen><userinput>echo '#define HAVE_SETLOCALE 1' >> config.h</userinput></screen> 38 38 39 39 <para>Compile the package:</para> -
index.xml
r9da62ab rcd0c92d6 3 3 "/usr/share/docbook/docbookx.dtd" [ 4 4 5 <!ENTITY version "CVS-2004-02- 19">6 <!ENTITY releasedate "February 19th, 2004">5 <!ENTITY version "CVS-2004-02-22"> 6 <!ENTITY releasedate "February 22nd, 2004"> 7 7 <!ENTITY milestone "5.2"> 8 8 <!ENTITY nbsp " ">
Note:
See TracChangeset
for help on using the changeset viewer.