applying patch 2.6.11.7

Place to discuss Fedora and/or Red Hat

applying patch 2.6.11.7

Postby Dutch-Man » Sun Apr 10, 2005 8:22 am

hi

i want to build an kernel rpm with patch 2.6.11.7 applied
I downloaded this patch, and moved it to the SOURCES dir.

i changed the line in the spec-file:

NEW Line=
#
# Patches 0 through 100 are meant for core subsystem upgrades
#
Patch1: patch-2.6.11.7.bz2

and followd up the how-to, here, on this site

after
rpmbuild -bp --target=i686 kernel-2.6.spec

a question appeard, and siad that a earlier patch has been found, Assume [n]
i pressed y, followed by enter

Is that OK?
Last edited by Dutch-Man on Sun Apr 10, 2005 8:32 am, edited 1 time in total.
Dutch-Man
n00b
n00b
 
Posts: 2
Joined: Sun Apr 10, 2005 7:56 am

Postby Dutch-Man » Sun Apr 10, 2005 8:31 am

see here the output
+ echo 'Patch #1710 (linux-2.6.11-ext3-release-race.patch):'
Patch #1710 (linux-2.6.11-ext3-release-race.patch):
+ patch -p1 -s
Reversed (or previously applied) patch detected! Assume -R? [n] i type y here

thank
Dutch-Man
n00b
n00b
 
Posts: 2
Joined: Sun Apr 10, 2005 7:56 am

Postby Void Main » Sun Apr 10, 2005 6:46 pm

There are actually two entries that need to be added to a spec file for each patch. You have the "Patch: blah.patch" and then you will see down farther in the spec file you need a "%patch1 -p1". This looks like a large patch and might very well screw up other patches down the line.
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA


Return to Fedora/Red Hat

Who is online

Users browsing this forum: No registered users and 3 guests

cron