2.6.29.1-102.fc11 --with vanilla broken

Chuck Ebbert cebbert at redhat.com
Tue Apr 28 15:08:05 UTC 2009


On Wed, 22 Apr 2009 18:18:07 -0400
Chuck Anderson <cra at WPI.EDU> wrote:

> ERROR: Patch  linux-2.6-build-nonintconfig.patch  not listed as a 
> source patch in specfile
> error: Bad exit status from /var/tmp/rpm-tmp.8pegaB (%prep)
> 
> this is due to the following code in ApplyPatch():
> 
>   if ! egrep "^Patch[0-9]+: $patch\$" %{_specdir}/%{name}.spec ; then
>     if [ "${patch:0:10}" != "patch-2.6." ] ; then
>       echo "ERROR: Patch  $patch  not listed as a source patch in specfile"
>       exit 1
>     fi
>   fi 2>/dev/null
> 

It's trying to grep in {_specdir}/kernel-vanilla.spec because of the ugly name-munging
that's used to build the vanilla kernel.

Fixed in 2.6.29.1-114:

  if ! egrep "^Patch[0-9]+: $patch\$" %{_specdir}/${RPM_PACKAGE_NAME%%%%%{?variant}}.spec ; then




More information about the Fedora-kernel-list mailing list