Changeset 33f0959


Ignore:
Timestamp:
05/23/2009 11:32:30 AM (15 years ago)
Author:
Bruce Dubbs <bdubbs@…>
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.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, 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:
63f6e21
Parents:
f32421a
Message:

Expand package management discussion and add a section
on deploying an LFS system to another host.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8901 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    rf32421a r33f0959  
    4242      <itemizedlist>
    4343        <listitem>
     44          <para>[bdubbs] - Expand package management discussion and
     45          add a section on deploying an LFS system to another host. Fixes
     46          <ulink url="&lfs-ticket-root;2073">#2073</ulink>.</para>
     47        </listitem>
     48        <listitem>
    4449          <para>[matthew] - Shorten the command used to adjust the linker in
    4550          Chapter 6.  Thanks to Chris Staub for the improvement.  Fixes
  • chapter06/pkgmgt.xml

    rf32421a r33f0959  
    225225      url="&hints-root;fakeroot.txt"/>.</para>
    226226
     227      <para>Creation of package files that include dependency information is
     228      complex and is beyond the scope of LFS.</para>
     229
     230      <para>Slackware uses a <command>tar</command> based system for package
     231      archives.  This system purposely does not handle package dependencies
     232      as more complex package managers do.  For details of Slackware package
     233      management, see <ulink
     234      url="http://www.slackbook.org/html/package-management.html"/>.</para>
    227235    </sect3>
    228236
     
    242250  </sect2>
    243251
     252  <sect2>
     253    <title>Deploying LFS on Multiple Systems</title>
     254
     255    <para>One of the advantages of a LFS system is that there are no files that
     256    depend on the position of files on a disk system.  Cloning an LFS build to
     257    another computer with an architecture similar to the base system is as
     258    simple as using <command>tar</command> on the LFS partition that contains
     259    the root directory (about 250MB uncompressed for a base LFS build), copying
     260    that file via network transfer or CD-ROM to the new system and expanding
     261    it.  From that point, a few configuration files will have to be changed.
     262    Configuration files that may need to be updated include:
     263    <filename>/etc/hosts</filename>,
     264    <filename>/etc/fstab</filename>,
     265    <filename>/etc/passwd</filename>,
     266    <filename>/etc/group</filename>,
     267    <filename>/etc/shadow</filename>,
     268    <filename>/etc/ld.so.conf</filename>,
     269    <filename>/etc/scsi_id.config</filename>,
     270    <filename>/etc/sysconfig/network</filename> and
     271    <filename>/etc/sysconfig/network-devices/ifconfig.eth0/ipv4</filename>.   
     272    </para>
     273
     274    <para>A custom kernel may need to be built for the new system depending on
     275    differences in system hardware and the original kernel
     276    configuration.</para>
     277
     278    <para>Finally the new system has to be made bootable via <xref
     279    linkend="ch-bootable-grub"/>.</para>
     280
     281  </sect2>
     282
    244283</sect1>
Note: See TracChangeset for help on using the changeset viewer.