Building a kernel with a patch

Paul Bolle pebolle at tiscali.nl
Mon Sep 22 17:05:16 UTC 2014


On Mon, 2014-09-22 at 17:29 +0100, Biggus Gazus wrote:
> I turned up a couple of similar threads on forums, it's good that the
> answer to this is now public to save anyone else this headache!

Even if those threads weren't the same issue: should we adjust the regex
I quoted in my previous message to allow trailing whitespace?

> Now I get this ...
>
> + '[' '!' -f /home/rpmbuilder/rpmbuild/SOURCES/scarlett.patch ']'
> Patch74912: scarlett.patch
> + case "$patch" in
> + patch -p1 -F1 -s
> 1 out of 3 hunks FAILED -- saving rejects to file
> sound/usb/mixer.c.rej
> Reversed (or previously applied) patch detected! Assume -R? [n] n
> Apply anyway? [n] n
> 1 out of 1 hunk ignored -- saving rejects to file
> sound/usb/quirks-table.h.rej
> error: Bad exit status from /var/tmp/rpm-tmp.FKUQlR (%prep)
> 
> 
> So I probably need to adjust the patch, but it's progress.

Yes, it seems like the patch doesn't apply. You'll probably figure out
what needs adjusting...


Paul Bolle




More information about the kernel mailing list