Gentoo Archives: gentoo-soc

From: "Amadeusz Żołnowski" <aidecoe@×××××××.name>
To: gentoo-soc@l.g.o
Subject: [gentoo-soc] Dracut port - weekly progress - week 8
Date: Tue, 20 Jul 2010 22:26:58
Message-Id: 20100721002633.7604ebba@aidecoe.name
1 Hello everyone,
2
3 The past week I spend on integrating Dracut with Genkernel and
4 eventually manged that [0][1]. How's it done? I've created additional
5 script (gen_dracut.sh) which is sourced conditionally. My initial idea
6 (discussed with Andrew Gaffney) was to simply replace the body of
7 create_initramfs in gen_initramfs.sh with dracut evaluation, but
8 recently I've got idea to leave existing generation tool and give to
9 user choice to not use dracut engine but the internal one. It's better
10 since it's less intrusive and if dracut fails for some reason there's
11 easy rescue.
12
13 How can one use Genkernel with Dracut? (And here comes what's not yet
14 done… – docs) Just the same as before to generate initramfs, but
15 difference is in kernel arguments. In most cases no arguments are
16 needed. Most of things are handled automatically with udev magic. For
17 details there's man 8 dracut. If you'd like to use it ASAP, just
18 checkout my repo (branch: gsoc2010) and run it like here:
19 sudo ./genkernel --local --lvm initramfs
20
21 Moreover I was trying to organize Plymouth maintenance. Contacted with
22 several people and there's a chance for it to be put into Portage tree.
23 Or… maybe You are a developer willing to handle it?
24
25 And thinking of splash stuff… for now I've used Plymouth, but I guess
26 I'd have to write some module for Dracut supporting old splash for
27 people who don't like new trendy eye-candy and unnecessarily animating
28 stuff… ;-)
29
30 There's also updated dracut ebuild (see bug #329003 [2]). If we're
31 around the Dracut itself, unfortunately there's RHEL6 release coming
32 and that's why there's no time for my latest patches to be merged into
33 mainline by Harald. Hope the phase will pass quickly and then my
34 patches will come into.
35
36 References:
37
38 * [0] my fork: http://github.com/aidecoe/genkernel/tree/gsoc2010
39 * [1] single patch: http://wklej.org/hash/69a5df3848/
40 * [2] dracut-006-r1.ebuild (bug #329003):
41 http://bugs.gentoo.org/show_bug.cgi?id=329003
42
43
44 Cheers,
45 Amadeusz Żołnowski
46
47 --
48 PGP key: 1024D/C284750D

Attachments

File name MIME type
signature.asc application/pgp-signature