Manoj Srivastava wrote, on 2009-04-18 02:51:
severity 524499 normal
tags 524499 +moreinfo
thanks
Hi,
On Fri, Apr 17 2009, Arthur Marsh wrote:
make-kpkg --initrd linux-image
against the 2.6.27 kernel.org source.
The built package when installed did not have an initrd and when I
Did you drop in a hook script to create the initrd in
/etc/kernel? As the NEWS.Debian said, kernel-package no longer does the
creation by default.
I used -initrd on the make-kpkg command line.
ls -alR /etc/kernel
/etc/kernel:
total 32
drwxr-xr-x 6 root root 4096 2009-04-13 20:36 .
drwxr-xr-x 113 root root 12288 2009-04-18 02:57 ..
drwxr-xr-x 2 root root 4096 2009-04-10 20:26 postinst.d
drwxr-xr-x 2 root root 4096 2009-04-10 20:26 postrm.d
drwxr-xr-x 2 root root 4096 2009-04-13 20:08 preinst.d
drwxr-xr-x 2 root root 4096 2009-04-13 20:08 prerm.d
/etc/kernel/postinst.d:
total 12
drwxr-xr-x 2 root root 4096 2009-04-10 20:26 .
drwxr-xr-x 6 root root 4096 2009-04-13 20:36 ..
-rwxr-xr-x 1 root root 264 2009-03-20 06:46 initramfs-tools
/etc/kernel/postrm.d:
total 12
drwxr-xr-x 2 root root 4096 2009-04-10 20:26 .
drwxr-xr-x 6 root root 4096 2009-04-13 20:36 ..
-rwxr-xr-x 1 root root 220 2009-03-20 06:46 initramfs-tools
/etc/kernel/preinst.d:
total 8
drwxr-xr-x 2 root root 4096 2009-04-13 20:08 .
drwxr-xr-x 6 root root 4096 2009-04-13 20:36 ..
/etc/kernel/prerm.d:
total 8
drwxr-xr-x 2 root root 4096 2009-04-13 20:08 .
drwxr-xr-x 6 root root 4096 2009-04-13 20:36 ..
amars...@am64:~$
I am changing the make-kpkg man page to clarify this.
attempted to remove the package had errors which required using
dpkg -P with force options.
Do you have a log of those errors? Given the information here,
it is hard to tell what the problem was.
Fortunately klipper still had the error text I had copied, although this
may be from after my first attempt at removal:
dpkg: serious warning: files list file for package `linux-2.6.27'
missing, assuming package has no files currently installed.
101942 files and directories currently installed.)
Removing linux-image-2.6.27 ...
Examining /etc/kernel/prerm.d.
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools
Purging configuration files for linux-image-2.6.27 ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools
rmdir: failed to remove `/lib/modules/2.6.27': Directory not empty
Arthur.
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org