Patch for kernel variants/flavors

Josh Boyer jwboyer at redhat.com
Tue Jun 11 14:36:30 UTC 2013


On Tue, Jun 11, 2013 at 04:34:40PM +0200, Thorsten Leemhuis wrote:
> Hi!
> 
> Harald Hoyer wrote on 11.06.2013 16:06:
> > Here is a patch for the kernel.spec, which changes the version of kernel
> > flavor/variants to end in "-$flavor" instead of ".$flavor". [...]
> 
> Patch didn't make it trough afaics.

Yeah.  I don't know why.

> > With that change we can correct kernel-install (of systemd) to call
> > new-kernel-package with --package kernel-$flavor, because the $flavor can easily
> > be extracted from the version string.
> > 
> > Another solution would be to name the default kernel to have a flavor "default"
> > like SUSE does, but this does not look nice.
> 
> Having been involved with various things around kernel pkgs from Fedora
> (including kmods as used in RPM Fusion): It would make a lot of scripts
> I used or used a whole lot easier if the stock kernel would have a
> flavor, too. So I'm all for giving it a name. Ubuntu, btw, calls the
> standard kernel "generic".

In previous discussions with Harald, he just meant having it show up in
the installed files and uname.  The actual RPM name would still just be
'kernel', so I don't think it would help you there.

josh


More information about the kernel mailing list