|
@@ -31,11 +31,6 @@ Gettext, Glibc, Grep, Make, Perl, and Sed</seg></seglistitem>
|
|
|
<sect2 role="installation">
|
|
|
<title>Installation of Coreutils</title>
|
|
|
|
|
|
-<para>Apply a patch to improve the POSIX and <command>bash</command>
|
|
|
-compatibility of <command>echo</command>:</para>
|
|
|
-
|
|
|
-<screen><userinput>patch -Np1 -i ../&coreutils-echo-patch;</userinput></screen>
|
|
|
-
|
|
|
<para>A known issue with the <command>uname</command> program from
|
|
|
this package is that the <parameter>-p</parameter> switch always
|
|
|
returns <computeroutput>unknown</computeroutput>. The following patch
|
|
@@ -50,7 +45,7 @@ other packages later:</para>
|
|
|
|
|
|
<para>Now prepare Coreutils for compilation:</para>
|
|
|
|
|
|
-<screen><userinput>DEFAULT_POSIX2_VERSION=199209 ./configure --prefix=/usr</userinput></screen>
|
|
|
+<screen><userinput>./configure --prefix=/usr</userinput></screen>
|
|
|
|
|
|
<para>Compile the package:</para>
|
|
|
|
|
@@ -66,7 +61,7 @@ running the test suite.</para>
|
|
|
|
|
|
<screen><userinput>echo "dummy1:x:1000:" >> /etc/group
|
|
|
echo "dummy2:x:1001:dummy" >> /etc/group
|
|
|
-echo "dummy:x:1000:1000:::/bin/bash" >> /etc/passwd</userinput></screen>
|
|
|
+echo "dummy:x:1000:1000::/root:/bin/bash" >> /etc/passwd</userinput></screen>
|
|
|
|
|
|
<para>Now the test suite is ready to be run. First, run the tests that
|
|
|
are meant to be run as user <emphasis>root</emphasis>:</para>
|