Arthur Marsh writes:
 > Manoj Srivastava wrote, on 2009-04-18 02:51:

 >> 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.

        OK. All that it does is to set manipulate the environment
 variables for the hook scripts.

 > /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

        That is not the same as the example from kernel-package or
 linux-image; these are scripts from initramfs-tools, that do not work
 with kernel-package kernels, apparently intentionally  be the
 initramfs-tools developer.

        You need to place in in these directories scripts you want,
 which take the actions you want. kernel-package has some examples to
 get you started.

 >>> 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.

        So, there are no files on disk, though the metadata still
 exists. So either a previous remove command failed, or an install
 command failed. 

 > 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

        Can you list what is in /lib/modules/2.6.27?

        manoj

-- 
"Now this is a totally brain damaged algorithm.  Gag me with a
smurfette." Buhr, Computer Science 354
Manoj Srivastava <manoj.srivast...@stdc.com> <sriva...@acm.org> 
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C



-- 
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