----- Mail original ----- > De: "Bruce Dubbs" <bruce.du...@gmail.com> > À: "LFS Developers Mailinglist" <lfs-dev@linuxfromscratch.org> > Envoyé: Mercredi 3 Octobre 2012 01:42:40 > Objet: [lfs-dev] RFC Combining /usr with root directories > ... > As far as I can tell, everything should work as before, but we can > remove some of the things we do to move files and libraries from /usr to > /. The restriction, of course, is that /usr must be a part of the > rootfs, but a recommended size for that could be 20G and not really > affect anything. > Disk size is not an issue (I am running a linux box with a 250 MB disk that don't want to die)
I similary think that merging /usr could simplify the build process. util-linux-2.22 produce some <****> libtool warnings because of the split between /lib and /usr/lib. I haven't yet tracked why the behavior is different than 2.21.x where those warnings did not happen. I blindly hide 46 of 48 libtool warnings doing _before_ running make : touch /usr/lib/lib/{libblkid,libblkid,libmount}.la This issue should not happen if /usr is merged. Everytime you don't use the path that is used by the big distro, you will be hit by issues on untested path. Then it is a question of effort to support the choice you made. You already know that with the udev debacle. I have been hit too by using regular /etc/mtab (not using symlink to /proc/mounts) with util-linux-2.22. > ----- > > While I'm at it, should we remove *.la files in the libraries: > > find /usr/lib -name \*.la -delete > > We can add that to Section 6.64 - Stripping Again. What I've found is > that I get a lot of warning messages and sometimes failures when > packages try to use the .la files, but just removing them seems to fix > things up without causing other problems. > > Opinions? > I am removing gradually the .la files when upgrading packages when Fedora do that in the spec file. I do that before the end of each package compilation, so the list of installed files is cleaner and easier to read. That should be done at 80% actually on my build system. Gilles -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page