[PATCH] kernel.spec: let flavors/variants end with "+$flavor" in the uname
Dave Jones
davej at redhat.com
Tue Jun 25 16:22:01 UTC 2013
On Fri, Jun 14, 2013 at 04:02:22PM +0200, Harald Hoyer wrote:
> On 06/13/2013 09:08 AM, harald at redhat.com wrote:
> >
> > This patch changes the version of kernel flavor/variants to end
> > in "+$flavor" instead of ".$flavor". This makes it easier to detect
> > a flavor and a parser can separate it from the architecture.
> >
> > 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.
> > ---
> >
> > After talking to the rpm team, "+" is the only char left as a separator.
> >
> > Kernel compiles and runs:
> > $ uname -r
> > 3.10.0-0.rc5.git0.1.fc20.x86_64+debug
> > $ echo /lib/modules/*debug
> > /lib/modules/3.10.0-0.rc5.git0.1.fc20.x86_64+debug
>
>
> Any comments?
Let's just apply it and see what happens.
Needs a refresh against current though..
Applying: kernel.spec: let flavors/variants end with "+$flavor" in the uname
error: patch failed: kernel.spec:1871
error: kernel.spec: patch does not apply
Dave
More information about the kernel
mailing list