Changeset 8f75224
- Timestamp:
- 10/15/2003 10:39:23 PM (21 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v5_0, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- f2243a5
- Parents:
- e3a72b1
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter04/chapter04.xml
re3a72b1 r8f75224 33 33 that is conveniently available throughout the entire build. You'll also need a 34 34 working directory in which to unpack the sources and build them. A scheme that 35 works well is to use <filename>$LFS/tools/sources/packages</filename> for the 36 tarballs, and <filename>$LFS/tools/sources</filename> as the working directory 37 <emphasis>and</emphasis> as the place to store the patches. In this way, 38 everything will be on the LFS partition and available during all stages of the 39 building process.</para> 40 41 <para>So you may want to execute the following command before starting 42 your download session:</para> 43 44 <screen><userinput>mkdir -p $LFS/tools/sources/packages</userinput></screen> 35 works well is to use <filename>$LFS/sources</filename> as the place to store 36 the tarballs and patches, <emphasis>and</emphasis> as a working directory. 37 This way everything you need will be located on the LFS partition and available 38 during all stages of the building process.</para> 39 40 <para>So you may want to execute, as <emphasis>root</emphasis>, the following 41 command before starting your download session:</para> 42 43 <screen><userinput>mkdir $LFS/sources</userinput></screen> 44 45 <para>And make this directory writable (and sticky) for your normal user -- as 46 you won't do the downloading as <emphasis>root</emphasis>, we guess:</para> 47 48 <screen><userinput>chmod a+wt $LFS/sources</userinput></screen> 45 49 46 50 <!-- -
chapter05/adding-user.xml
re3a72b1 r8f75224 20 20 <screen><userinput>chown lfs $LFS/tools</userinput></screen> 21 21 22 <para>If you made a separate working directory as suggested, give user 23 <emphasis>lfs</emphasis> ownership of this directory too:</para> 24 25 <screen><userinput>chown lfs $LFS/sources</userinput></screen> 26 22 27 <para>Next, login as user <emphasis>lfs</emphasis>. This can be done via a 23 28 virtual console, through a display manager, or with the following substitute -
chapter06/revisedchroot.xml
re3a72b1 r8f75224 4 4 5 5 <para>From now on when you exit the chroot environment and wish to re-enter 6 it, you should run the following modified chroot command.</para> 7 8 <para>Additionally, now that all software has been installed, there is no longer 9 a need for the <filename class="directory">/tools</filename> directory. You may 10 delete it. This will also remove the temporary copies of Tcl, Expect and 11 DejaGnu, which were used for running tests on the software as it was built. If 12 you want to use these programs later, you will need to compile and install them 13 on your new LFS system.</para> 6 it, you should run the following modified chroot command:</para> 14 7 15 8 <screen><userinput>chroot $LFS /usr/bin/env -i \ … … 18 11 /bin/bash --login</userinput></screen> 19 12 13 <para>Additionally, now that all software has been installed, there is no longer 14 a need for the <filename class="directory">/tools</filename> directory. You may 15 delete it. As this will also remove the temporary copies of Tcl, Expect and 16 DejaGnu, which were used for running the toolchain tests, you will need to 17 recompile and re-install them on your LFS system if you want to use these 18 programs later.</para> 19 20 <para>Also you may now want to move the contents of 21 <filename class="directory">/sources</filename> to 22 <filename class="directory">/usr/src/packages</filename> or something similar 23 (or simply delete them if you've burned them on a CD) and delete the 24 directory.</para> 25 20 26 </sect1> 21 27
Note:
See TracChangeset
for help on using the changeset viewer.