Ignore:
Timestamp:
09/18/2007 09:11:00 PM (17 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
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.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:
e1ad8a8
Parents:
a7a0238
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/coreutils.xml

    ra7a0238 r0445a3d  
    4646    Glibc provides, so we'll rename the function:</para>
    4747
    48 <screen><userinput>sed -i 's/futimens/gl_&amp;/' src/{copy,touch}.c lib/utimens.{c,h}</userinput></screen>
     48<screen><userinput remap="pre">sed -i 's/futimens/gl_&amp;/' src/{copy,touch}.c lib/utimens.{c,h}</userinput></screen>
    4949
    5050    <para>A known issue with the <command>uname</command> program from
     
    5353    fixes this behavior for Intel architectures:</para>
    5454
    55 <screen><userinput>patch -Np1 -i ../&coreutils-uname-patch;</userinput></screen>
     55<screen><userinput remap="pre">patch -Np1 -i ../&coreutils-uname-patch;</userinput></screen>
    5656
    5757    <para>Prevent Coreutils from installing binaries that will be installed by
    5858    other packages later:</para>
    5959
    60 <screen><userinput>patch -Np1 -i ../&coreutils-suppress-patch;</userinput></screen>
     60<screen><userinput remap="pre">patch -Np1 -i ../&coreutils-suppress-patch;</userinput></screen>
    6161
    6262    <para>POSIX requires that programs from Coreutils recognize character
     
    6464    fixes this non-compliance and other internationalization-related bugs:</para>
    6565
    66 <screen><userinput>patch -Np1 -i ../&coreutils-i18n-patch;</userinput></screen>
     66<screen><userinput remap="pre">patch -Np1 -i ../&coreutils-i18n-patch;</userinput></screen>
    6767
    6868    <para>In order for the tests added by this patch to pass, the permissions for
    6969    the test file have to be changed:</para>
    7070
    71 <screen><userinput>chmod +x tests/sort/sort-mb-tests</userinput></screen>
     71<screen><userinput remap="pre">chmod +x tests/sort/sort-mb-tests</userinput></screen>
    7272
    7373    <note>
     
    7979    <para>Now prepare Coreutils for compilation:</para>
    8080
    81 <screen><userinput>./configure --prefix=/usr</userinput></screen>
     81<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
    8282
    8383    <para>Compile the package:</para>
    8484
    85 <screen><userinput>make</userinput></screen>
     85<screen><userinput remap="make">make</userinput></screen>
    8686
    8787    <para>Skip down to <quote>Install the
     
    9191    meant to be run as user <systemitem class="username">root</systemitem>:</para>
    9292
    93 <screen><userinput>make NON_ROOT_USERNAME=nobody check-root</userinput></screen>
     93<screen><userinput remap="test">make NON_ROOT_USERNAME=nobody check-root</userinput></screen>
    9494
    9595    <para>We're going to run the remainder of the tests as the
     
    9999    user <systemitem class="username">nobody</systemitem> a part of it:</para>
    100100
    101 <screen><userinput>echo "dummy:x:1000:nobody" &gt;&gt; /etc/group</userinput></screen>
     101<screen><userinput remap="test">echo "dummy:x:1000:nobody" &gt;&gt; /etc/group</userinput></screen>
    102102
    103103    <para>Now run the tests:</para>
    104104
    105 <screen><userinput>su-tools nobody -s /bin/bash -c "make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen>
     105<screen><userinput remap="test">su-tools nobody -s /bin/bash -c "make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen>
    106106
    107107    <para>Remove the temporary group:</para>
    108108
    109 <screen><userinput>sed -i '/dummy/d' /etc/group</userinput></screen>
     109<screen><userinput remap="test">sed -i '/dummy/d' /etc/group</userinput></screen>
    110110
    111111    <para>Install the package:</para>
    112112
    113 <screen><userinput>make install</userinput></screen>
     113<screen><userinput remap="install">make install</userinput></screen>
    114114
    115115    <para>Move programs to the locations specified by the FHS:</para>
    116116
    117 <screen><userinput>mv -v /usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo} /bin
     117<screen><userinput remap="install">mv -v /usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo} /bin
    118118mv -v /usr/bin/{false,hostname,ln,ls,mkdir,mknod,mv,pwd,readlink,rm} /bin
    119119mv -v /usr/bin/{rmdir,stty,sync,true,uname} /bin
     
    126126    need to be on the root partition:</para>
    127127
    128 <screen><userinput>mv -v /usr/bin/{head,sleep,nice} /bin</userinput></screen>
     128<screen><userinput remap="install">mv -v /usr/bin/{head,sleep,nice} /bin</userinput></screen>
    129129
    130130  </sect2>
Note: See TracChangeset for help on using the changeset viewer.