Package: kernel-package
Version: 12.009
Severity: normal

Hi,

the current kernel-package version fails to clean for kernel 2.6.22 and before.
kernel-package breaks on the absence of the Documentation/lguest directory.

The file /usr/share/kernel-package/ruleset/targets/common.mk contains:

  $(MAKE) $(FLAV_ARG) $(EXTRAV_ARG) $(CROSS_ARG) ARCH=$(KERNEL_ARCH) -C 
Documentation/lguest clean

which unconditionally tries to clean the Documentation/lguest directory.
Removing this line fixes the problem for me. I would suggest adding a simple
check (like image.mk has):

  test ! -d Documentation/lguest  || $(MAKE) ...

(On a related note, who actually thought it was a good idea to put up C source
files in the Documentation directory in the first place? :-S)

Gr.

Matthijs

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22.6 (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages kernel-package depends on:
ii  binutils                     2.18-1      The GNU assembler, linker and bina
ii  build-essential              11.3        informational list of build-essent
ii  debianutils                  3.0.1       Miscellaneous utilities specific t
ii  file                         4.21-3      Determines file type using "magic"
ii  gettext                      0.16.1-2    GNU Internationalization utilities
ii  make                         3.81-3      The GNU version of the "make" util
ii  module-init-tools            3.3-pre11-4 tools for managing Linux kernel mo
ii  po-debconf                   1.0.9       manage translated Debconf template
ii  util-linux                   2.13-8      Miscellaneous system utilities

kernel-package recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to