- Timestamp:
- Feb 21, 2006, 2:27:09 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:
- 94e6142
- Parents:
- 0b637f1
- Location:
- BOOK
- Files:
-
- 25 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/boot/alpha/kernel.xml
r0b637f1 reb55250 98 98 xpointer="xpointer(//*[@os='v'])"/> 99 99 100 <screen><userinput>cp vmlinux ${LFS}/boot/lfskernel-&linux-version;</userinput></screen>100 <screen><userinput>cp -v vmlinux ${LFS}/boot/lfskernel-&linux-version;</userinput></screen> 101 101 102 102 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/boot/common/bootscripts.xml
r0b637f1 reb55250 29 29 <para>Make bootscripts usable at boot:</para> 30 30 31 <screen><userinput>cp ${LFS}/etc/rc.d/init.d/functions{,.bak}31 <screen><userinput>cp -v ${LFS}/etc/rc.d/init.d/functions{,.bak} 32 32 sed 's|/bin:/usr/bin:/sbin:/usr/sbin|/tools/bin:/tools/sbin:/bin:/sbin|g' \ 33 33 ${LFS}/etc/rc.d/init.d/functions.bak \ 34 34 > ${LFS}/etc/rc.d/init.d/functions 35 cp ${LFS}/etc/rc.d/init.d/mountfs{,.bak}35 cp -v ${LFS}/etc/rc.d/init.d/mountfs{,.bak} 36 36 sed 's@mount -f /sys || failed=1@mount -f /sys | udevstart || failed=1@' \ 37 37 ${LFS}/etc/rc.d/init.d/mountfs.bak \ -
BOOK/boot/common/changingowner.xml
r0b637f1 reb55250 19 19 <systemitem class="username">root</systemitem>. Change the ownership for $LFS and its subdirectories by running these commands:</para> 20 20 21 <screen><userinput>chown root:root ${LFS}22 chown -R root:root $LFS/{bin,boot,dev,etc,home,lib,media,mnt,opt,proc,root,sbin,srv,sys,tmp,usr,var}</userinput></screen>21 <screen><userinput>chown -v root:root ${LFS} 22 chown -Rv root:root $LFS/{bin,boot,dev,etc,home,lib,media,mnt,opt,proc,root,sbin,srv,sys,tmp,usr,var}</userinput></screen> 23 23 24 24 <para os="b">The same issue also exists with <filename class="directory">/tools</filename> and <filename class="directory">/cross-tools</filename>. Although these directories can be deleted once the … … 39 39 the following commands:</para> 40 40 41 <screen><userinput>chown -R root:root /tools42 chown -R root:root /cross-tools</userinput></screen>41 <screen><userinput>chown -Rv root:root /tools 42 chown -Rv root:root /cross-tools</userinput></screen> 43 43 44 44 </sect1> -
BOOK/boot/common/creatingdirs.xml
r0b637f1 reb55250 14 14 standard directory tree by issuing the following commands:</para> 15 15 16 <screen><userinput>install -d ${LFS}/{bin,boot,dev,etc/opt,home,lib,mnt}17 install -d ${LFS}/{sbin,srv,usr/local,var,opt,proc,sys}18 install -d ${LFS}/root -m 075019 install -d ${LFS}/tmp ${LFS}/var/tmp -m 177720 install -d ${LFS}/media/{floppy,cdrom}21 install -d ${LFS}/usr/{bin,include,lib,sbin,share,src}22 ln -s share/{man,doc,info} ${LFS}/usr23 install -d ${LFS}/usr/share/{doc,info,locale,man}24 install -d ${LFS}/usr/share/{misc,terminfo,zoneinfo}25 install -d ${LFS}/usr/share/man/man{1,2,3,4,5,6,7,8}26 install -d ${LFS}/usr/local/{bin,etc,include,lib,sbin,share,src}27 ln -s share/{man,doc,info} ${LFS}/usr/local28 install -d ${LFS}/usr/local/share/{doc,info,locale,man}29 install -d ${LFS}/usr/local/share/{misc,terminfo,zoneinfo}30 install -d ${LFS}/usr/local/share/man/man{1,2,3,4,5,6,7,8}31 install -d ${LFS}/var/{lock,log,mail,run,spool}32 install -d ${LFS}/var/{opt,cache,lib/{misc,locate},local}33 install -d ${LFS}/opt/{bin,doc,include,info}34 install -d ${LFS}/opt/{lib,man/man{1,2,3,4,5,6,7,8}}</userinput></screen>16 <screen><userinput>install -dv ${LFS}/{bin,boot,dev,etc/opt,home,lib,mnt} 17 install -dv ${LFS}/{sbin,srv,usr/local,var,opt,proc,sys} 18 install -dv ${LFS}/root -m 0750 19 install -dv ${LFS}/tmp ${LFS}/var/tmp -m 1777 20 install -dv ${LFS}/media/{floppy,cdrom} 21 install -dv ${LFS}/usr/{bin,include,lib,sbin,share,src} 22 ln -sv share/{man,doc,info} ${LFS}/usr 23 install -dv ${LFS}/usr/share/{doc,info,locale,man} 24 install -dv ${LFS}/usr/share/{misc,terminfo,zoneinfo} 25 install -dv ${LFS}/usr/share/man/man{1,2,3,4,5,6,7,8} 26 install -dv ${LFS}/usr/local/{bin,etc,include,lib,sbin,share,src} 27 ln -sv share/{man,doc,info} ${LFS}/usr/local 28 install -dv ${LFS}/usr/local/share/{doc,info,locale,man} 29 install -dv ${LFS}/usr/local/share/{misc,terminfo,zoneinfo} 30 install -dv ${LFS}/usr/local/share/man/man{1,2,3,4,5,6,7,8} 31 install -dv ${LFS}/var/{lock,log,mail,run,spool} 32 install -dv ${LFS}/var/{opt,cache,lib/{misc,locate},local} 33 install -dv ${LFS}/opt/{bin,doc,include,info} 34 install -dv ${LFS}/opt/{lib,man/man{1,2,3,4,5,6,7,8}}</userinput></screen> 35 35 36 36 <para os="b">Directories are, by default, created with permission mode 755, -
BOOK/boot/common/e2fsprogs.xml
r0b637f1 reb55250 52 52 </variablelist> 53 53 54 <screen os="ac"><userinput>make</userinput></screen> 54 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 55 href="../../final-system/common/e2fsprogs.xml" 56 xpointer="xpointer(//*[@os='f'])"/> 57 58 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 59 href="../../final-system/common/e2fsprogs.xml" 60 xpointer="xpointer(//*[@os='g'])"/> 55 61 56 62 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/boot/common/introduction.xml
r0b637f1 reb55250 33 33 class="username">root</systemitem>:</para> 34 34 35 <screen><userinput>chown lfs $LFS</userinput></screen>35 <screen><userinput>chown -v lfs $LFS</userinput></screen> 36 36 37 37 </sect1> -
BOOK/boot/common/pwdgroup.xml
r0b637f1 reb55250 111 111 112 112 <screen><userinput>touch ${LFS}/var/run/utmp ${LFS}/var/log/{btmp,lastlog,wtmp} 113 chmod 664 ${LFS}/var/run/utmp ${LFS}/var/log/lastlog114 chmod 600 ${LFS}/var/log/btmp</userinput></screen>113 chmod -v 664 ${LFS}/var/run/utmp ${LFS}/var/log/lastlog 114 chmod -v 600 ${LFS}/var/log/btmp</userinput></screen> 115 115 116 116 <para>The <filename>${LFS}/var/run/utmp</filename> file records the users -
BOOK/boot/common/sysvinit.xml
r0b637f1 reb55250 26 26 during our build:</para> 27 27 28 <screen os="ab"><userinput>cp src/Makefile src/Makefile.orig28 <screen os="ab"><userinput>cp -v src/Makefile src/Makefile.orig 29 29 sed -e 's@root@0@g' \ 30 30 -e "s@/dev/initctl@${LFS}&@g" \ -
BOOK/boot/common/udev.xml
r0b637f1 reb55250 44 44 xpointer="xpointer(//*[@os='j'])"/> 45 45 46 <screen os="k"><userinput>cp ../&udev-config-file; ${LFS}/etc/udev/rules.d/25-lfs.rules</userinput></screen>46 <screen os="k"><userinput>cp -v ../&udev-config-file; ${LFS}/etc/udev/rules.d/25-lfs.rules</userinput></screen> 47 47 48 48 </sect2> -
BOOK/boot/common/util-linux.xml
r0b637f1 reb55250 43 43 directory by default. This is fixed by altering the configure script:</para> 44 44 45 <screen os="bb"><userinput>cp configure{,.orig}45 <screen os="bb"><userinput>cp -v configure{,.orig} 46 46 sed -e 's@/usr/include@/tools/include@g' configure.orig > configure</userinput></screen> 47 47 … … 50 50 yet:</para> 51 51 52 <screen os="bd"><userinput>cp MCONFIG{,.orig}52 <screen os="bd"><userinput>cp -v MCONFIG{,.orig} 53 53 sed -e 's|-o root||' MCONFIG.orig > MCONFIG</userinput></screen> 54 54 -
BOOK/boot/mips/kernel.xml
r0b637f1 reb55250 114 114 xpointer="xpointer(//*[@os='v'])"/> 115 115 116 <screen><userinput>cp vmlinux ${LFS}/boot/vmlinux-&linux-version;116 <screen><userinput>cp -v vmlinux ${LFS}/boot/vmlinux-&linux-version; 117 117 gzip -9 ${LFS}/boot/vmlinux-&linux-version;</userinput></screen> 118 118 -
BOOK/boot/mips64/kernel.xml
r0b637f1 reb55250 118 118 xpointer="xpointer(//*[@os='v'])"/> 119 119 120 <screen><userinput>cp vmlinux ${LFS}/boot/vmlinux-&linux-version;120 <screen><userinput>cp -v vmlinux ${LFS}/boot/vmlinux-&linux-version; 121 121 gzip -9 ${LFS}/boot/vmlinux-&linux-version;</userinput></screen> 122 122 -
BOOK/boot/multilib/e2fsprogs.xml
r0b637f1 reb55250 23 23 <title>Installation of E2fsprogs</title> 24 24 25 <para >Make sure the libraries get installed to25 <para os="m1">Make sure the libraries get installed to 26 26 <filename class="directory">/tools/lib64</filename>:</para> 27 27 28 <screen os="m 1"><userinput>chmod0755 configure29 cp configure{,.orig}28 <screen os="m2"><userinput>chmod -v 0755 configure 29 cp -v configure{,.orig} 30 30 sed -e "/libdir=.*\/lib/s@/lib@/lib64@g" configure.orig > configure</userinput></screen> 31 31 -
BOOK/boot/ppc/kernel.xml
r0b637f1 reb55250 98 98 xpointer="xpointer(//*[@os='v'])"/> 99 99 100 <screen><userinput>cp vmlinux ${LFS}/boot/lfskernel-&linux-version;</userinput></screen>100 <screen><userinput>cp -v vmlinux ${LFS}/boot/lfskernel-&linux-version;</userinput></screen> 101 101 102 102 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/boot/ppc64/e2fsprogs.xml
r0b637f1 reb55250 23 23 <title>Installation of E2fsprogs</title> 24 24 25 <para>Make sure the libraries get installed to 26 <filename class="directory">/tools/lib64</filename>:</para> 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 26 href="../multilib/e2fsprogs.xml" 27 xpointer="xpointer(//*[@os='m1'])"/> 27 28 28 <screen os="m1"><userinput>chmod 0755 configure 29 cp configure{,.orig} 30 sed -e "/libdir=.*\/lib/s@/lib@/lib64@g" configure.orig > configure</userinput></screen>29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 30 href="../multilib/e2fsprogs.xml" 31 xpointer="xpointer(//*[@os='m2'])"/> 31 32 32 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 61 62 xpointer="xpointer(//*[@os='e'])"/> 62 63 63 <screen os="ac"><userinput>make CC="${CC} ${BUILD64}"</userinput></screen> 64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 65 href="../64/e2fsprogs.xml" 66 xpointer="xpointer(//*[@os='ac'])"/> 64 67 65 68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/boot/ppc64/kernel.xml
r0b637f1 reb55250 32 32 33 33 <para os="m1">To ensure that your system boots and you can properly run both 34 32 bit s and 64 bitsbinaries, please make sure that you enable support for34 32 bit and 64 bit binaries, please make sure that you enable support for 35 35 ELF and emulations for 32bit ELF into the kernel.</para> 36 36 … … 102 102 xpointer="xpointer(//*[@os='v'])"/> 103 103 104 <screen><userinput>cp vmlinux ${LFS}/boot/lfskernel-&linux-version;</userinput></screen>104 <screen><userinput>cp -v vmlinux ${LFS}/boot/lfskernel-&linux-version;</userinput></screen> 105 105 106 106 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/boot/sparc/kernel.xml
r0b637f1 reb55250 98 98 xpointer="xpointer(//*[@os='v'])"/> 99 99 100 <screen><userinput>cp vmlinux ${LFS}/boot/lfskernel-&linux-version;</userinput></screen>100 <screen><userinput>cp -v vmlinux ${LFS}/boot/lfskernel-&linux-version;</userinput></screen> 101 101 102 102 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/boot/sparc64/kernel.xml
r0b637f1 reb55250 100 100 xpointer="xpointer(//*[@os='v'])"/> 101 101 102 <screen><userinput>cp vmlinux ${LFS}/boot/lfskernel-&linux-version;</userinput></screen>102 <screen><userinput>cp -v vmlinux ${LFS}/boot/lfskernel-&linux-version;</userinput></screen> 103 103 104 104 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/boot/x86/kernel.xml
r0b637f1 reb55250 106 106 xpointer="xpointer(//*[@os='v'])"/> 107 107 108 <screen><userinput>cp arch/i386/boot/bzImage ${LFS}/boot/lfskernel-&linux-version;</userinput></screen>108 <screen><userinput>cp -v arch/i386/boot/bzImage ${LFS}/boot/lfskernel-&linux-version;</userinput></screen> 109 109 110 110 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 112 112 xpointer="xpointer(//*[@os='w'])"/> 113 113 114 <screen os="w1"><userinput>cp System.map ${LFS}/boot/System.map-&linux-version;</userinput></screen>114 <screen os="w1"><userinput>cp -v System.map ${LFS}/boot/System.map-&linux-version;</userinput></screen> 115 115 116 116 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 118 118 xpointer="xpointer(//*[@os='x'])"/> 119 119 120 <screen os="x1"><userinput>cp .config ${LFS}/boot/config-&linux-version;</userinput></screen>120 <screen os="x1"><userinput>cp -v .config ${LFS}/boot/config-&linux-version;</userinput></screen> 121 121 122 122 </sect2> -
BOOK/boot/x86_64/kernel.xml
r0b637f1 reb55250 32 32 33 33 <para os="m1">To ensure that your system boots and you can properly run both 34 32 bit s and 64 bitsbinaries, please make sure that you enable support for34 32 bit and 64 bit binaries, please make sure that you enable support for 35 35 ELF and emulations for 32bit ELF into the kernel.</para> 36 36 … … 102 102 xpointer="xpointer(//*[@os='v'])"/> 103 103 104 <screen><userinput>cp arch/x86_64/boot/bzImage ${LFS}/boot/lfskernel-&linux-version;</userinput></screen>104 <screen><userinput>cp -v arch/x86_64/boot/bzImage ${LFS}/boot/lfskernel-&linux-version;</userinput></screen> 105 105 106 106 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/cross-tools/sparcv8/glibc.xml
r0b637f1 reb55250 81 81 xpointer="xpointer(//*[@os='g'])"/> 82 82 83 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"84 href="../common/glibc.xml"85 xpointer="xpointer(//*[@os='df'])"/>86 87 83 <screen os="df"><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc" \ 88 84 AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \ -
BOOK/final-system/sparc/glibc.xml
r0b637f1 reb55250 38 38 xpointer="xpointer(//*[@os='d'])"/> 39 39 40 <para os="s1">This patch will add TLS (Thread Local Storage) support to Sparc:</para>40 <para os="s1">This patch will add TLS (Thread Local Storage) support to Sparc:</para> 41 41 42 42 <screen os="s2"><userinput>patch -Np1 -i ../&glibc-sparc_tls-patch;</userinput></screen> -
BOOK/general.ent
r0b637f1 reb55250 1 1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 3 <!ENTITY version "CLFS-SVN-200602 09">3 <!ENTITY version "CLFS-SVN-20060211"> 4 4 <!ENTITY version-x86 "&version;-x86"> 5 5 <!ENTITY version-x86_64 "&version;-x86_64-Multilib"> … … 16 16 <!ENTITY version-alpha "&version;-ALPHA"> 17 17 18 <!ENTITY releasedate "February 9, 2006">18 <!ENTITY releasedate "February 11, 2006"> 19 19 <!ENTITY milestone "0.1"> 20 20 <!ENTITY generic-version "svn"> <!-- Use "svn", "testing", or "x.y[-pre{x}]" --> -
BOOK/temp-system/common/bash.xml
r0b637f1 reb55250 25 25 <para os="aa">Fix a minor issue during the build when cross-compiling:</para> 26 26 27 <screen os="ab"><userinput>cp Makefile.in Makefile.in.orig27 <screen os="ab"><userinput>cp -v Makefile.in Makefile.in.orig 28 28 sed -e "s@size \$(Program)@${LFS_TARGET}-&@g" Makefile.in.orig > Makefile.in</userinput></screen> 29 29 … … 74 74 a shell:</para> 75 75 76 <screen os="af"><userinput>ln -s bash /tools/bin/sh</userinput></screen>76 <screen os="af"><userinput>ln -sv bash /tools/bin/sh</userinput></screen> 77 77 78 78 </sect2> -
BOOK/temp-system/common/bzip2.xml
r0b637f1 reb55250 23 23 <title>Installation of Bzip2</title> 24 24 25 <para os="ca">Remove the tests to since they won't work on26 amulti-architecture build:</para>25 <para os="ca">Remove the tests since they won't work on a 26 multi-architecture build:</para> 27 27 28 28 <screen os="cb"><userinput>cp -v Makefile{,.orig}
Note:
See TracChangeset
for help on using the changeset viewer.