Changeset f89de33 for chapter06/chapter06.xml
- Timestamp:
- 02/23/2004 10:09:27 PM (20 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_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:
- e421d2e
- Parents:
- b157558
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/chapter06.xml
rb157558 rf89de33 591 591 592 592 <sect1 id="ch-system-revisedchroot"> 593 <title> Revised chroot command</title>593 <title>Cleaning up</title> 594 594 <?dbhtml filename="revisedchroot.html" dir="chapter06"?> 595 595 596 <para>From now on when you exit the chroot environment and wish to reenter597 it, you should runthe following modified chroot command:</para>596 <para>From now on, when you exit the chroot environment and wish to reenter 597 it, you should use the following modified chroot command:</para> 598 598 599 599 <screen><userinput>chroot $LFS /usr/bin/env -i \ … … 602 602 /bin/bash --login</userinput></screen> 603 603 604 <para>The reason being there is no longer any need to use programs from the 605 <filename class="directory">/tools</filename> directory. However, we don't 606 want to remove the <filename class="directory">/tools</filename> directory 607 just yet. There is still some use for it towards the end of the book.</para> 604 <para>The reason for this is that, since the programs in <filename 605 class="directory">/tools</filename> are no longer needed, you may want to 606 delete the whole directory and regain the space. Before actually deleting the 607 directory, exit from chroot and reenter it with the above command. Also, before 608 removing <filename class="directory">/tools</filename>, you may want to tar it 609 up and store it in a safe place, in case you want build another LFS system 610 soon.</para> 611 612 <note><para>Removing <filename class="directory">/tools</filename> will also 613 remove the temporary copies of Tcl, Expect and DejaGnu, which were used for 614 running the toolchain tests. If you want to use these programs later on, you 615 will need to recompile and re-install them. The installation instructions are 616 the same as in <xref linkend="chapter-temporary-tools"/>, apart from changing 617 the prefix from <emphasis>/tools</emphasis> to <emphasis>/usr</emphasis>. The 618 BLFS book discusses a slightly different approach to installing Tcl, see <ulink 619 url="&blfs-root;"/>.</para></note> 620 621 <para>You may also want to move the packages and patches stored in <filename 622 class="directory">/sources</filename> to a more usual location, such as 623 <filename class="directory">/usr/src/packages</filename>, and remove the 624 directory -- or simply delete the whole directory if you've burned its contents 625 on a CD).</para> 608 626 609 627 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.