Building a kernel with a patch

Paul Bolle pebolle at tiscali.nl
Mon Sep 22 07:56:24 UTC 2014


On Mon, 2014-09-22 at 00:41 -0400, Bastien Nocera wrote:
> ----- Original Message -----
> > That was a good idea actually, I bet it's something like that, but no,
> > still got the same problem  :(
> > 
> > [rpmbuilder at biggusgazzus SPECS]$ ls -al ../SOURCES/ | grep scar
> > -rw-rw-r-- 1 rpmbuilder rpmbuilder 46259 Sep 8 21:47 scarlett.patch
> 
> I'm putting my money on the patch number being too high and ignored.
> If that's the case, a bug report is in order.

And my money is on a trailing space! Try searching
http://fpaste.org/132600/41038420/ for "scarlett.patch " in your
browser. 

Note the trailing space. Probably caused by
    if ! grep -E "^Patch[0-9]+: $patch\$" %{_specdir}/${RPM_PACKAGE_NAME%%%%%{?variant}}.spec ; then

See the escaped dollar character. [Insert often quoted line about
"regular expressions" and "two problems" here.]


Paul Bolle



More information about the kernel mailing list