Package: kernel-package
Version: 9.004
Tags: patch
Followup-For: Bug #320055


Hi Manoj, it seems the grep command in my last patch was bogus, as the
autobuilder failed to include the mkvmlinuz support, making 2.6.12-1 unusable
for me.

I am not sure what went wrong, but i have here a smallish patch which should
fix this. Not sure about the 2>&1 >/dev/null part though.

--- /usr/share/kernel-package/rules     2005-07-28 07:22:16.000000000 +0200
+++ rules       2005-08-01 19:04:56.000000000 +0200
@@ -2560,7 +2560,7 @@
                        debian/post-install;                                  \
        fi
 ifeq ($(strip $(NEED_IMAGE_POST_PROCESSING)),YES)
-       if test grep $(IMAGE_POST_PROCESS_TARGET) 
$(IMAGE_POST_PROCESS_DIR)/Makefile 2>&1 >/dev/null; then \
+       if test "`grep -c $(IMAGE_POST_PROCESS_TARGET) 
$(IMAGE_POST_PROCESS_DIR)/Makefile`" != 0; then \
            $(MAKE) INSTALL_MKVMLINUZ=$(INSTALL_MKVMLINUZ_PATH)                 
            \
            ARCH=$(KERNEL_ARCH) -C $(IMAGE_POST_PROCESS_DIR) 
$(IMAGE_POST_PROCESS_TARGET);  \
        fi

Maybe this could become :

        if test "`grep -c $(IMAGE_POST_PROCESS_TARGET) 
$(IMAGE_POST_PROCESS_DIR)/Makefile 2>/dev/null`" != 0; then \

Friendly,

Sven Luther

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-powerpc
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages kernel-package depends on:
ii  dpkg                         1.13.10     Package maintenance system for Deb
ii  dpkg-dev                     1.13.10     Package building tools for Debian
ii  gcc [c-compiler]             4:4.0.0-2   The GNU C compiler
ii  gcc-2.95 [c-compiler]        1:2.95.4-22 The GNU C compiler
ii  gcc-3.3 [c-compiler]         1:3.3.6-7   The GNU C compiler
ii  gcc-3.4 [c-compiler]         3.4.4-5     The GNU C compiler
ii  gcc-4.0 [c-compiler]         4.0.1-3     The GNU C compiler
ii  make                         3.80-9      The GNU version of the "make" util
ii  perl                         5.8.7-4     Larry Wall's Practical Extraction 

Versions of packages kernel-package recommends:
ii  bzip2                       1.0.2-8      high-quality block-sorting file co
ii  libc6-dev [libc-dev]        2.3.2.ds1-22 GNU C Library: Development Librari

-- no debconf information



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

Reply via email to