Package: kernel-package
Version: 8.132
Severity: normal
Tags: patch

Trying to build a kernel image with make-kpkg I get the following error:

$ make-kpkg --added-patches xen --revision xen1 --rootcmd fakeroot kernel_image
/bin/sh: line 1: echo /usr/src/kernel-patches/i386/unpatch/xen: No such file or 
directory
/bin/sh: line 1: echo /usr/src/kernel-patches/i386/unpatch/xen: No such file or 
directory
/usr/share/kernel-package/rules:1501: *** Could not find un-patch scripts for 
xen.  Stop.

This seems to fix it (the change is in the space right after the echo):

--- kernel/rules.old    2005-04-30 19:18:51.000000000 +0200
+++ kernel/rules        2005-04-30 19:22:36.000000000 +0200
@@ -1481,7 +1481,7 @@
                               then echo 
"$(VERSIONED_ALL_PATCH_UNPATCH)/$$name";   \
                             elif [ -x "$(DIR_PATCH_APPLY)/$$name"   ] &&       
    \
                                  [ -x "$(DIR_PATCH_UNPATCH)/$$name" ]; then    
    \
-                               echo" $(DIR_PATCH_UNPATCH)/$$name";             
    \
+                               echo "$(DIR_PATCH_UNPATCH)/$$name";             
    \
                             elif [ -x "$(ALL_PATCH_APPLY)/$$name"   ] &&       
    \
                                  [ -x "$(ALL_PATCH_UNPATCH)/$$name" ]; then    
    \
                                echo "$(ALL_PATCH_UNPATCH)/$$name";             
    \

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.11.7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages kernel-package depends on:
ii  dpkg                          1.10.27    Package maintenance system for Deb
ii  dpkg-dev                      1.10.27    Package building tools for Debian
ii  gcc [c-compiler]              4:3.3.5-3  The GNU C compiler
ii  gcc-3.3 [c-compiler]          1:3.3.5-12 The GNU C compiler
ii  gcc-3.4 [c-compiler]          3.4.3-12   The GNU C compiler
ii  gcc-4.0 [c-compiler]          4.0-0pre10 The GNU C compiler
ii  make                          3.80-9     The GNU version of the "make" util
ii  perl                          5.8.4-8    Larry Wall's Practical Extraction 
ii  tcc [c-compiler]              0.9.22-2   The smallest ANSI C compiler

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to