Hi,
We're working on creating a new kernel flavor here so we can maintain
a few patches against the standard -default kernel without trashing
peoples' installations (i.e. while you can't have -default and -genesi
at the same time because of the cleanup in post-install, at least if
it stops working or there's a weird bug, you can still go back to
-default without forcing packages, and there would be no package
conflicts if someone added our repo, and it had a higher version of
-default..)
However I've stumbled across some real weirdness in kernel-source.src
- which I then gather builds kernel-source.ppc which then can be used
somehow to build kernel-genesi.ppc and .src. For instance, every
kernel-$flavor.spec seems to be built from the same source somewhere,
with identical changelogs and 99% identical code (the difference being
the swapping of the flavor in many places, but that's it). So far I
have just hacked up a kernel-genesi.spec myself which is building fine
now, but I wondered, where do these files get generated and how can I
make my kernel build take part in this process to build an automated
spec file?
Modifying config.conf, series.conf, adding patches is something I've
been doing for a while so that has never been a problem to make a
custom kernel-default, I would just like to move away from it. Is
there any special documentation or a cheat sheet for how to make a new
kernel flavor? What was the process to create kernel-ps3, for example,
a few versions ago, and how does it get maintained with the rest?
--
Matt Sealey