* [gentoo-soc] Dracut port - weekly progress - week 8
@ 2010-07-20 22:26 Amadeusz Żołnowski
0 siblings, 0 replies; only message in thread
From: Amadeusz Żołnowski @ 2010-07-20 22:26 UTC (permalink / raw
To: gentoo-soc
[-- Attachment #1: Type: text/plain, Size: 2081 bytes --]
Hello everyone,
The past week I spend on integrating Dracut with Genkernel and
eventually manged that [0][1]. How's it done? I've created additional
script (gen_dracut.sh) which is sourced conditionally. My initial idea
(discussed with Andrew Gaffney) was to simply replace the body of
create_initramfs in gen_initramfs.sh with dracut evaluation, but
recently I've got idea to leave existing generation tool and give to
user choice to not use dracut engine but the internal one. It's better
since it's less intrusive and if dracut fails for some reason there's
easy rescue.
How can one use Genkernel with Dracut? (And here comes what's not yet
done… – docs) Just the same as before to generate initramfs, but
difference is in kernel arguments. In most cases no arguments are
needed. Most of things are handled automatically with udev magic. For
details there's man 8 dracut. If you'd like to use it ASAP, just
checkout my repo (branch: gsoc2010) and run it like here:
sudo ./genkernel --local --lvm initramfs
Moreover I was trying to organize Plymouth maintenance. Contacted with
several people and there's a chance for it to be put into Portage tree.
Or… maybe You are a developer willing to handle it?
And thinking of splash stuff… for now I've used Plymouth, but I guess
I'd have to write some module for Dracut supporting old splash for
people who don't like new trendy eye-candy and unnecessarily animating
stuff… ;-)
There's also updated dracut ebuild (see bug #329003 [2]). If we're
around the Dracut itself, unfortunately there's RHEL6 release coming
and that's why there's no time for my latest patches to be merged into
mainline by Harald. Hope the phase will pass quickly and then my
patches will come into.
References:
* [0] my fork: http://github.com/aidecoe/genkernel/tree/gsoc2010
* [1] single patch: http://wklej.org/hash/69a5df3848/
* [2] dracut-006-r1.ebuild (bug #329003):
http://bugs.gentoo.org/show_bug.cgi?id=329003
Cheers,
Amadeusz Żołnowski
--
PGP key: 1024D/C284750D
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-07-20 22:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-20 22:26 [gentoo-soc] Dracut port - weekly progress - week 8 Amadeusz Żołnowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox