[arch-dev-public] [PATCH] Implement a hook-system that allows to add custom code to the initscripts at certain places
Thomas Bächler
thomas at archlinux.org
Wed Aug 26 12:25:05 EDT 2009
Kurt J. Bosch schrieb:
> Thank you for this one. I already tried this with
> initscripts-extras-fbsplash without any problems. :) I
Keep watching initscritps-git, it will change again slightly before I
release it. I hope to keep the hooks API stable after the next
initscripts release though.
Were you able to remove all your hacks that needed to compare the
arguments of stat_busy and stat_done calls to fixed strings? I
particularly disliked those.
> OT: Currently I have to duplicate the CONSOLEFONTS code from rc.sysinit
> and run it after the splash daemon is stopped because setfont destroys
> the splash screen. Could this be moved into a separate daemon scriptlet
> ? ... or even simply dropped since the keymap initcpio hook provides
> this functionality anyway ?
We cannot depend on the initramfs in the real system - once the root is
mounted and the system is started, it's a new game.
I don't know how to solve this right away, can you open a bug report
(haha ...) - seriously, we need a clean way to move this code, I'll
think about it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://www.archlinux.org/pipermail/arch-dev-public/attachments/20090826/c6bd85b6/attachment.pgp>
More information about the arch-dev-public
mailing list