A way to keep track of packages while installing LFS

Tushar Teredesai sukucorp at gmail.com
Thu Feb 2 10:27:23 PST 2006


On 2/2/06, Marius Schaefer <Marius.Schaefer at isbac.com> wrote:
> I'm running two scripts before and after installing each package. They
> create a list of all the files on my system using find (without
> lfs-sources directory, /proc, /dev, ...). Making a diff from both listings
> gets me a nice list of which files belong to which package. Feeding this
> list to tar or cp lets me easily create binary packets which can be used
> to create new systems with different packages installed.

Be careful with files that are shared between packages. You cannot use
these shared files from one installation on another unless you are
using exactly the same packages on both systems.

--
Tushar Teredesai
   mailto:tushar at linuxfromscratch.org
   http://www.linuxfromscratch.org/~tushar/



More information about the lfs-support mailing list