Changeset dd9906e for final-system/common
- Timestamp:
- Feb 21, 2006, 2:27:39 AM (19 years ago)
- Children:
- e63113c
- Parents:
- 287d7b9
- Location:
- final-system/common
- Files:
-
- 24 edited
Legend:
- Unmodified
- Added
- Removed
-
final-system/common/adjusting.xml
r287d7b9 rdd9906e 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> -
final-system/common/bash.xml
r287d7b9 rdd9906e 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> -
final-system/common/binutils.xml
r287d7b9 rdd9906e 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> -
final-system/common/bzip2.xml
r287d7b9 rdd9906e 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> -
final-system/common/coreutils.xml
r287d7b9 rdd9906e 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 -
final-system/common/e2fsprogs.xml
r287d7b9 rdd9906e 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 -
final-system/common/flex.xml
r287d7b9 rdd9906e 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> -
final-system/common/gcc.xml
r287d7b9 rdd9906e 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> -
final-system/common/glibc.xml
r287d7b9 rdd9906e 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 -
final-system/common/groff.xml
r287d7b9 rdd9906e 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> -
final-system/common/gzip.xml
r287d7b9 rdd9906e 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> -
final-system/common/hotplug.xml
r287d7b9 rdd9906e 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> -
final-system/common/inetutils.xml
r287d7b9 rdd9906e 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> -
final-system/common/less.xml
r287d7b9 rdd9906e 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> -
final-system/common/libtool.xml
r287d7b9 rdd9906e 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> -
final-system/common/man.xml
r287d7b9 rdd9906e 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> -
final-system/common/ncurses.xml
r287d7b9 rdd9906e 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> -
final-system/common/psmisc.xml
r287d7b9 rdd9906e 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> -
final-system/common/readline.xml
r287d7b9 rdd9906e 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> -
final-system/common/shadow.xml
r287d7b9 rdd9906e 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> -
final-system/common/temp-perl.xml
r287d7b9 rdd9906e 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> -
final-system/common/udev.xml
r287d7b9 rdd9906e 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 -
final-system/common/vim.xml
r287d7b9 rdd9906e 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 -
final-system/common/zlib.xml
r287d7b9 rdd9906e 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>
Note:
See TracChangeset
for help on using the changeset viewer.