Ignore:
Timestamp:
Feb 21, 2006, 2:27:39 AM (19 years ago)
Author:
Jim Gifford <clfs@…>
Children:
e63113c
Parents:
287d7b9
Message:

r1167@server (orig r1165): chris | 2006-02-11 08:13:02 -0800
Added -v to commands in the rest of the book

Location:
final-system/common
Files:
24 edited

Legend:

Unmodified
Added
Removed
  • final-system/common/adjusting.xml

    r287d7b9 rdd9906e  
    5454    files:</para>
    5555
    56 <screen os="m"><userinput>rm dummy.c a.out</userinput></screen>
     56<screen os="m"><userinput>rm -v dummy.c a.out</userinput></screen>
    5757
    5858  </caution>
  • final-system/common/bash.xml

    r287d7b9 rdd9906e  
    3737    install HTML documentation, issue the following commands:</para>
    3838
    39 <screen os="b"><userinput>tar -zxf ../bash-doc-&bash-doc-version;.tar.gz &amp;&amp;
     39<screen os="b"><userinput>tar -xvf ../bash-doc-&bash-doc-version;.tar.gz &amp;&amp;
    4040sed -i "s|htmldir = @htmldir@|htmldir = /usr/share/doc/bash-&bash-version;|" \
    4141    Makefile.in</userinput></screen>
  • final-system/common/binutils.xml

    r287d7b9 rdd9906e  
    5353    source directory in a dedicated build directory:</para>
    5454
    55 <screen os="h"><userinput>mkdir ../binutils-build
     55<screen os="h"><userinput>mkdir -v ../binutils-build
    5656cd ../binutils-build</userinput></screen>
    5757
     
    108108    file that is needed by some packages:</para>
    109109
    110 <screen os="u"><userinput>cp ../binutils-&binutils-version;/include/libiberty.h /usr/include</userinput></screen>
     110<screen os="u"><userinput>cp -v ../binutils-&binutils-version;/include/libiberty.h /usr/include</userinput></screen>
    111111
    112112  </sect2>
  • final-system/common/bzip2.xml

    r287d7b9 rdd9906e  
    6666
    6767    <para os="f">If reinstalling Bzip2, perform
    68     <userinput>rm -f /usr/bin/bz*</userinput> first, otherwise the
     68    <userinput>rm -vf /usr/bin/bz*</userinput> first, otherwise the
    6969    following <command>make install</command> will fail.</para>
    7070
     
    7777    some necessary symbolic links, and clean up:</para>
    7878
    79 <screen os="j"><userinput>cp bzip2-shared /bin/bzip2
    80 cp -a libbz2.so* /lib
    81 ln -s ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so
    82 rm /usr/bin/{bunzip2,bzcat,bzip2}
    83 ln -s bzip2 /bin/bunzip2
    84 ln -s bzip2 /bin/bzcat</userinput></screen>
     79<screen os="j"><userinput>cp -v bzip2-shared /bin/bzip2
     80cp -av libbz2.so* /lib
     81ln -sv ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so
     82rm -v /usr/bin/{bunzip2,bzcat,bzip2}
     83ln -sv bzip2 /bin/bunzip2
     84ln -sv bzip2 /bin/bzcat</userinput></screen>
    8585
    8686  </sect2>
  • final-system/common/coreutils.xml

    r287d7b9 rdd9906e  
    8383    <para os="r">Move programs to the locations specified by the FHS:</para>
    8484
    85 <screen os="s"><userinput>mv /usr/bin/{[,basename,cat,chgrp,chmod,chown,cp} /bin
    86 mv /usr/bin/{date,dd,df,echo,false,hostname,install,ln} /bin
    87 mv /usr/bin/{ls,mkdir,mknod,mv,nice,pwd,readlink,rm,rmdir,sync} /bin
    88 mv /usr/bin/{stty,test,touch,true,uname} /bin
    89 mv /usr/bin/chroot /usr/sbin
    90 ln -sf ../../bin/install /usr/bin</userinput></screen>
     85<screen os="s"><userinput>mv -v /usr/bin/{[,basename,cat,chgrp,chmod,chown,cp} /bin
     86mv -v /usr/bin/{date,dd,df,echo,false,hostname,install,ln} /bin
     87mv -v /usr/bin/{ls,mkdir,mknod,mv,nice,pwd,readlink,rm,rmdir,sync} /bin
     88mv -v /usr/bin/{stty,test,touch,true,uname} /bin
     89mv -v /usr/bin/chroot /usr/sbin
     90ln -svf ../../bin/install /usr/bin</userinput></screen>
    9191
    9292    <para os="t">Some of the scripts in the LFS-Bootscripts package depend on
  • final-system/common/e2fsprogs.xml

    r287d7b9 rdd9906e  
    4040    built in a subdirectory of the source tree:</para>
    4141
    42 <screen os="b"><userinput>mkdir build
     42<screen os="b"><userinput>mkdir -v build
    4343cd build</userinput></screen>
    4444
  • final-system/common/flex.xml

    r287d7b9 rdd9906e  
    6767    this:</para>
    6868
    69 <screen os="m"><userinput>ln -s libfl.a /usr/lib/libl.a</userinput></screen>
     69<screen os="m"><userinput>ln -sv libfl.a /usr/lib/libl.a</userinput></screen>
    7070
    7171    <para os="n">A few programs do not know about <command>flex</command> yet and
     
    8383# End /usr/bin/lex</literal>
    8484EOF
    85 chmod 755 /usr/bin/lex</userinput></screen>
     85chmod -v 755 /usr/bin/lex</userinput></screen>
    8686
    8787  </sect2>
  • final-system/common/gcc.xml

    r287d7b9 rdd9906e  
    5353    directory in a dedicated build directory:</para>
    5454
    55 <screen os="g"><userinput>mkdir ../gcc-build
     55<screen os="g"><userinput>mkdir -v ../gcc-build
    5656cd ../gcc-build</userinput></screen>
    5757
     
    9999    To support those packages, create this symlink:</para>
    100100
    101 <screen os="v"><userinput>ln -s ../usr/bin/cpp /lib</userinput></screen>
     101<screen os="v"><userinput>ln -sv ../usr/bin/cpp /lib</userinput></screen>
    102102
    103103    <para os="w">Many packages use the name <command>cc</command> to call the C
    104104    compiler. To satisfy those packages, create a symlink:</para>
    105105
    106 <screen os="x"><userinput>ln -s gcc /usr/bin/cc</userinput></screen>
     106<screen os="x"><userinput>ln -sv gcc /usr/bin/cc</userinput></screen>
    107107
    108108  </sect2>
  • final-system/common/glibc.xml

    r287d7b9 rdd9906e  
    6363    source directory in a dedicated build directory:</para>
    6464
    65 <screen os="f"><userinput>mkdir ../glibc-build
     65<screen os="f"><userinput>mkdir -v ../glibc-build
    6666cd ../glibc-build</userinput></screen>
    6767
     
    169169    successfully:</para>
    170170
    171 <screen><userinput>mkdir -p /usr/lib/locale
     171<screen><userinput>mkdir -pv /usr/lib/locale
    172172localedef -i de_DE -f ISO-8859-1 de_DE
    173173localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro
     
    245245    <filename>/etc/localtime</filename> file by running:</para>
    246246
    247 <screen><userinput>cp --remove-destination /usr/share/zoneinfo/<replaceable>[xxx]</replaceable> \
     247<screen><userinput>cp -v --remove-destination /usr/share/zoneinfo/<replaceable>[xxx]</replaceable> \
    248248    /etc/localtime</userinput></screen>
    249249
  • final-system/common/groff.xml

    r287d7b9 rdd9906e  
    5757    will not work properly without the following symlinks:</para>
    5858
    59 <screen os="j"><userinput>ln -s soelim /usr/bin/zsoelim
    60 ln -s eqn /usr/bin/geqn
    61 ln -s tbl /usr/bin/gtbl</userinput></screen>
     59<screen os="j"><userinput>ln -sv soelim /usr/bin/zsoelim
     60ln -sv eqn /usr/bin/geqn
     61ln -sv tbl /usr/bin/gtbl</userinput></screen>
    6262
    6363  </sect2>
  • final-system/common/gzip.xml

    r287d7b9 rdd9906e  
    6565    used symlinks to it:</para>
    6666
    67 <screen os="j"><userinput>mv /usr/bin/gzip /bin
    68 rm /usr/bin/{gunzip,zcat}
    69 ln -s gzip /bin/gunzip
    70 ln -s gzip /bin/zcat
    71 ln -s gzip /bin/compress
    72 ln -s gunzip /bin/uncompress</userinput></screen>
     67<screen os="j"><userinput>mv -v /usr/bin/gzip /bin
     68rm -v /usr/bin/{gunzip,zcat}
     69ln -sv gzip /bin/gunzip
     70ln -sv gzip /bin/zcat
     71ln -sv gzip /bin/compress
     72ln -sv gunzip /bin/uncompress</userinput></screen>
    7373
    7474  </sect2>
  • final-system/common/hotplug.xml

    r287d7b9 rdd9906e  
    4545    to be using the script included in the LFS-Bootscripts package:</para>
    4646
    47 <screen os="d"><userinput>rm -rf /etc/init.d</userinput></screen>
     47<screen os="d"><userinput>rm -rvf /etc/init.d</userinput></screen>
    4848
    4949    <para os="e">Network device hotplugging is not yet supported by the
     
    5151    hotplug agent:</para>
    5252
    53 <screen os="f"><userinput>rm -f /etc/hotplug/net.agent</userinput></screen>
     53<screen os="f"><userinput>rm -fv /etc/hotplug/net.agent</userinput></screen>
    5454
    5555    <para os="g">Create a directory for storing firmware that can be loaded by
    5656    <command>hotplug</command>:</para>
    5757
    58 <screen os="h"><userinput>mkdir /lib/firmware</userinput></screen>
     58<screen os="h"><userinput>mkdir -v /lib/firmware</userinput></screen>
    5959
    6060  </sect2>
  • final-system/common/inetutils.xml

    r287d7b9 rdd9906e  
    109109    place:</para>
    110110
    111 <screen os="i"><userinput>mv /usr/bin/ping /bin</userinput></screen>
     111<screen os="i"><userinput>mv -v /usr/bin/ping /bin</userinput></screen>
    112112
    113113  </sect2>
  • final-system/common/less.xml

    r287d7b9 rdd9906e  
    6363    <para os="i">Move less to /bin:</para>
    6464
    65 <screen os="j"><userinput>mv /usr/bin/less /bin</userinput></screen>
     65<screen os="j"><userinput>mv -v /usr/bin/less /bin</userinput></screen>
    6666
    6767  </sect2>
  • final-system/common/libtool.xml

    r287d7b9 rdd9906e  
    5454    class="libraryfile">libltdl</filename> data files:</para>
    5555
    56 <screen os="i"><userinput>chown -R root:root /usr/share/libtool/libltdl</userinput></screen>
     56<screen os="i"><userinput>chown -Rv root:root /usr/share/libtool/libltdl</userinput></screen>
    5757
    5858  </sect2>
  • final-system/common/man.xml

    r287d7b9 rdd9906e  
    5454    <command>makewhatis</command> script:</para>
    5555
    56 <screen os="g"><userinput>sed -i 's/)) |/) |/' src/makewhatis.sh</userinput></screen>
     56<screen os="g"><userinput>sed -i 's@)) |@) |@' src/makewhatis.sh</userinput></screen>
    5757
    5858    <para os="h">Prepare Man for compilation:</para>
  • final-system/common/ncurses.xml

    r287d7b9 rdd9906e  
    5252    <para os="h">Move the Ncurses static libraries to the proper locations:</para>
    5353
    54 <screen os="i"><userinput>mv /lib/lib{panel,menu,form,ncurses,ncurses++,curses}.a /usr/lib</userinput></screen>
     54<screen os="i"><userinput>mv -v /lib/lib{panel,menu,form,ncurses,ncurses++,curses}.a /usr/lib</userinput></screen>
    5555
    5656    <para os="j">Create symlinks in <filename class="directory">/usr/lib:</filename></para>
    5757
    58 <screen os="k"><userinput>rm /lib/lib{ncurses,menu,panel,form,curses}.so
    59 ln -sf ../../lib/libncurses.so.5 /usr/lib/libcurses.so
    60 ln -sf ../../lib/libncurses.so.5 /usr/lib/libncurses.so
    61 ln -sf ../../lib/libmenu.so.5 /usr/lib/libmenu.so
    62 ln -sf ../../lib/libpanel.so.5 /usr/lib/libpanel.so
    63 ln -sf ../../lib/libform.so.5 /usr/lib/libform.so</userinput></screen>
     58<screen os="k"><userinput>rm -v /lib/lib{ncurses,menu,panel,form,curses}.so
     59ln -svf ../../lib/libncurses.so.5 /usr/lib/libcurses.so
     60ln -svf ../../lib/libncurses.so.5 /usr/lib/libncurses.so
     61ln -svf ../../lib/libmenu.so.5 /usr/lib/libmenu.so
     62ln -svf ../../lib/libpanel.so.5 /usr/lib/libpanel.so
     63ln -svf ../../lib/libform.so.5 /usr/lib/libform.so</userinput></screen>
    6464
    6565    <para os="l">Give the Ncurses libraries execute permissions:</para>
  • final-system/common/psmisc.xml

    r287d7b9 rdd9906e  
    6767    class="directory">/usr/bin</filename>:</para>
    6868
    69 <screen os="i"><userinput>mv /bin/pstree* /usr/bin</userinput></screen>
     69<screen os="i"><userinput>mv -v /bin/pstree* /usr/bin</userinput></screen>
    7070
    7171    <para os="j">By default, Psmisc's <command>pidof</command> program is not installed.
     
    7575    of Psmisc by creating the following symlink:</para>
    7676
    77 <screen os="k"><userinput>ln -s killall /bin/pidof</userinput></screen>
     77<screen os="k"><userinput>ln -sv killall /bin/pidof</userinput></screen>
    7878
    7979  </sect2>
  • final-system/common/readline.xml

    r287d7b9 rdd9906e  
    6969    permissions:</para>
    7070
    71 <screen os="l"><userinput>chmod 755 /lib/lib{readline,history}.so*</userinput></screen>
     71<screen os="l"><userinput>chmod -v 755 /lib/lib{readline,history}.so*</userinput></screen>
    7272
    7373    <para os="m">Now move the static libraries to a more appropriate location:</para>
    7474
    75 <screen os="n"><userinput>mv /lib/lib{readline,history}.a /usr/lib</userinput></screen>
     75<screen os="n"><userinput>mv -v /lib/lib{readline,history}.a /usr/lib</userinput></screen>
    7676
    7777    <para os="o">Next, remove the <filename class="extension">.so</filename>
     
    7979    <filename class="directory">/usr/lib</filename>.</para>
    8080
    81 <screen os="p"><userinput>rm /lib/lib{readline,history}.so
    82 ln -sf ../../lib/libreadline.so.5 /usr/lib/libreadline.so
    83 ln -sf ../../lib/libhistory.so.5 /usr/lib/libhistory.so</userinput></screen>
     81<screen os="p"><userinput>rm -v /lib/lib{readline,history}.so
     82ln -svf ../../lib/libreadline.so.5 /usr/lib/libreadline.so
     83ln -svf ../../lib/libhistory.so.5 /usr/lib/libhistory.so</userinput></screen>
    8484
    8585  </sect2>
  • final-system/common/shadow.xml

    r287d7b9 rdd9906e  
    9999    </indexterm>
    100100
    101 <screen os="o"><userinput>cp etc/{limits,login.access} /etc</userinput></screen>
     101<screen os="o"><userinput>cp -v etc/{limits,login.access} /etc</userinput></screen>
    102102
    103103    <para id="shadow-login_defs" os="p">Instead of using the default
     
    128128    <para os="t">Move a misplaced program to its proper location:</para>
    129129
    130 <screen os="u"><userinput>mv /usr/bin/passwd /bin</userinput></screen>
     130<screen os="u"><userinput>mv -v /usr/bin/passwd /bin</userinput></screen>
    131131
    132132    <para os="v">Move Shadow's dynamic libraries to a more appropriate
    133133    location:</para>
    134134
    135 <screen os="w"><userinput>mv /lib/libshadow.*a /usr/lib
    136 rm /lib/libshadow.so
    137 ln -sf ../../lib/libshadow.so.0 /usr/lib/libshadow.so</userinput></screen>
     135<screen os="w"><userinput>mv -v /lib/libshadow.*a /usr/lib
     136rm -v /lib/libshadow.so
     137ln -svf ../../lib/libshadow.so.0 /usr/lib/libshadow.so</userinput></screen>
    138138
    139139    <para os="x">The <option>-D</option> option of the <command>useradd</command>
     
    141141    directory for it to work properly:</para>
    142142
    143 <screen os="y"><userinput>install -d /etc/default</userinput></screen>
     143<screen os="y"><userinput>install -dv /etc/default</userinput></screen>
    144144
    145145  </sect2>
  • final-system/common/temp-perl.xml

    r287d7b9 rdd9906e  
    5454    <para os="h">Install these tools and their libraries:</para>
    5555
    56 <screen os="i"><userinput>cp perl pod/pod2man /tools/bin
    57 install -d /tools/lib/perl5/&perl-version;
    58 cp -R lib/* /tools/lib/perl5/&perl-version;</userinput></screen>
     56<screen os="i"><userinput>cp -v perl pod/pod2man /tools/bin
     57install -dv /tools/lib/perl5/&perl-version;
     58cp -Rv lib/* /tools/lib/perl5/&perl-version;</userinput></screen>
    5959
    6060    <para os="j">Finally, create a necessary symlink:</para>
    6161
    62 <screen os="k"><userinput>ln -s /tools/bin/perl /usr/bin</userinput></screen>
     62<screen os="k"><userinput>ln -sv /tools/bin/perl /usr/bin</userinput></screen>
    6363
    6464  </sect2>
  • final-system/common/udev.xml

    r287d7b9 rdd9906e  
    8282    the configuration files here:</para>
    8383
    84 <screen os="k"><userinput>cp ../&udev-config-file; /etc/udev/rules.d/25-lfs.rules</userinput></screen>
     84<screen os="k"><userinput>cp -v ../&udev-config-file; /etc/udev/rules.d/25-lfs.rules</userinput></screen>
    8585
    8686    <para os="l">Install the documentation that explains how to create
    8787    Udev rules:</para>
    8888
    89 <screen os="m"><userinput>install -m644 -D docs/writing_udev_rules/index.html /usr/share/doc/udev-&udev-version;/index.html</userinput></screen>
     89<screen os="m"><userinput>install -v -m644 -D docs/writing_udev_rules/index.html /usr/share/doc/udev-&udev-version;/index.html</userinput></screen>
    9090
    9191    <para os="n">Run the <command>udevstart</command> program to create our full
  • final-system/common/vim.xml

    r287d7b9 rdd9906e  
    9090    symlink:</para>
    9191
    92 <screen os="m"><userinput>ln -s vim /usr/bin/vi</userinput></screen>
     92<screen os="m"><userinput>ln -sv vim /usr/bin/vi</userinput></screen>
    9393
    9494<para os="m1">By default, Vim's documentation is installed in
  • final-system/common/zlib.xml

    r287d7b9 rdd9906e  
    6060    to <filename class="directory">/usr/lib</filename>:</para>
    6161
    62 <screen os="i"><userinput>mv /usr/lib/libz.so.* /lib
    63 ln -sf ../../lib/libz.so.1 /usr/lib/libz.so</userinput></screen>
     62<screen os="i"><userinput>mv -v /usr/lib/libz.so.* /lib
     63ln -svf ../../lib/libz.so.1 /usr/lib/libz.so</userinput></screen>
    6464
    6565    <para os="j">Now we fix the permissions on the static library:</para>
    6666
    67 <screen os="k"><userinput>chmod 644 /usr/lib/libz.a</userinput></screen>
     67<screen os="k"><userinput>chmod -v 644 /usr/lib/libz.a</userinput></screen>
    6868
    6969  </sect2>
Note: See TracChangeset for help on using the changeset viewer.