On Wed, 22 Jul 2020 at 17:07, John Burrell via lfs-dev <lfs-dev@lists.linuxfromscratch.org> wrote: > > I'm experimenting with installing chapters 5 and 6 as a package user. > Can I safely delete the directory $LFS/usr/share/locale for each > package that is reinstalled in Chapter 8? > I assume I can, but thought I should ask in case the locales from > chapter 6 are used in some way in later chapters. > > jb.
It might be possible to "play around" with the LINGUAS variable for some packages. Similarly, do the initial stages of the chroot really need a fully populated, by country_code, man page hierarchy? I am actually looking at binning (or better still not even installing) the Man and Info pages in chapters 5 and 6 as well, so as to reduce the number files that a PkgUser would have to overwrite, later on Along the lines of the way that Thomas does the Multilib installs, I was thinking that rather than a DESTDIR install into $LFS, you could do a DESTDIR into a "local" directory, and then only copy the files you know you need into the $LFS hierarchy. As an example of that. you only need the m4 binary from the M4 package but it, by virtue of being the first package, adds quite a few directories and files. The trouble with that approach, is that the minimal set of directories created up top requires that some parts of the final full hierarchy get created by the install of the first package to want to put something in a directory that's not there yet. Think I'd be tempted to go with creating the FHS hierarchy from the start, rather than a minimal set immediately below the root. -- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page