1 |
On Mar 23 2018 7:37 AM, Rich Freeman wrote: |
2 |
> On Fri, Mar 23, 2018 at 2:50 AM, Patrick Lauer <patrick@g.o> |
3 |
> wrote: |
4 |
>> |
5 |
>> https://github.com/adjust/gentoo-overlay/tree/master/sys-kernel |
6 |
>> |
7 |
>> This just needs to be cleaned up a bit to be upstreamed, and so far |
8 |
>> I've |
9 |
>> not had the time for it. |
10 |
>> |
11 |
>> It's a solved problem (I'm aware of at least two other ebuilds to do |
12 |
>> the |
13 |
>> same) :) |
14 |
>> |
15 |
> |
16 |
> Yeah, that is certainly one approach. Part of me thinks that |
17 |
> modularizing the initramfs portion would be ideal, and as Benda |
18 |
> suggested making it possible to install the built sources might be |
19 |
> useful (if doing so one would need to patch the file that points to |
20 |
> the build location so that future module builds can find them). This |
21 |
> particular ebuild uses sources in /usr/src but I think it would be |
22 |
> cleaner to just fetch these into the build directory. |
23 |
> |
24 |
> The package I find most frustrating is zfs-kmod, because it needs |
25 |
> fully-built sources and not just prepared sources. I build to a |
26 |
> tmpfs, and re-creating prepared sources using that approach is |
27 |
> trivial, but doing a full rebuild just to update zfs modules is a bit |
28 |
> painful (granted, less so now that I have 12 cores). I've been too |
29 |
> lazy to figure out why zfs needs them... |
30 |
|
31 |
In the past I have had zfs-kmod seriously break my kernel builds. |
32 |
Cleaning that up to be consistent would probably be useful to the |
33 |
general community as a whole IMNSHO. Isn't there a way to set the build |
34 |
and install directories from some env variable? If so, maybe verifying |
35 |
that the core emuilds are consistent would be helpful. Hmmm... in the |
36 |
past I have written utility scripts to check for things like this. |
37 |
Would it be reasonable to add those checks to repoman (or whatever it is |
38 |
called today)? |
39 |
|
40 |
Hope I am not out of line asking this on this forum. |
41 |
|
42 |
EBo -- |