Re: [lfs-dev] The locales in Chapter 6 of the development book

2020-07-22 Thread Kevin Buckley via lfs-dev
On Wed, 22 Jul 2020 at 17:07, John Burrell via lfs-dev
 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

Re: [lfs-dev] The locales in Chapter 6 of the development book

2020-07-22 Thread Bruce Dubbs via lfs-dev

On 7/22/20 4:06 AM, John Burrell via lfs-dev 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.


AFAIK, the only use of locales in LFS are for tests in Chapter 8.  The 
user may want to change the language after all packages are installed. 
I do not know of any reason that locales installed before Chapter 8 
cannot be removed.


  -- Bruce


--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

[lfs-dev] The locales in Chapter 6 of the development book

2020-07-22 Thread John Burrell via lfs-dev
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.
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page