How to tar up the whole LFS system. I mean what all directories ( all the
directories have same name as given in the book ).
Would simply tarring and untarring do the job? ( except some minor changes
that you mentioned )

On Wed, Dec 9, 2020, 00:06 Bruce Dubbs via blfs-support <
blfs-support@lists.linuxfromscratch.org> wrote:

> On 12/8/20 12:00 PM, Scott Andrews via blfs-support wrote:
>
> > The only sane way ( successful way ) to build LFS for it to be installed
> > onto other machine is to....
> >
> > 1.    Use a package manager
> >
> > 2.    Build ALL the packages in a clean chroot
> >
> > 3.    Create a base system of packages and all the add on
> >       packages needed. You have to merge LFS and BLFS together.
> >       You will have issues with controlling dependencies between the
> >       various packages.
> >
> > 4.    Build an installation script to install the binary packages
> >       from the package manager (repository). Formatting a drive and
> >       installation of binaries going to the formatted drive included
> >       in this step.
> >
> > 5.    Fix up the configuration files for each machine.
> >
> > 6.    Transfer drive to the target machine.
> >
> > 7.    A way to update the target machine(s).
>
>
> Not true.  You can tar up the LFS system and untar it on an empty
> partition on the target machine.  One caveat is if the target machine is
> less capable than the build system, you need to build gmp generically.
>
> Other minor things are to change the host name, ip address, fstab,
> grub.cfg, and maybe unprivileged user(s).  Also any kernel modules and
> (potentially) firmware for the target system must be available.
>
>    -- Bruce
> --
> http://lists.linuxfromscratch.org/listinfo/blfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to