* [RFC] console_init.c in i18n module
@ 2010-06-14 6:31 Amadeusz Żołnowski
[not found] ` <20100614083102.16f35a59-YdJE6FOikKfe60hTmSeVGxfX6IwIUJvj@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Amadeusz Żołnowski @ 2010-06-14 6:31 UTC (permalink / raw)
To: initramfs-u79uwXL29TY76Z2rM5mHXA
[-- Attachment #1: Type: text/plain, Size: 1037 bytes --]
Hello everyone,
I'm trying to find a way to make i18n distro independent or at least
more flexible.
Module 10redhat-i18n depends on two programs from RH initscripts
package: console_init and console_check. Those tools are called by udev
and if we deliver just keymaps and few things like loadkey we're fine.
But… console_* are RH specific stuff (included in initscript package).
I see two easy approaches:
* Putting its sources into Dracut tree beside switch_root.c.
They don't depend on any library, so it should be easy.
* Rewrite as a shell script (but it's redundant work if the first
way is OK).
Moreover console_check isn't installed by Dracut at all, but it's in
default “10-console.rules” rule. This tool just setup speed for serial
console which we do by kernel params, so I guess we can skip it. In
that case modified 10-console.rules should be delivered inside i18n
module.
What do you think about it?
Cheers,
Amadeusz Żołnowski
--
PGP key: 1024D/C284750D
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [RFC] console_init.c in i18n module
[not found] ` <20100614083102.16f35a59-YdJE6FOikKfe60hTmSeVGxfX6IwIUJvj@public.gmane.org>
@ 2010-06-14 6:46 ` Harald Hoyer
0 siblings, 0 replies; 2+ messages in thread
From: Harald Hoyer @ 2010-06-14 6:46 UTC (permalink / raw)
To: Amadeusz Żołnowski; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA
On 06/14/2010 08:31 AM, Amadeusz Żołnowski wrote:
> Hello everyone,
>
> I'm trying to find a way to make i18n distro independent or at least
> more flexible.
>
> Module 10redhat-i18n depends on two programs from RH initscripts
> package: console_init and console_check. Those tools are called by udev
> and if we deliver just keymaps and few things like loadkey we're fine.
> But… console_* are RH specific stuff (included in initscript package).
> I see two easy approaches:
>
> * Putting its sources into Dracut tree beside switch_root.c.
> They don't depend on any library, so it should be easy.
> * Rewrite as a shell script (but it's redundant work if the first
> way is OK).
>
> Moreover console_check isn't installed by Dracut at all, but it's in
> default “10-console.rules” rule. This tool just setup speed for serial
> console which we do by kernel params, so I guess we can skip it. In
> that case modified 10-console.rules should be delivered inside i18n
> module.
>
> What do you think about it?
>
>
> Cheers,
> Amadeusz Żołnowski
>
I would be happy, if we had a shell replacement, or a small rewrite without the
libglib (huge lib only referenced by console_init).
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-06-14 6:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-14 6:31 [RFC] console_init.c in i18n module Amadeusz Żołnowski
[not found] ` <20100614083102.16f35a59-YdJE6FOikKfe60hTmSeVGxfX6IwIUJvj@public.gmane.org>
2010-06-14 6:46 ` Harald Hoyer
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.