Gentoo Archives: gentoo-genkernel

From: Sebastian Pipping <sping@g.o>
To: gentoo-genkernel@l.g.o
Cc: "Rick \\\"Zero_Chaos\\\" Farina" <zerochaos@g.o>
Subject: [gentoo-genkernel] Re: genkernel required apps versioning
Date: Sun, 08 Jul 2012 22:40:21
Message-Id: 4FFA0C36.7010807@gentoo.org
1 Hello Rick,
2
3
4 I dare moving this thread to the genkernel list, as it doesn't seem
5 private to me and could use more input, specially xake's, see below.
6
7
8 On 07/08/2012 10:55 PM, Rick "Zero_Chaos" Farina wrote:
9 > I believe we have a fairly major issue in how we handle genkernel
10 > right now. Every time I install genkernel I modify
11 > /etc/genkernel.conf which means when an upgrade or something else
12 > happens I have to either re-modify genkernel.conf again, or simply
13 > refuse the new config file and stick with the old... guess which
14 > one I pick...
15
16 agreed. Peter/xake has voiced concerns about this before, too.
17
18
19 > Point being I think a lot of bugs like this one:
20 > https://bugs.gentoo.org/show_bug.cgi?id=419511 come into being
21 > because people are not updating their config files properly.
22
23 I'm not sure if that's really what happened there. Nevertheless, I
24 see your point.
25
26
27 > I propose we break it into two different config files (or not use
28 > a config file at all for the versioning as really the user
29 > shouldn't be changing things like that only genkernel devs
30 > should).
31 >
32 > Thoughts?
33
34 We could move variables ..
35
36 {BUSY_BOX,LVM,MDADM,DMRAID,ISCSI,FUSE,UNIONFS,GPG}_{VER,SRCTAR,DIR,BINCACHE}
37
38 .. to another file and source that file on top of genkernel.conf, or
39 something like that.
40
41 It seems there are /usr/share/genkernel/arch/*/config.sh and
42 /usr/share/genkernel/defaults/config.sh already. Interestingly, the
43 defaults/config.sh does not seem to be taken into account by anthing,
44 though I may be missing something. Am I?
45
46 One way could be to move the version stuff to defaults/config.sh and
47 add a command to source that one to all the arch-specific ones.
48
49 Best,
50
51
52
53 Sebastian

Replies

Subject Author
Re: [gentoo-genkernel] Re: genkernel required apps versioning "Rick \\\"Zero_Chaos\\\" Farina" <zerochaos@g.o>