Package: kernel-package
Version: 10.019
Severity: normal
If you add the following lines to /etc/kernel-img.conf:
postinst_hook = /boot/grub/kernel_grub_conf.sh
postrm_hook = /boot/grub/kernel_grub_rm.sh
The postinst and postrm scripts will fail with exit code 128,
respectively. The /boot/grub/kernel_grub_*.sh scripts are definitely
exiting with "exit 0" (as can be demonstrated by changing the first
line to be "#!/bin/sh -vx"). However, the postinst and postrm scripts
are somehow exiting with an exit code of 128.
This problem can be worked around by not using the *_hook feature, but
instead putting in symlinks to those files in /etc/kernel/postinst.d
and /etc/kernel/postrm.d instead. But nevertheless the fact that
using the postinst_hook and postrm_hook features causes the dpkg
postinst and postrm scripts to fail is still a bug.
- Ted
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-rc6
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages kernel-package depends on:
ii dpkg 1.13.11.0.1 package maintenance system for Deb
ii dpkg-dev 1.13.11 package building tools for Debian
ii file 4.15-2 Determines file type using "magic"
ii gcc [c-compiler] 4:4.0.2-2 The GNU C compiler
ii gcc-3.4 [c-compiler] 3.4.5-1 The GNU C compiler
ii gcc-4.0 [c-compiler] 4.0.2-5 The GNU C compiler
ii gettext 0.14.5-2 GNU Internationalization utilities
ii make 3.80+3.81.b4-1 The GNU version of the "make" util
ii perl 5.8.7-10 Larry Wall's Practical Extraction
ii po-debconf 0.9.1 manage translated Debconf template
Versions of packages kernel-package recommends:
ii bzip2 1.0.2-11 high-quality block-sorting file co
ii libc6-dev [libc-dev] 2.3.5-9 GNU C Library: Development Librari
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]