Re: compiling 2.6.12 with the debian patch
On Fri, Aug 19, 2005 at 11:00:47AM -0600, dann frazier wrote:
> On Fri, 2005-08-19 at 16:36 +0300, Teemu Ikonen wrote:
> > Hi all,
> >
> > For a few recent versions of the Debian patch I've been getting the
> > following when trying to compile the 2.6.12 kernel
> > (linux-source-2.6.12-5) with
> > "make-kpkg --added-patches debian kernel_image":
> >
> > test -f applied_patches && rm -f applied_patches
> > make: [stamp-debian] Error 1 (ignored)
> > for patch in /usr/src/kernel-patches/all/2.6.12/apply/debian ; do \
> > if test -x $patch; then \
> > if $patch; then \
> > echo "Patch $patch processed fine"; \
> > echo "$patch" >> applied_patches; \
> > else \
> > echo "Patch $patch failed."; \
> > echo "Hit return to Continue"; \
> > read ans; \
> > fi; \
> > fi; \
> > done
> > E: Can't patch to nonexistent revision (wait until 2006)
> > Patch /usr/src/kernel-patches/all/2.6.12/apply/debian failed.
> > Hit return to Continue
>
> The linux-source tarball already contains the debian patches. See
> http://wiki.debian.net/?DebianKernelTree and
> http://wiki.debian.net/?DebianKernelSource for details.
This does seem to be a bug to me, as although the patches are already
applied, asking them to apply should just result in a noop, not the
script dying. I think that I have isolated the problem, and I will try
and get it fixed for the next release. The easiest work around, as Dann
suggested, is to just ommit debian from --added-patches for now.
--
Horms
Reply to: