Re: [PATCH 5/6] kbuild: Append RPM release to $KERNELRELEASE

Arun Sharma
2011-05-20T20:59:52Z

On Tue, May 17, 2011 at 10:13:55PM +0200, Michal Marek wrote:
>
> Please stop decorating the kernel release string for the sake of make
> rpm, thanks. If you really want the kernel release string match rpm's
> %{version}-%{release}, how about this: Let the user set
> CONFIG_LOCALVERSION=-<number> and check in make rpm if $KERNELRELEASE
> ends with -<number>. If so, use <number> in the Release: field and the
> rest in Version:, otherwise use the same scheme as before. That way, you
> won't force a new kernel release numbering scheme on anyone.

Turns out that even this patch isn't sufficient for what we were trying to
do. Let's drop this patch for now. The other patches are independent
and should still apply.

-Arun