Package management and creating the file system layout
Bruce Dubbs
bruce.dubbs at gmail.com
Tue Dec 16 19:03:14 MST 2008
DJ Lucas wrote:
> Bruce Dubbs wrote:
>> Can you explain what you mean by "create the entire 'base'".
>>
> Again, looking at this from a packaging point of view, IMO, all files
> and directories that are created manually should be together on one page
> so that a single package can be generated and called 'lfs-base' or
> something to that effect. I had the chapters screwed up, but basically,
> we should create all of the directories first and the then the essential
> files (not symlinks) on the same page. Follow that up with mounting
> virtual file systems and then chroot. The symlinks can (and should)
> still be created after entering chroot (the last three sets of
> instructions would never be packaged).
Hmm. My initial reaction is that I don't really like it. Under that scenario,
we wouldn't be using the new packages as they are built. I'm not sure if we can
build everything without using our new packages because some may depend on others.
I use DESTDIR all the time, but I generally do:
make DESTDIR=/tmp/$package/install install
then examine what was installed and then go back again and do
sudo make install
but I suppose I could use something like cp -a instead.
To me it makes a lot more sense package by package instead of one big blob of
multiple packages.
-- Bruce
More information about the lfs-dev
mailing list