1 |
On 23:26 Sat 03 Apr , Amadeusz Żołnowski wrote: |
2 |
> I'd like to work on Dracut port to Gentoo. |
3 |
|
4 |
Great! |
5 |
|
6 |
> I've got a bit experience with initramfs. Have root in encrypted LVM |
7 |
> PV. Standard genkernel initramfs' init needed a bit of modification for |
8 |
> that. Later I wrote my own with support for uswsusp plus custom |
9 |
> configuration of BusyBox. I've got a bit fun with that therefore Dracut |
10 |
> idea attracted my attention. |
11 |
|
12 |
It sounds like you have some experience writing in shell, then, which is |
13 |
good. |
14 |
|
15 |
> I've looked a bit in the latest Dracut sources. Basic image builds well, |
16 |
> but there're are problems with tests. Paths needs fixes for Gentoo, but |
17 |
> instead of a fork better would be to create separate config which would |
18 |
> give ease to customize Dracut for other distros. Just for example, |
19 |
> script for uswsusp assumes that resume is in /usr/sbin/ since in Gentoo |
20 |
> it's in /usr/lib/suspend/. Unfortunately path is hardcoded there. |
21 |
|
22 |
Have you contacted any upstream Dracut developers to discuss your idea |
23 |
with them? It is critical that we do things that can go upstream. |
24 |
|
25 |
Another option is along the lines of how things work in LTSP. There's a |
26 |
set of generic task scripts that can be overridden by distro-specific |
27 |
ones named identically but in separate directories. |
28 |
|
29 |
> When Dracut is fully brought to life with Gentoo, next steps would be |
30 |
> create ebuild and finally integrate with genkernel. |
31 |
|
32 |
Agreed -- genkernel integration is key so this will get into our |
33 |
LiveCDs. Another place that may require modifications if Dracut isn't a |
34 |
perfect drop-in replacement for existing genkernel code is Catalyst, our |
35 |
LiveCD generator. Our current initrds accept quite a few boot-time |
36 |
options that will need to somehow be handled. |
37 |
|
38 |
-- |
39 |
Thanks, |
40 |
Donnie |
41 |
|
42 |
Donnie Berkholz |
43 |
Admin, Summer of Code |
44 |
Gentoo Linux |
45 |
Blog: http://dberkholz.wordpress.com |