diff options
author | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2007-09-18 21:11:00 +0000 |
---|---|---|
committer | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2007-09-18 21:11:00 +0000 |
commit | 0445a3d50660d84f11d095db0177078f4f5cd8a0 (patch) | |
tree | 0a498ecf0a0714891f5c4576bc508558268283a8 /chapter06/coreutils.xml | |
parent | a7a02386b4c83ed74790c1918c80f1fffc3af472 (diff) |
Added remap attributes to userinput tags in packages pages.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8389 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/coreutils.xml')
-rw-r--r-- | chapter06/coreutils.xml | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/chapter06/coreutils.xml b/chapter06/coreutils.xml index 82693d20c..3d8288366 100644 --- a/chapter06/coreutils.xml +++ b/chapter06/coreutils.xml @@ -45,30 +45,30 @@ by Coreutils is incompatible with the version that current Glibc provides, so we'll rename the function:</para> -<screen><userinput>sed -i 's/futimens/gl_&/' src/{copy,touch}.c lib/utimens.{c,h}</userinput></screen> +<screen><userinput remap="pre">sed -i 's/futimens/gl_&/' src/{copy,touch}.c lib/utimens.{c,h}</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 fixes this behavior for Intel architectures:</para> -<screen><userinput>patch -Np1 -i ../&coreutils-uname-patch;</userinput></screen> +<screen><userinput remap="pre">patch -Np1 -i ../&coreutils-uname-patch;</userinput></screen> <para>Prevent Coreutils from installing binaries that will be installed by other packages later:</para> -<screen><userinput>patch -Np1 -i ../&coreutils-suppress-patch;</userinput></screen> +<screen><userinput remap="pre">patch -Np1 -i ../&coreutils-suppress-patch;</userinput></screen> <para>POSIX requires that programs from Coreutils recognize character boundaries correctly even in multibyte locales. The following patch fixes this non-compliance and other internationalization-related bugs:</para> -<screen><userinput>patch -Np1 -i ../&coreutils-i18n-patch;</userinput></screen> +<screen><userinput remap="pre">patch -Np1 -i ../&coreutils-i18n-patch;</userinput></screen> <para>In order for the tests added by this patch to pass, the permissions for the test file have to be changed:</para> -<screen><userinput>chmod +x tests/sort/sort-mb-tests</userinput></screen> +<screen><userinput remap="pre">chmod +x tests/sort/sort-mb-tests</userinput></screen> <note> <para>In the past, many bugs were found in this patch. When reporting new @@ -78,11 +78,11 @@ <para>Now prepare Coreutils for compilation:</para> -<screen><userinput>./configure --prefix=/usr</userinput></screen> +<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen> <para>Compile the package:</para> -<screen><userinput>make</userinput></screen> +<screen><userinput remap="make">make</userinput></screen> <para>Skip down to <quote>Install the package</quote> if not running the test suite.</para> @@ -90,7 +90,7 @@ <para>Now the test suite is ready to be run. First, run the tests that are meant to be run as user <systemitem class="username">root</systemitem>:</para> -<screen><userinput>make NON_ROOT_USERNAME=nobody check-root</userinput></screen> +<screen><userinput remap="test">make NON_ROOT_USERNAME=nobody check-root</userinput></screen> <para>We're going to run the remainder of the tests as the <systemitem class="username">nobody</systemitem> user. Certain tests, @@ -98,23 +98,23 @@ these tests are not skipped we'll add a temporary group and make the user <systemitem class="username">nobody</systemitem> a part of it:</para> -<screen><userinput>echo "dummy:x:1000:nobody" >> /etc/group</userinput></screen> +<screen><userinput remap="test">echo "dummy:x:1000:nobody" >> /etc/group</userinput></screen> <para>Now run the tests:</para> -<screen><userinput>su-tools nobody -s /bin/bash -c "make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen> +<screen><userinput remap="test">su-tools nobody -s /bin/bash -c "make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen> <para>Remove the temporary group:</para> -<screen><userinput>sed -i '/dummy/d' /etc/group</userinput></screen> +<screen><userinput remap="test">sed -i '/dummy/d' /etc/group</userinput></screen> <para>Install the package:</para> -<screen><userinput>make install</userinput></screen> +<screen><userinput remap="install">make install</userinput></screen> <para>Move programs to the locations specified by the FHS:</para> -<screen><userinput>mv -v /usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo} /bin +<screen><userinput remap="install">mv -v /usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo} /bin mv -v /usr/bin/{false,hostname,ln,ls,mkdir,mknod,mv,pwd,readlink,rm} /bin mv -v /usr/bin/{rmdir,stty,sync,true,uname} /bin mv -v /usr/bin/chroot /usr/sbin</userinput></screen> @@ -125,7 +125,7 @@ mv -v /usr/bin/chroot /usr/sbin</userinput></screen> may not be available during the early stages of booting, those binaries need to be on the root partition:</para> -<screen><userinput>mv -v /usr/bin/{head,sleep,nice} /bin</userinput></screen> +<screen><userinput remap="install">mv -v /usr/bin/{head,sleep,nice} /bin</userinput></screen> </sect2> |