Re: [PATCH v9] dracut: add support for custom locale definitions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Thomas !

Sorry for my late reply...

On Thu, 17/05/2016 at 12.12 +0200, Thomas Renninger wrote:
> On Thursday, April 21, 2016 02:30:41 PM Guido Trentalancia wrote:
> > Hello Harald !
> > 
> > On Thu, 21/04/2016 Guido Trentalancia wrote:
> > > > Compile and install locale definitions using localedef from GNU
> > > > libc or,
> > > > if locale definitions cannot be compiled but are available on
> > > > the
> > > > system
> > > > as split definitions, just install them.
> > > > 
> > > > The resulting locale definitions archive contains at most two
> > > > different
> > > > locale definitions, therefore its size is relatively small.
> > > > 
> > > > Add support for localised messages from core packages
> > > > (LC_MESSAGES).
> > > 
> > > Do we really need this in the initramfs?
> > 
> > It's a killer functionality !!! And it requires very little extra
> > disk
> > space compared to the actual initramfs. You know, we tend not to
> > use
> > the floppy disk anymore nowadays !...
> 
> Linux runs on platforms you cannot lift, but it may run on platforms
> you
> can hardly see. Dracut is meant to be platform independent and may
> also
> run on platforms which memory/storage devices are very expensive or
> just
> very small.
> 
> In general initramfs is precious.

I agree with you.

> Without having a closer look at the whole patchset.., but if this
> gets
> in, it should certainly be configurable or a separate module
> (10i18n_full?) if this is possible.

It is already configurable (and enabled by default, as we cannot
predict the user knows the English language).

Please use --msg-localisation and --no-msg-localisation to enable and
disable the feature.

> How much would the initrd about grow in a real number?

The difference between a 4.5.4 kernel initramfs fully localised with
the Italian language and a 4.5.4 kernel initramfs without full
localisation support (English-only messages) is 810 kilobytes.

> 
>    Thomas
> 


Best regards,

Guido
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux