Re: Building a kernel with a patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/10/2014 06:06 PM, Josh Boyer wrote:
> On Wed, Sep 10, 2014 at 5:22 PM, Biggus Gazus <earthwormgaz@xxxxxxxxx> wrote:
>> Hi,
>>
>> Here's the output ...
>>
>> http://fpaste.org/132598/38399914/
>>
>> Here's the spec ...
>>
>> http://fpaste.org/132600/41038420/
>>
>> If you search it for "focusrite" you'll find the three changes I made.
>>
>> Thanks again for any help!
> 
> Your changes appear to be correct to me.  Are you sure you invoked
> rpmbuild with the kernel.spec file you fpasted?  Typically you get
> that error message when you don't have the PatchXXXXX: field added.
> You can alternatively hit this if you've renamed the package, but that
> doesn't appear to be the case here.
> 

Hmm ... seems to work for me.

Applied your 3 kernel.spec changes and then did:

rpmbuild -bp kernel.spec

to build the patched kernel ... I see the following in the log:

+ case "$patch" in
+ patch -p1 -F1 -s
+ ApplyPatch scarlett.patch
+ local patch=scarlett.patch
+ shift
+ '[' '!' -f /root/rpmbuild/SOURCES/scarlett.patch ']'
Patch74912: scarlett.patch

so it did apply AFAICT.  I'm assuming you did put the patch in

~/rpmbuild/SOURCES/scarlett.patch

P.
_______________________________________________
kernel mailing list
kernel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/kernel





[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux