2009/9/14 Alexander Haley <[email protected]>: > On Sun, Sep 13, 2009 at 9:04 PM, Alexander Haley <[email protected]> wrote: >> Alright, I'm using the 'package users' approach, and I've hit a snag >> where I don't understand the choice I'm about to make. Here is the >> scenario. > > One followup > > http://osdir.com/ml/linux.lfs.clfs.support/2006-07/msg00099.html > > This link starts a thread discussing this sort of issue .. but I'm not > persuaded, since the thread goes along the lines of "replace them , > don't replace them" ... > -- > http://linuxfromscratch.org/mailman/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/lfs/faq.html > Unsubscribe: See the above information page > Well, I could suggest "FBBG". If you look at how we build without the package users approach, you'll see that we let glibc (and potentially every other package) install whatever it is set to install.
From time to time, people using package management have noted that files are overwritten, and *very* occasionally the book has been changed because of that. Since you have signed up for the pain of using 'package users', I suggest that you look at what is going to be installed, and compare it to what is already there. ISTR that glibc might not support DESTDIR installs, so it's probably easy to destroy the build. Perhaps the easiest thing might be to copy the directory (including any subdirectories) to somewhere else (on the host system), make a full backup of the new system before installing glibc, install, and then compare the before-and-after contents. I will be a little surprised if any files are actually replaced. My memory suggests that glibc adds more files to what is already there (and if you don't install them, I very much doubt that you will be able to complete the new system). If I'm wrong, or your view is different, you can wipe out the new system and restore from the backup - that will also test whether your backup process works ;-) Short summary - the first time you build LFS, folllow the book. After that, feel free to explore whatever aspects of it interest you, but remember that if you break it you get to keep both pieces. ĸen -- After tragedy, and farce, "OMG poneys!" -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
