Changeset 94e6142
- Timestamp:
- Feb 21, 2006, 2:27:39 AM (19 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 3793118a
- Parents:
- eb55250
- Location:
- BOOK
- Files:
-
- 61 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/chroot/common/changingowner.xml
reb55250 r94e6142 30 30 xpointer="xpointer(//*[@os='c'])"/> 31 31 32 <screen><userinput>chown -R 0:0 /tools33 chown -R 0:0 /cross-tools</userinput></screen>32 <screen><userinput>chown -Rv 0:0 /tools 33 chown -Rv 0:0 /cross-tools</userinput></screen> 34 34 35 35 <para>The commands use <parameter>0:0</parameter> instead of -
BOOK/chroot/common/creatingdirs.xml
reb55250 r94e6142 15 15 xpointer="xpointer(//*[@os='a'])"/> 16 16 17 <screen><userinput>install -d /{bin,boot,dev,etc/opt,home,lib,mnt}18 install -d /{sbin,srv,usr/local,var,opt,proc,sys}19 install -d /root -m 075020 install -d /tmp /var/tmp -m 177721 install -d /media/{floppy,cdrom}22 install -d /usr/{bin,include,lib,sbin,share,src}23 ln -s share/{man,doc,info} /usr24 install -d /usr/share/{doc,info,locale,man}25 install -d /usr/share/{misc,terminfo,zoneinfo}26 install -d /usr/share/man/man{1,2,3,4,5,6,7,8}27 install -d /usr/local/{bin,etc,include,lib,sbin,share,src}28 ln -s share/{man,doc,info} /usr/local29 install -d /usr/local/share/{doc,info,locale,man}30 install -d /usr/local/share/{misc,terminfo,zoneinfo}31 install -d /usr/local/share/man/man{1,2,3,4,5,6,7,8}32 install -d /var/{lock,log,mail,run,spool}33 install -d /var/{opt,cache,lib/{misc,locate},local}34 install -d /opt/{bin,doc,include,info}35 install -d /opt/{lib,man/man{1,2,3,4,5,6,7,8}}</userinput></screen>17 <screen><userinput>install -dv /{bin,boot,dev,etc/opt,home,lib,mnt} 18 install -dv /{sbin,srv,usr/local,var,opt,proc,sys} 19 install -dv /root -m 0750 20 install -dv /tmp /var/tmp -m 1777 21 install -dv /media/{floppy,cdrom} 22 install -dv /usr/{bin,include,lib,sbin,share,src} 23 ln -sv share/{man,doc,info} /usr 24 install -dv /usr/share/{doc,info,locale,man} 25 install -dv /usr/share/{misc,terminfo,zoneinfo} 26 install -dv /usr/share/man/man{1,2,3,4,5,6,7,8} 27 install -dv /usr/local/{bin,etc,include,lib,sbin,share,src} 28 ln -sv share/{man,doc,info} /usr/local 29 install -dv /usr/local/share/{doc,info,locale,man} 30 install -dv /usr/local/share/{misc,terminfo,zoneinfo} 31 install -dv /usr/local/share/man/man{1,2,3,4,5,6,7,8} 32 install -dv /var/{lock,log,mail,run,spool} 33 install -dv /var/{opt,cache,lib/{misc,locate},local} 34 install -dv /opt/{bin,doc,include,info} 35 install -dv /opt/{lib,man/man{1,2,3,4,5,6,7,8}}</userinput></screen> 36 36 37 37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/chroot/common/devices.xml
reb55250 r94e6142 41 41 class="directory">/dev</filename>:</para> 42 42 43 <screen><userinput>mount -n - t tmpfs none /dev</userinput></screen>43 <screen><userinput>mount -n -vt tmpfs none /dev</userinput></screen> 44 44 45 45 <para>The Udev package is what actually creates the devices in the … … 56 56 mknod -m 444 /dev/random c 1 8 57 57 mknod -m 444 /dev/urandom c 1 9 58 chown root:tty /dev/{console,ptmx,tty}</userinput></screen>58 chown -v root:tty /dev/{console,ptmx,tty}</userinput></screen> 59 59 60 60 <para>There are some symlinks and directories required by LFS that … … 63 63 and directories need to be created here:</para> 64 64 65 <screen><userinput>ln -s /proc/self/fd /dev/fd66 ln -s /proc/self/fd/0 /dev/stdin67 ln -s /proc/self/fd/1 /dev/stdout68 ln -s /proc/self/fd/2 /dev/stderr69 ln -s /proc/kcore /dev/core70 mkdir /dev/pts71 mkdir /dev/shm</userinput></screen>65 <screen><userinput>ln -sv /proc/self/fd /dev/fd 66 ln -sv /proc/self/fd/0 /dev/stdin 67 ln -sv /proc/self/fd/1 /dev/stdout 68 ln -sv /proc/self/fd/2 /dev/stderr 69 ln -sv /proc/kcore /dev/core 70 mkdir -v /dev/pts 71 mkdir -v /dev/shm</userinput></screen> 72 72 73 73 <para>Finally, mount the proper virtual (kernel) file systems on the 74 74 newly-created directories:</para> 75 75 76 <screen><userinput>mount - t devpts -o gid=4,mode=620 none /dev/pts77 mount - t tmpfs none /dev/shm</userinput></screen>76 <screen><userinput>mount -vt devpts -o gid=4,mode=620 none /dev/pts 77 mount -vt tmpfs none /dev/shm</userinput></screen> 78 78 79 79 <para>The <command>mount</command> commands executed above may result -
BOOK/chroot/common/kernfs.xml
reb55250 r94e6142 26 26 be mounted:</para> 27 27 28 <screen><userinput>mkdir -p $LFS/{proc,sys}</userinput></screen>28 <screen><userinput>mkdir -pv $LFS/{proc,sys}</userinput></screen> 29 29 30 30 <para>Now mount the file systems:</para> 31 31 32 <screen><userinput>mount - t proc proc $LFS/proc32 <screen><userinput>mount -vt proc proc $LFS/proc 33 33 mount -t sysfs sysfs $LFS/sys</userinput></screen> 34 34 … … 41 41 mount</quote> for each of these now:</para> 42 42 43 <screen><userinput>mount -f - t tmpfs tmpfs $LFS/dev44 mount -f - t tmpfs tmpfs $LFS/dev/shm45 mount -f - t devpts -o gid=10,mode=620 devpts $LFS/dev/pts</userinput></screen>43 <screen><userinput>mount -f -vt tmpfs tmpfs $LFS/dev 44 mount -f -vt tmpfs tmpfs $LFS/dev/shm 45 mount -f -vt devpts -o gid=10,mode=620 devpts $LFS/dev/pts</userinput></screen> 46 46 47 47 </sect1> -
BOOK/chroot/common/pwdgroup.xml
reb55250 r94e6142 116 116 117 117 <screen><userinput>touch /var/run/utmp /var/log/{btmp,lastlog,wtmp} 118 chgrp utmp /var/run/utmp /var/log/lastlog119 chmod 664 /var/run/utmp /var/log/lastlog120 chmod 600 /var/log/btmp</userinput></screen>118 chgrp -v utmp /var/run/utmp /var/log/lastlog 119 chmod -v 664 /var/run/utmp /var/log/lastlog 120 chmod -v 600 /var/log/btmp</userinput></screen> 121 121 122 122 <para>The <filename>/var/run/utmp</filename> file records the users that -
BOOK/chroot/common/util-linux.xml
reb55250 r94e6142 35 35 xpointer="xpointer(//*[@os='ba'])"/> 36 36 37 <screen os="ca"><userinput>cp configure configure.orig37 <screen os="ca"><userinput>cp -v configure configure.orig 38 38 sed -e 's@/usr/include@/tools/include@g' configure.orig > configure</userinput></screen> 39 39 … … 56 56 <para os="cg">Copy these programs to the temporary tools directory:</para> 57 57 58 <screen os="ch"><userinput>cp mount/{,u}mount text-utils/more /tools/bin</userinput></screen>58 <screen os="ch"><userinput>cp -v mount/{,u}mount text-utils/more /tools/bin</userinput></screen> 59 59 60 60 </sect2> -
BOOK/chroot/mips/creatingdirs.xml
reb55250 r94e6142 15 15 xpointer="xpointer(//*[@os='a'])"/> 16 16 17 <screen><userinput>install -d /{bin,boot,dev,etc/opt,home,lib,mnt}18 install -d /{sbin,srv,usr/local,var,opt,proc,sys}19 install -d /root -m 075020 install -d /tmp /var/tmp -m 177721 install -d /media/{floppy,cdrom}22 install -d /usr/{bin,include,lib,sbin,share,src}23 ln -s share/{man,doc,info} /usr24 install -d /usr/share/{doc,info,locale,man}25 install -d /usr/share/{misc,terminfo,zoneinfo}26 install -d /usr/share/man/man{1,2,3,4,5,6,7,8}27 install -d /usr/local/{bin,etc,include,lib,sbin,share,src}28 ln -s share/{man,doc,info} /usr/local29 install -d /usr/local/share/{doc,info,locale,man}30 install -d /usr/local/share/{misc,terminfo,zoneinfo}31 install -d /usr/local/share/man/man{1,2,3,4,5,6,7,8}32 install -d /var/{lock,log,mail,run,spool}33 install -d /var/{opt,cache,lib/{misc,locate},local}34 install -d /opt/{bin,doc,include,info}35 install -d /opt/{lib,man/man{1,2,3,4,5,6,7,8}}</userinput></screen>17 <screen><userinput>install -dv /{bin,boot,dev,etc/opt,home,lib,mnt} 18 install -dv /{sbin,srv,usr/local,var,opt,proc,sys} 19 install -dv /root -m 0750 20 install -dv /tmp /var/tmp -m 1777 21 install -dv /media/{floppy,cdrom} 22 install -dv /usr/{bin,include,lib,sbin,share,src} 23 ln -sv share/{man,doc,info} /usr 24 install -dv /usr/share/{doc,info,locale,man} 25 install -dv /usr/share/{misc,terminfo,zoneinfo} 26 install -dv /usr/share/man/man{1,2,3,4,5,6,7,8} 27 install -dv /usr/local/{bin,etc,include,lib,sbin,share,src} 28 ln -sv share/{man,doc,info} /usr/local 29 install -dv /usr/local/share/{doc,info,locale,man} 30 install -dv /usr/local/share/{misc,terminfo,zoneinfo} 31 install -dv /usr/local/share/man/man{1,2,3,4,5,6,7,8} 32 install -dv /var/{lock,log,mail,run,spool} 33 install -dv /var/{opt,cache,lib/{misc,locate},local} 34 install -dv /opt/{bin,doc,include,info} 35 install -dv /opt/{lib,man/man{1,2,3,4,5,6,7,8}}</userinput></screen> 36 36 37 37 <para os="m1">These entries are needed for the RaQ2 bootloader. Only use these … … 39 39 40 40 <screen os="m2"><userinput>cd /boot 41 ln -s f . boot</userinput></screen>41 ln -svf . boot</userinput></screen> 42 42 43 43 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/chroot/mips64/creatingdirs.xml
reb55250 r94e6142 15 15 xpointer="xpointer(//*[@os='a'])"/> 16 16 17 <screen><userinput>install -d /{bin,boot,dev,etc/opt,home,lib{,32,64},mnt}18 install -d /{sbin,srv,usr/local,var,opt,proc,sys}19 install -d /root -m 075020 install -d /tmp /var/tmp -m 177721 install -d /media/{floppy,cdrom}22 install -d /usr/{bin,include,lib{,32,64},sbin,share,src}23 ln -s share/{man,doc,info} /usr24 install -d /usr/share/{doc,info,locale,man}25 install -d /usr/share/{misc,terminfo,zoneinfo}26 install -d /usr/share/man/man{1,2,3,4,5,6,7,8}27 install -d /usr/local/{bin,etc,include,lib{,32,64},sbin,share,src}28 ln -s share/{man,doc,info} /usr/local29 install -d /usr/local/share/{doc,info,locale,man}30 install -d /usr/local/share/{misc,terminfo,zoneinfo}31 install -d /usr/local/share/man/man{1,2,3,4,5,6,7,8}32 install -d /var/{lock,log,mail,run,spool}33 install -d /var/{opt,cache,lib{,32,64}/{misc,locate},local}34 install -d /opt/{bin,doc,include,info}35 install -d /opt/{lib{,32,64},man/man{1,2,3,4,5,6,7,8}}36 install -d /usr/lib/locale37 ln -s ../lib/locale /usr/lib3238 ln -s ../lib/locale /usr/lib64</userinput></screen>17 <screen><userinput>install -dv /{bin,boot,dev,etc/opt,home,lib{,32,64},mnt} 18 install -dv /{sbin,srv,usr/local,var,opt,proc,sys} 19 install -dv /root -m 0750 20 install -dv /tmp /var/tmp -m 1777 21 install -dv /media/{floppy,cdrom} 22 install -dv /usr/{bin,include,lib{,32,64},sbin,share,src} 23 ln -sv share/{man,doc,info} /usr 24 install -dv /usr/share/{doc,info,locale,man} 25 install -dv /usr/share/{misc,terminfo,zoneinfo} 26 install -dv /usr/share/man/man{1,2,3,4,5,6,7,8} 27 install -dv /usr/local/{bin,etc,include,lib{,32,64},sbin,share,src} 28 ln -sv share/{man,doc,info} /usr/local 29 install -dv /usr/local/share/{doc,info,locale,man} 30 install -dv /usr/local/share/{misc,terminfo,zoneinfo} 31 install -dv /usr/local/share/man/man{1,2,3,4,5,6,7,8} 32 install -dv /var/{lock,log,mail,run,spool} 33 install -dv /var/{opt,cache,lib{,32,64}/{misc,locate},local} 34 install -dv /opt/{bin,doc,include,info} 35 install -dv /opt/{lib{,32,64},man/man{1,2,3,4,5,6,7,8}} 36 install -dv /usr/lib/locale 37 ln -sv ../lib/locale /usr/lib32 38 ln -sv ../lib/locale /usr/lib64</userinput></screen> 39 39 40 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/chroot/multilib/creatingdirs.xml
reb55250 r94e6142 15 15 xpointer="xpointer(//*[@os='a'])"/> 16 16 17 <screen><userinput>install -d /{bin,boot,dev,etc/opt,home,lib{,64},mnt}18 install -d /{sbin,srv,usr/local,var,opt,proc,sys}19 install -d /root -m 075020 install -d /tmp /var/tmp -m 177721 install -d /media/{floppy,cdrom}22 install -d /usr/{bin,include,lib{,64},sbin,share,src}23 ln -s share/{man,doc,info} /usr24 install -d /usr/share/{doc,info,locale,man}25 install -d /usr/share/{misc,terminfo,zoneinfo}26 install -d /usr/share/man/man{1,2,3,4,5,6,7,8}27 install -d /usr/local/{bin,etc,include,lib{,64},sbin,share,src}28 ln -s share/{man,doc,info} /usr/local29 install -d /usr/local/share/{doc,info,locale,man}30 install -d /usr/local/share/{misc,terminfo,zoneinfo}31 install -d /usr/local/share/man/man{1,2,3,4,5,6,7,8}32 install -d /var/{lock,log,mail,run,spool}33 install -d /var/{opt,cache,lib{,64}/{misc,locate},local}34 install -d /opt/{bin,doc,include,info}35 install -d /opt/{lib{,64},man/man{1,2,3,4,5,6,7,8}}36 install -d /usr/lib/locale37 ln -s ../lib/locale /usr/lib64</userinput></screen>17 <screen><userinput>install -dv /{bin,boot,dev,etc/opt,home,lib{,64},mnt} 18 install -dv /{sbin,srv,usr/local,var,opt,proc,sys} 19 install -dv /root -m 0750 20 install -dv /tmp /var/tmp -m 1777 21 install -dv /media/{floppy,cdrom} 22 install -dv /usr/{bin,include,lib{,64},sbin,share,src} 23 ln -sv share/{man,doc,info} /usr 24 install -dv /usr/share/{doc,info,locale,man} 25 install -dv /usr/share/{misc,terminfo,zoneinfo} 26 install -dv /usr/share/man/man{1,2,3,4,5,6,7,8} 27 install -dv /usr/local/{bin,etc,include,lib{,64},sbin,share,src} 28 ln -sv share/{man,doc,info} /usr/local 29 install -dv /usr/local/share/{doc,info,locale,man} 30 install -dv /usr/local/share/{misc,terminfo,zoneinfo} 31 install -dv /usr/local/share/man/man{1,2,3,4,5,6,7,8} 32 install -dv /var/{lock,log,mail,run,spool} 33 install -dv /var/{opt,cache,lib{,64}/{misc,locate},local} 34 install -dv /opt/{bin,doc,include,info} 35 install -dv /opt/{lib{,64},man/man{1,2,3,4,5,6,7,8}} 36 install -dv /usr/lib/locale 37 ln -sv ../lib/locale /usr/lib64</userinput></screen> 38 38 39 39 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/common/adjusting.xml
reb55250 r94e6142 54 54 files:</para> 55 55 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> 57 57 58 58 </caution> -
BOOK/final-system/common/bash.xml
reb55250 r94e6142 37 37 install HTML documentation, issue the following commands:</para> 38 38 39 <screen os="b"><userinput>tar - zxf ../bash-doc-&bash-doc-version;.tar.gz &&39 <screen os="b"><userinput>tar -xvf ../bash-doc-&bash-doc-version;.tar.gz && 40 40 sed -i "s|htmldir = @htmldir@|htmldir = /usr/share/doc/bash-&bash-version;|" \ 41 41 Makefile.in</userinput></screen> -
BOOK/final-system/common/binutils.xml
reb55250 r94e6142 53 53 source directory in a dedicated build directory:</para> 54 54 55 <screen os="h"><userinput>mkdir ../binutils-build55 <screen os="h"><userinput>mkdir -v ../binutils-build 56 56 cd ../binutils-build</userinput></screen> 57 57 … … 108 108 file that is needed by some packages:</para> 109 109 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> 111 111 112 112 </sect2> -
BOOK/final-system/common/bzip2.xml
reb55250 r94e6142 66 66 67 67 <para os="f">If reinstalling Bzip2, perform 68 <userinput>rm - f /usr/bin/bz*</userinput> first, otherwise the68 <userinput>rm -vf /usr/bin/bz*</userinput> first, otherwise the 69 69 following <command>make install</command> will fail.</para> 70 70 … … 77 77 some necessary symbolic links, and clean up:</para> 78 78 79 <screen os="j"><userinput>cp bzip2-shared /bin/bzip280 cp -a libbz2.so* /lib81 ln -s ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so82 rm /usr/bin/{bunzip2,bzcat,bzip2}83 ln -s bzip2 /bin/bunzip284 ln -s bzip2 /bin/bzcat</userinput></screen>79 <screen os="j"><userinput>cp -v bzip2-shared /bin/bzip2 80 cp -av libbz2.so* /lib 81 ln -sv ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so 82 rm -v /usr/bin/{bunzip2,bzcat,bzip2} 83 ln -sv bzip2 /bin/bunzip2 84 ln -sv bzip2 /bin/bzcat</userinput></screen> 85 85 86 86 </sect2> -
BOOK/final-system/common/coreutils.xml
reb55250 r94e6142 83 83 <para os="r">Move programs to the locations specified by the FHS:</para> 84 84 85 <screen os="s"><userinput>mv /usr/bin/{[,basename,cat,chgrp,chmod,chown,cp} /bin86 mv /usr/bin/{date,dd,df,echo,false,hostname,install,ln} /bin87 mv /usr/bin/{ls,mkdir,mknod,mv,nice,pwd,readlink,rm,rmdir,sync} /bin88 mv /usr/bin/{stty,test,touch,true,uname} /bin89 mv /usr/bin/chroot /usr/sbin90 ln -s f ../../bin/install /usr/bin</userinput></screen>85 <screen os="s"><userinput>mv -v /usr/bin/{[,basename,cat,chgrp,chmod,chown,cp} /bin 86 mv -v /usr/bin/{date,dd,df,echo,false,hostname,install,ln} /bin 87 mv -v /usr/bin/{ls,mkdir,mknod,mv,nice,pwd,readlink,rm,rmdir,sync} /bin 88 mv -v /usr/bin/{stty,test,touch,true,uname} /bin 89 mv -v /usr/bin/chroot /usr/sbin 90 ln -svf ../../bin/install /usr/bin</userinput></screen> 91 91 92 92 <para os="t">Some of the scripts in the LFS-Bootscripts package depend on -
BOOK/final-system/common/e2fsprogs.xml
reb55250 r94e6142 40 40 built in a subdirectory of the source tree:</para> 41 41 42 <screen os="b"><userinput>mkdir build42 <screen os="b"><userinput>mkdir -v build 43 43 cd build</userinput></screen> 44 44 -
BOOK/final-system/common/flex.xml
reb55250 r94e6142 67 67 this:</para> 68 68 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> 70 70 71 71 <para os="n">A few programs do not know about <command>flex</command> yet and … … 83 83 # End /usr/bin/lex</literal> 84 84 EOF 85 chmod 755 /usr/bin/lex</userinput></screen>85 chmod -v 755 /usr/bin/lex</userinput></screen> 86 86 87 87 </sect2> -
BOOK/final-system/common/gcc.xml
reb55250 r94e6142 53 53 directory in a dedicated build directory:</para> 54 54 55 <screen os="g"><userinput>mkdir ../gcc-build55 <screen os="g"><userinput>mkdir -v ../gcc-build 56 56 cd ../gcc-build</userinput></screen> 57 57 … … 99 99 To support those packages, create this symlink:</para> 100 100 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> 102 102 103 103 <para os="w">Many packages use the name <command>cc</command> to call the C 104 104 compiler. To satisfy those packages, create a symlink:</para> 105 105 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> 107 107 108 108 </sect2> -
BOOK/final-system/common/glibc.xml
reb55250 r94e6142 63 63 source directory in a dedicated build directory:</para> 64 64 65 <screen os="f"><userinput>mkdir ../glibc-build65 <screen os="f"><userinput>mkdir -v ../glibc-build 66 66 cd ../glibc-build</userinput></screen> 67 67 … … 169 169 successfully:</para> 170 170 171 <screen><userinput>mkdir -p /usr/lib/locale171 <screen><userinput>mkdir -pv /usr/lib/locale 172 172 localedef -i de_DE -f ISO-8859-1 de_DE 173 173 localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro … … 245 245 <filename>/etc/localtime</filename> file by running:</para> 246 246 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> \ 248 248 /etc/localtime</userinput></screen> 249 249 -
BOOK/final-system/common/groff.xml
reb55250 r94e6142 57 57 will not work properly without the following symlinks:</para> 58 58 59 <screen os="j"><userinput>ln -s soelim /usr/bin/zsoelim60 ln -s eqn /usr/bin/geqn61 ln -s tbl /usr/bin/gtbl</userinput></screen>59 <screen os="j"><userinput>ln -sv soelim /usr/bin/zsoelim 60 ln -sv eqn /usr/bin/geqn 61 ln -sv tbl /usr/bin/gtbl</userinput></screen> 62 62 63 63 </sect2> -
BOOK/final-system/common/gzip.xml
reb55250 r94e6142 65 65 used symlinks to it:</para> 66 66 67 <screen os="j"><userinput>mv /usr/bin/gzip /bin68 rm /usr/bin/{gunzip,zcat}69 ln -s gzip /bin/gunzip70 ln -s gzip /bin/zcat71 ln -s gzip /bin/compress72 ln -s gunzip /bin/uncompress</userinput></screen>67 <screen os="j"><userinput>mv -v /usr/bin/gzip /bin 68 rm -v /usr/bin/{gunzip,zcat} 69 ln -sv gzip /bin/gunzip 70 ln -sv gzip /bin/zcat 71 ln -sv gzip /bin/compress 72 ln -sv gunzip /bin/uncompress</userinput></screen> 73 73 74 74 </sect2> -
BOOK/final-system/common/hotplug.xml
reb55250 r94e6142 45 45 to be using the script included in the LFS-Bootscripts package:</para> 46 46 47 <screen os="d"><userinput>rm -r f /etc/init.d</userinput></screen>47 <screen os="d"><userinput>rm -rvf /etc/init.d</userinput></screen> 48 48 49 49 <para os="e">Network device hotplugging is not yet supported by the … … 51 51 hotplug agent:</para> 52 52 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> 54 54 55 55 <para os="g">Create a directory for storing firmware that can be loaded by 56 56 <command>hotplug</command>:</para> 57 57 58 <screen os="h"><userinput>mkdir /lib/firmware</userinput></screen>58 <screen os="h"><userinput>mkdir -v /lib/firmware</userinput></screen> 59 59 60 60 </sect2> -
BOOK/final-system/common/inetutils.xml
reb55250 r94e6142 109 109 place:</para> 110 110 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> 112 112 113 113 </sect2> -
BOOK/final-system/common/less.xml
reb55250 r94e6142 63 63 <para os="i">Move less to /bin:</para> 64 64 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> 66 66 67 67 </sect2> -
BOOK/final-system/common/libtool.xml
reb55250 r94e6142 54 54 class="libraryfile">libltdl</filename> data files:</para> 55 55 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> 57 57 58 58 </sect2> -
BOOK/final-system/common/man.xml
reb55250 r94e6142 54 54 <command>makewhatis</command> script:</para> 55 55 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> 57 57 58 58 <para os="h">Prepare Man for compilation:</para> -
BOOK/final-system/common/ncurses.xml
reb55250 r94e6142 52 52 <para os="h">Move the Ncurses static libraries to the proper locations:</para> 53 53 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> 55 55 56 56 <para os="j">Create symlinks in <filename class="directory">/usr/lib:</filename></para> 57 57 58 <screen os="k"><userinput>rm /lib/lib{ncurses,menu,panel,form,curses}.so59 ln -s f ../../lib/libncurses.so.5 /usr/lib/libcurses.so60 ln -s f ../../lib/libncurses.so.5 /usr/lib/libncurses.so61 ln -s f ../../lib/libmenu.so.5 /usr/lib/libmenu.so62 ln -s f ../../lib/libpanel.so.5 /usr/lib/libpanel.so63 ln -s f ../../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 59 ln -svf ../../lib/libncurses.so.5 /usr/lib/libcurses.so 60 ln -svf ../../lib/libncurses.so.5 /usr/lib/libncurses.so 61 ln -svf ../../lib/libmenu.so.5 /usr/lib/libmenu.so 62 ln -svf ../../lib/libpanel.so.5 /usr/lib/libpanel.so 63 ln -svf ../../lib/libform.so.5 /usr/lib/libform.so</userinput></screen> 64 64 65 65 <para os="l">Give the Ncurses libraries execute permissions:</para> -
BOOK/final-system/common/psmisc.xml
reb55250 r94e6142 67 67 class="directory">/usr/bin</filename>:</para> 68 68 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> 70 70 71 71 <para os="j">By default, Psmisc's <command>pidof</command> program is not installed. … … 75 75 of Psmisc by creating the following symlink:</para> 76 76 77 <screen os="k"><userinput>ln -s killall /bin/pidof</userinput></screen>77 <screen os="k"><userinput>ln -sv killall /bin/pidof</userinput></screen> 78 78 79 79 </sect2> -
BOOK/final-system/common/readline.xml
reb55250 r94e6142 69 69 permissions:</para> 70 70 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> 72 72 73 73 <para os="m">Now move the static libraries to a more appropriate location:</para> 74 74 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> 76 76 77 77 <para os="o">Next, remove the <filename class="extension">.so</filename> … … 79 79 <filename class="directory">/usr/lib</filename>.</para> 80 80 81 <screen os="p"><userinput>rm /lib/lib{readline,history}.so82 ln -s f ../../lib/libreadline.so.5 /usr/lib/libreadline.so83 ln -s f ../../lib/libhistory.so.5 /usr/lib/libhistory.so</userinput></screen>81 <screen os="p"><userinput>rm -v /lib/lib{readline,history}.so 82 ln -svf ../../lib/libreadline.so.5 /usr/lib/libreadline.so 83 ln -svf ../../lib/libhistory.so.5 /usr/lib/libhistory.so</userinput></screen> 84 84 85 85 </sect2> -
BOOK/final-system/common/shadow.xml
reb55250 r94e6142 99 99 </indexterm> 100 100 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> 102 102 103 103 <para id="shadow-login_defs" os="p">Instead of using the default … … 128 128 <para os="t">Move a misplaced program to its proper location:</para> 129 129 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> 131 131 132 132 <para os="v">Move Shadow's dynamic libraries to a more appropriate 133 133 location:</para> 134 134 135 <screen os="w"><userinput>mv /lib/libshadow.*a /usr/lib136 rm /lib/libshadow.so137 ln -s f ../../lib/libshadow.so.0 /usr/lib/libshadow.so</userinput></screen>135 <screen os="w"><userinput>mv -v /lib/libshadow.*a /usr/lib 136 rm -v /lib/libshadow.so 137 ln -svf ../../lib/libshadow.so.0 /usr/lib/libshadow.so</userinput></screen> 138 138 139 139 <para os="x">The <option>-D</option> option of the <command>useradd</command> … … 141 141 directory for it to work properly:</para> 142 142 143 <screen os="y"><userinput>install -d /etc/default</userinput></screen>143 <screen os="y"><userinput>install -dv /etc/default</userinput></screen> 144 144 145 145 </sect2> -
BOOK/final-system/common/temp-perl.xml
reb55250 r94e6142 54 54 <para os="h">Install these tools and their libraries:</para> 55 55 56 <screen os="i"><userinput>cp perl pod/pod2man /tools/bin57 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 57 install -dv /tools/lib/perl5/&perl-version; 58 cp -Rv lib/* /tools/lib/perl5/&perl-version;</userinput></screen> 59 59 60 60 <para os="j">Finally, create a necessary symlink:</para> 61 61 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> 63 63 64 64 </sect2> -
BOOK/final-system/common/udev.xml
reb55250 r94e6142 82 82 the configuration files here:</para> 83 83 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> 85 85 86 86 <para os="l">Install the documentation that explains how to create 87 87 Udev rules:</para> 88 88 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> 90 90 91 91 <para os="n">Run the <command>udevstart</command> program to create our full -
BOOK/final-system/common/vim.xml
reb55250 r94e6142 90 90 symlink:</para> 91 91 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> 93 93 94 94 <para os="m1">By default, Vim's documentation is installed in -
BOOK/final-system/common/zlib.xml
reb55250 r94e6142 60 60 to <filename class="directory">/usr/lib</filename>:</para> 61 61 62 <screen os="i"><userinput>mv /usr/lib/libz.so.* /lib63 ln -s f ../../lib/libz.so.1 /usr/lib/libz.so</userinput></screen>62 <screen os="i"><userinput>mv -v /usr/lib/libz.so.* /lib 63 ln -svf ../../lib/libz.so.1 /usr/lib/libz.so</userinput></screen> 64 64 65 65 <para os="j">Now we fix the permissions on the static library:</para> 66 66 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> 68 68 69 69 </sect2> -
BOOK/final-system/mips64/file-64bit.xml
reb55250 r94e6142 40 40 href="file.xml" 41 41 xpointer="xpointer(//*[@os='c'])"/> 42 <para>Prepare File for compilation:</para>43 42 44 43 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 45 44 href="file.xml" 46 45 xpointer="xpointer(//*[@os='d'])"/> 47 <para>Prepare File for compilation:</para>48 46 49 47 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 50 48 href="file.xml" 51 49 xpointer="xpointer(//*[@os='e'])"/> 52 <para>Prepare File for compilation:</para>53 50 54 51 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 55 52 href="file.xml" 56 53 xpointer="xpointer(//*[@os='f'])"/> 57 <para>Prepare File for compilation:</para>58 54 59 55 </sect2> -
BOOK/final-system/mips64/file-n32.xml
reb55250 r94e6142 45 45 href="file.xml" 46 46 xpointer="xpointer(//*[@os='d'])"/> 47 <para>Compile the package:</para>48 47 49 48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/mips64/flex-n32.xml
reb55250 r94e6142 74 74 this:</para> 75 75 76 <screen os="m"><userinput>ln -s libfl.a /usr/lib32/libl.a</userinput></screen>76 <screen os="m"><userinput>ln -sv libfl.a /usr/lib32/libl.a</userinput></screen> 77 77 78 78 </sect2> -
BOOK/final-system/mips64/glibc-n32.xml
reb55250 r94e6142 112 112 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 113 113 href="../multilib/glibc-64bit.xml" 114 xpointer="xpointer(//*[@os=' o'])"/>114 xpointer="xpointer(//*[@os='p'])"/> 115 115 116 116 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/multilib/bzip2-64bit.xml
reb55250 r94e6142 78 78 xpointer="xpointer(//*[@os='i'])"/> 79 79 80 <screen os="j"><userinput>cp bzip2-shared /bin/bzip281 cp -a libbz2.so* /lib6482 ln -s ../../lib64/libbz2.so.1.0 /usr/lib64/libbz2.so83 rm /usr/bin/{bunzip2,bzcat,bzip2}84 ln -s bzip2 /bin/bunzip285 ln -s bzip2 /bin/bzcat</userinput></screen>80 <screen os="j"><userinput>cp -v bzip2-shared /bin/bzip2 81 cp -av libbz2.so* /lib64 82 ln -sv ../../lib64/libbz2.so.1.0 /usr/lib64/libbz2.so 83 rm -v /usr/bin/{bunzip2,bzcat,bzip2} 84 ln -sv bzip2 /bin/bunzip2 85 ln -sv bzip2 /bin/bzcat</userinput></screen> 86 86 87 87 </sect2> -
BOOK/final-system/multilib/bzip2-n32.xml
reb55250 r94e6142 49 49 xpointer="xpointer(//*[@os='i'])"/> 50 50 51 <screen os="j"><userinput>cp libbz2.a /usr/lib3252 cp -a libbz2.so* /lib3253 ln -s ../../lib32/libbz2.so.1.0 /usr/lib32/libbz2.so</userinput></screen>51 <screen os="j"><userinput>cp -v libbz2.a /usr/lib32 52 cp -av libbz2.so* /lib32 53 ln -sv ../../lib32/libbz2.so.1.0 /usr/lib32/libbz2.so</userinput></screen> 54 54 55 55 </sect2> -
BOOK/final-system/multilib/bzip2.xml
reb55250 r94e6142 43 43 some necessary symbolic links, and clean up:</para> 44 44 45 <screen os="j"><userinput>cp libbz2.a /usr/lib46 cp -a libbz2.so* /lib47 ln -s ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so</userinput></screen>45 <screen os="j"><userinput>cp -v libbz2.a /usr/lib 46 cp -av libbz2.so* /lib 47 ln -sv ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so</userinput></screen> 48 48 49 49 </sect2> -
BOOK/final-system/multilib/flex-64bit.xml
reb55250 r94e6142 70 70 this:</para> 71 71 72 <screen os="m"><userinput>ln -s libfl.a /usr/lib64/libl.a</userinput></screen>72 <screen os="m"><userinput>ln -sv libfl.a /usr/lib64/libl.a</userinput></screen> 73 73 74 74 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/multilib/glibc-64bit.xml
reb55250 r94e6142 139 139 140 140 <sect2 id="conf-ld" role="configuration"> 141 <title>Configuring Dynamic Loader</title>141 <title>Configuring The Dynamic Loader</title> 142 142 143 143 <indexterm zone="conf-ld"> -
BOOK/final-system/multilib/ncurses-64bit.xml
reb55250 r94e6142 54 54 xpointer="xpointer(//*[@os='h'])"/> 55 55 56 <screen os="i"><userinput>mv /lib64/lib{panel,menu,form,ncurses,ncurses++,curses}.a /usr/lib64</userinput></screen>56 <screen os="i"><userinput>mv -v /lib64/lib{panel,menu,form,ncurses,ncurses++,curses}.a /usr/lib64</userinput></screen> 57 57 58 58 <para os="j">Create symlinks in <filename class="directory">/usr/lib64:</filename></para> 59 59 60 <screen os="k"><userinput>rm /lib64/lib{ncurses,menu,panel,form,curses}.so61 ln -s f ../../lib64/libncurses.so.5 /usr/lib64/libncurses.so62 ln -s f ../../lib64/libncurses.so.5 /usr/lib64/libcurses.so63 ln -s f ../../lib64/libmenu.so.5 /usr/lib64/libmenu.so64 ln -s f ../../lib64/libpanel.so.5 /usr/lib64/libpanel.so65 ln -s f ../../lib64/libform.so.5 /usr/lib64/libform.so</userinput></screen>60 <screen os="k"><userinput>rm -v /lib64/lib{ncurses,menu,panel,form,curses}.so 61 ln -svf ../../lib64/libncurses.so.5 /usr/lib64/libncurses.so 62 ln -svf ../../lib64/libncurses.so.5 /usr/lib64/libcurses.so 63 ln -svf ../../lib64/libmenu.so.5 /usr/lib64/libmenu.so 64 ln -svf ../../lib64/libpanel.so.5 /usr/lib64/libpanel.so 65 ln -svf ../../lib64/libform.so.5 /usr/lib64/libform.so</userinput></screen> 66 66 67 67 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/multilib/ncurses-n32.xml
reb55250 r94e6142 55 55 xpointer="xpointer(//*[@os='h'])"/> 56 56 57 <screen os="i"><userinput>mv /lib32/lib{panel,menu,form,ncurses,ncurses++,curses}.a /usr/lib32</userinput></screen>57 <screen os="i"><userinput>mv -v /lib32/lib{panel,menu,form,ncurses,ncurses++,curses}.a /usr/lib32</userinput></screen> 58 58 59 59 <para os="j">Create symlinks in <filename class="directory">/usr/lib32:</filename></para> 60 60 61 <screen os="k"><userinput>rm /lib32/lib{ncurses,menu,panel,form,curses}.so62 ln -s f ../../lib32/libncurses.so.5 /usr/lib32/libncurses.so63 ln -s f ../../lib32/libncurses.so.5 /usr/lib32/libcurses.so64 ln -s f ../../lib32/libmenu.so.5 /usr/lib32/libmenu.so65 ln -s f ../../lib32/libpanel.so.5 /usr/lib32/libpanel.so66 ln -s f ../../lib32/libform.so.5 /usr/lib32/libform.so</userinput></screen>61 <screen os="k"><userinput>rm -v /lib32/lib{ncurses,menu,panel,form,curses}.so 62 ln -svf ../../lib32/libncurses.so.5 /usr/lib32/libncurses.so 63 ln -svf ../../lib32/libncurses.so.5 /usr/lib32/libcurses.so 64 ln -svf ../../lib32/libmenu.so.5 /usr/lib32/libmenu.so 65 ln -svf ../../lib32/libpanel.so.5 /usr/lib32/libpanel.so 66 ln -svf ../../lib32/libform.so.5 /usr/lib32/libform.so</userinput></screen> 67 67 68 68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/multilib/readline-64bit.xml
reb55250 r94e6142 65 65 xpointer="xpointer(//*[@os='k'])"/> 66 66 67 <screen os="l"><userinput>chmod 755 /lib64/lib{readline,history}.so*</userinput></screen>67 <screen os="l"><userinput>chmod -v 755 /lib64/lib{readline,history}.so*</userinput></screen> 68 68 69 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 71 71 xpointer="xpointer(//*[@os='m'])"/> 72 72 73 <screen os="n"><userinput>mv /lib64/lib{readline,history}.a /usr/lib64</userinput></screen>73 <screen os="n"><userinput>mv -v /lib64/lib{readline,history}.a /usr/lib64</userinput></screen> 74 74 75 75 <para os="o">Next, remove the <filename class="extension">.so</filename> … … 77 77 <filename class="directory">/usr/lib64</filename>.</para> 78 78 79 <screen os="p"><userinput>rm /lib64/lib{readline,history}.so80 ln -s f ../../lib64/libreadline.so.5 /usr/lib64/libreadline.so81 ln -s f ../../lib64/libhistory.so.5 /usr/lib64/libhistory.so</userinput></screen>79 <screen os="p"><userinput>rm -v /lib64/lib{readline,history}.so 80 ln -svf ../../lib64/libreadline.so.5 /usr/lib64/libreadline.so 81 ln -svf ../../lib64/libhistory.so.5 /usr/lib64/libhistory.so</userinput></screen> 82 82 83 83 </sect2> -
BOOK/final-system/multilib/readline-n32.xml
reb55250 r94e6142 63 63 64 64 65 <screen os="k"><userinput>chmod 755 /lib32/lib{readline,history}.so*</userinput></screen>65 <screen os="k"><userinput>chmod -v 755 /lib32/lib{readline,history}.so*</userinput></screen> 66 66 67 67 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 69 69 xpointer="xpointer(//*[@os='m'])"/> 70 70 71 <screen os="m"><userinput>mv /lib32/lib{readline,history}.a /usr/lib32</userinput></screen>71 <screen os="m"><userinput>mv -v /lib32/lib{readline,history}.a /usr/lib32</userinput></screen> 72 72 73 73 <para os="n">Next, remove the <filename class="extension">.so</filename> … … 75 75 <filename class="directory">/usr/lib32</filename>.</para> 76 76 77 <screen os="o"><userinput>rm /lib32/lib{readline,history}.so78 ln -s f ../../lib32/libreadline.so.5 /usr/lib32/libreadline.so79 ln -s f ../../lib32/libhistory.so.5 /usr/lib32/libhistory.so</userinput></screen>77 <screen os="o"><userinput>rm -v /lib32/lib{readline,history}.so 78 ln -svf ../../lib32/libreadline.so.5 /usr/lib32/libreadline.so 79 ln -svf ../../lib32/libhistory.so.5 /usr/lib32/libhistory.so</userinput></screen> 80 80 81 81 </sect2> -
BOOK/final-system/multilib/shadow-64bit.xml
reb55250 r94e6142 29 29 command below.</para> 30 30 31 <para>You will also need to use the follow sed after the configuration command31 <para>You will also need to use the following sed after the configuration command 32 32 to make sure the correct library is linked.</para> 33 33 … … 120 120 xpointer="xpointer(//*[@os='v'])"/> 121 121 122 <screen os="u"><userinput>mv /lib64/libshadow.*a /usr/lib64123 rm /lib64/libshadow.so124 ln -s f ../../lib64/libshadow.so.0 /usr/lib64/libshadow.so</userinput></screen>122 <screen os="u"><userinput>mv -v /lib64/libshadow.*a /usr/lib64 123 rm -v /lib64/libshadow.so 124 ln -svf ../../lib64/libshadow.so.0 /usr/lib64/libshadow.so</userinput></screen> 125 125 126 126 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/multilib/shadow-n32.xml
reb55250 r94e6142 89 89 xpointer="xpointer(//*[@os='v'])"/> 90 90 91 <screen os="w"><userinput>mv /lib32/libshadow.*a /usr/lib3292 rm /lib32/libshadow.so93 ln -s f ../../lib32/libshadow.so.0 /usr/lib32/libshadow.so</userinput></screen>91 <screen os="w"><userinput>mv -v /lib32/libshadow.*a /usr/lib32 92 rm -v /lib32/libshadow.so 93 ln -svf ../../lib32/libshadow.so.0 /usr/lib32/libshadow.so</userinput></screen> 94 94 95 95 </sect2> -
BOOK/final-system/multilib/zlib-64bit.xml
reb55250 r94e6142 63 63 to <filename class="directory">/usr/lib64</filename>:</para> 64 64 65 <screen os="i"><userinput>mv /usr/lib64/libz.so.* /lib6466 ln -s f ../../lib64/libz.so.1 /usr/lib64/libz.so</userinput></screen>65 <screen os="i"><userinput>mv -v /usr/lib64/libz.so.* /lib64 66 ln -svf ../../lib64/libz.so.1 /usr/lib64/libz.so</userinput></screen> 67 67 68 68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 70 70 xpointer="xpointer(//*[@os='j'])"/> 71 71 72 <screen os="k"><userinput>chmod 644 /usr/lib64/libz.a</userinput></screen>72 <screen os="k"><userinput>chmod -v 644 /usr/lib64/libz.a</userinput></screen> 73 73 74 74 </sect2> -
BOOK/final-system/multilib/zlib-n32.xml
reb55250 r94e6142 64 64 to <filename class="directory">/usr/lib32</filename>:</para> 65 65 66 <screen os="i"><userinput>mv /usr/lib32/libz.so.* /lib3267 ln -s f ../../lib32/libz.so.1 /usr/lib32/libz.so</userinput></screen>66 <screen os="i"><userinput>mv -v /usr/lib32/libz.so.* /lib32 67 ln -svf ../../lib32/libz.so.1 /usr/lib32/libz.so</userinput></screen> 68 68 69 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 71 71 xpointer="xpointer(//*[@os='j'])"/> 72 72 73 <screen os="k"><userinput>chmod 644 /usr/lib32/libz.a</userinput></screen>73 <screen os="k"><userinput>chmod -v 644 /usr/lib32/libz.a</userinput></screen> 74 74 75 75 </sect2> -
BOOK/final-system/ppc64/linux-libc-headers.xml
reb55250 r94e6142 47 47 xpointer="xpointer(//*[@os='c'])"/> 48 48 49 <screen><userinput>chown -R root:root /usr/include/{asm,asm-ppc,asm-ppc64,linux,mtd,scsi}</userinput></screen>49 <screen><userinput>chown -Rv root:root /usr/include/{asm,asm-ppc,asm-ppc64,linux,mtd,scsi}</userinput></screen> 50 50 51 51 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 53 53 xpointer="xpointer(//*[@os='e'])"/> 54 54 55 <screen><userinput>find /usr/include/{asm,asm-ppc,asm-ppc64,linux,mtd,scsi} -type d -exec chmod 755 {} \;56 find /usr/include/{asm,asm-ppc,asm-ppc64,linux,mtd,scsi} -type f -exec chmod 644 {} \;</userinput></screen>55 <screen><userinput>find /usr/include/{asm,asm-ppc,asm-ppc64,linux,mtd,scsi} -type d -exec chmod -v 755 {} \; 56 find /usr/include/{asm,asm-ppc,asm-ppc64,linux,mtd,scsi} -type f -exec chmod -v 644 {} \;</userinput></screen> 57 57 58 58 </sect2> -
BOOK/final-system/sparc64/linux-libc-headers.xml
reb55250 r94e6142 55 55 xpointer="xpointer(//*[@os='c'])"/> 56 56 57 <screen><userinput>chown -R root:root /usr/include/{asm,asm-sparc,asm-sparc64,linux,mtd,scsi}</userinput></screen>57 <screen><userinput>chown -Rv root:root /usr/include/{asm,asm-sparc,asm-sparc64,linux,mtd,scsi}</userinput></screen> 58 58 59 59 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 61 61 xpointer="xpointer(//*[@os='e'])"/> 62 62 63 <screen><userinput>find /usr/include/{asm,asm-sparc,asm-sparc64,linux,mtd,scsi} -type d -exec chmod 755 {} \;64 find /usr/include/{asm,asm-sparc,asm-sparc64,linux,mtd,scsi} -type f -exec chmod 644 {} \;</userinput></screen>63 <screen><userinput>find /usr/include/{asm,asm-sparc,asm-sparc64,linux,mtd,scsi} -type d -exec chmod -v 755 {} \; 64 find /usr/include/{asm,asm-sparc,asm-sparc64,linux,mtd,scsi} -type f -exec chmod -v 644 {} \;</userinput></screen> 65 65 66 66 </sect2> -
BOOK/final-system/sparcv8/glibc.xml
reb55250 r94e6142 34 34 linuxthreads directories. The following commands will accomplish the task:</para> 35 35 36 <screen os="l2"><userinput>tar jxvf glibc-ports-&glibc-ports-version;.tar.bz2 \36 <screen os="l2"><userinput>tar -jxvf glibc-ports-&glibc-ports-version;.tar.bz2 \ 37 37 --strip-components=1 glibc-&glibc-ports-version;/linuxthreads*</userinput></screen> 38 38 … … 48 48 We do this by removing the NPTL directories:</para> 49 49 50 <screen os="l4"><userinput>rm -r f nptl*</userinput></screen>50 <screen os="l4"><userinput>rm -rvf nptl*</userinput></screen> 51 51 52 52 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/x86/grub.xml
reb55250 r94e6142 23 23 24 24 <seglistitem> 25 <seg> Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep,25 <seg>Autoconf, Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, 26 26 Make, Ncurses, and Sed</seg> 27 27 </seglistitem> … … 53 53 54 54 <screen os="g"><userinput>make install 55 mkdir /boot/grub56 cp /usr/lib/grub/i386-pc/stage{1,2} /boot/grub</userinput></screen>55 mkdir -v /boot/grub 56 cp -v /usr/lib/grub/i386-pc/stage{1,2} /boot/grub</userinput></screen> 57 57 58 58 <para os="h">Replace <filename class="directory">i386-pc</filename> with whatever -
BOOK/final-system/x86/linux-libc-headers.xml
reb55250 r94e6142 53 53 <systemitem class="username">root</systemitem>:</para> 54 54 55 <screen os="d"><userinput>chown -R root:root /usr/include/{asm,linux,mtd,scsi}</userinput></screen>55 <screen os="d"><userinput>chown -Rv root:root /usr/include/{asm,linux,mtd,scsi}</userinput></screen> 56 56 57 57 <para os="e">Make sure the users can read the headers:</para> 58 58 59 <screen os="f"><userinput>find /usr/include/{asm,linux,mtd,scsi} -type d -exec chmod 755 {} \;60 find /usr/include/{asm,linux,mtd,scsi} -type f -exec chmod 644 {} \;</userinput></screen>59 <screen os="f"><userinput>find /usr/include/{asm,linux,mtd,scsi} -type d -exec chmod -v 755 {} \; 60 find /usr/include/{asm,linux,mtd,scsi} -type f -exec chmod -v 644 {} \;</userinput></screen> 61 61 62 62 </sect2> -
BOOK/final-system/x86_64-64/binutils.xml
reb55250 r94e6142 86 86 in some of the tests. The following symbolic link will allow this.</para> 87 87 88 <screen><userinput>ln -s /lib /lib64</userinput></screen>88 <screen><userinput>ln -sv /lib /lib64</userinput></screen> 89 89 90 90 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 98 98 <para>Now remove the unwanted symlink.</para> 99 99 100 <screen><userinput>rm /lib64</userinput></screen>100 <screen><userinput>rm -v /lib64</userinput></screen> 101 101 102 102 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/x86_64-64/glibc.xml
reb55250 r94e6142 108 108 creating a symlink to the real loader.</para> 109 109 110 <screen><userinput>ln -s ld-2.3.90.so /lib/ld-linux.so.2</userinput></screen>110 <screen><userinput>ln -sv ld-2.3.90.so /lib/ld-linux.so.2</userinput></screen> 111 111 112 112 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 123 123 is. The following <command>sed</command> will correct this.</para> 124 124 125 <screen><userinput>rm /lib/ld-linux.so.2126 cp /usr/bin/ldd{,.bak}125 <screen><userinput>rm -v /lib/ld-linux.so.2 126 cp -v /usr/bin/ldd{,.bak} 127 127 sed '/RTLDLIST/s%/ld-linux.so.2 /lib64%%' /usr/bin/ldd.bak >/usr/bin/ldd</userinput></screen> 128 128 … … 130 130 the backup.</para> 131 131 132 <screen><userinput>rm /usr/bin/ldd.bak</userinput></screen>132 <screen><userinput>rm -v /usr/bin/ldd.bak</userinput></screen> 133 133 134 134 </sect2> -
BOOK/final-system/x86_64/grub.xml
reb55250 r94e6142 48 48 49 49 <screen os="h"><userinput>make install 50 mkdir /boot/grub51 cp /usr/lib/grub/x86_64-pc/stage{1,2} /boot/grub</userinput></screen>50 mkdir -v /boot/grub 51 cp -v /usr/lib/grub/x86_64-pc/stage{1,2} /boot/grub</userinput></screen> 52 52 53 53 <para os="i">Replace <filename class="directory">x86_64-pc</filename> with whatever -
BOOK/final-system/x86_64/linux-libc-headers.xml
reb55250 r94e6142 47 47 xpointer="xpointer(//*[@os='c'])"/> 48 48 49 <screen><userinput>chown -R root:root /usr/include/{asm,asm-i386,asm-x86_64,linux,mtd,scsi}</userinput></screen>49 <screen><userinput>chown -Rv root:root /usr/include/{asm,asm-i386,asm-x86_64,linux,mtd,scsi}</userinput></screen> 50 50 51 51 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 53 53 xpointer="xpointer(//*[@os='e'])"/> 54 54 55 <screen><userinput>find /usr/include/{asm,asm-i386,asm-x86_64,linux,mtd,scsi} -type d -exec chmod 755 {} \;56 find /usr/include/{asm,asm-i386,asm-x86_64,linux,mtd,scsi} -type f -exec chmod 644 {} \;</userinput></screen>55 <screen><userinput>find /usr/include/{asm,asm-i386,asm-x86_64,linux,mtd,scsi} -type d -exec chmod -v 755 {} \; 56 find /usr/include/{asm,asm-i386,asm-x86_64,linux,mtd,scsi} -type f -exec chmod -v 644 {} \;</userinput></screen> 57 57 58 58 </sect2> -
BOOK/introduction/common/changelog.xml
reb55250 r94e6142 38 38 39 39 <listitem> 40 <para>February 11, 2006</para> 41 <itemizedlist> 42 <listitem> 43 <para>[Chris] - Added -v switches to commands that accept it.</para> 44 </listitem> 45 </itemizedlist> 46 </listitem> 47 48 <listitem> 40 49 <para>February 9, 2006</para> 41 50 <itemizedlist> -
BOOK/testsuite-tools/common/tcl.xml
reb55250 r94e6142 63 63 <para os="k">Now make a necessary symbolic link:</para> 64 64 65 <screen os="l"><userinput>ln -s tclsh8.4 /tools/bin/tclsh</userinput></screen>65 <screen os="l"><userinput>ln -sv tclsh8.4 /tools/bin/tclsh</userinput></screen> 66 66 67 67 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.