On Mon, Apr 13 2009, Jean-Luc Coulon (f5ibh) wrote:

> Ok, so it si fine:
> If I remove from /etc/kernel-img.conf the line with the hook:
> postinst_hook = update-grub
>
> and setup the /etc/kernel tree this way:
> .
> |-- postinst.d
> |   |-- 010_initramfs
> |   `-- 090_update-grub
>
> with 010_initramfs being a copy of the file found in the examples 
> directory and 090_update-grub the simple following script:
>
> --------
> #! /bin/sh
> update-grub
> #EOF
> ---------
>
> I get the behaviour I expected.

        If you had waited a bit, it would have worked out of the box
 again: 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 13 Apr 2009 22:52:37 -0500
Source: kernel-package
Binary: kernel-package
Architecture: source all
Version: 12.008
Distribution: unstable
Urgency: low
Maintainer: Manoj Srivastava <sriva...@debian.org>
Changed-By: Manoj Srivastava <sriva...@debian.org>
Description: 
 kernel-package - A utility for building Linux kernel related Debian packages.
Closes: 523931
Changes: 
 kernel-package (12.008) unstable; urgency=low
 .
   * [55b39b3]: Move invocation of postinst hook scripts after
     /etc/kernel/*.d/* scripts A lot of people have update-grub in their
     /etc/kernel-img.conf postint_hook setting. If that is called early,
     the initramfs invocation in /etc/kernel/postinst.d/initramfs has not
     yet happened, so the update grub script does not notice the
     initramfs, making the system unbootable. Yes, the update grub cant
     be moved into /etc/kernel/postinst.d/ too, but this is friendlier.
     Bug fix: "postinst hook script (update-grub) ran before
     /etc/kernel/postinst.d/initramfs.", thanks to Jean-Luc Coulon (f5ibh)
                                                       (Closes: #523931).
   * [e202c29]: Fix the arch passed in for the clean target for arme{l,b}
     The clean target wrks with a minimal setup, since ./debian id
     removed, and thus was nor passing the arch arm for armel and armeb,
     This commit fixes that. Only the clean target was affected.
Checksums-Sha1: 
 0fcca1665185e29b0485f1d4e3ffaea7ef943440 900 kernel-package_12.008.dsc
 fcb20f2218e210ce6b52738d7c82c4138a65ab04 562605 kernel-package_12.008.tar.gz
 6d82c63849f93bffdc76eb260d530004ec8add58 507758 kernel-package_12.008_all.deb
Checksums-Sha256: 
 57f4c8f1059cfed7a6e8480481a9d171db0df8a71adc3ad7a817615636fa98e1 900 
kernel-package_12.008.dsc
 07e24d52b360dc83adebabb6e4cb4bdb949fbf3d76db9c17dab1fe574775f290 562605 
kernel-package_12.008.tar.gz
 84ad977a78624b2f32a75d38eaedd88522c47282f10b1f1ad132162920b66816 507758 
kernel-package_12.008_all.deb
Files: 
 b7d13302af0e69b0187f4a346770e7c2 900 misc optional kernel-package_12.008.dsc
 cb140322f974949e1a3f2ea065653958 562605 misc optional 
kernel-package_12.008.tar.gz
 be3c7c58838a323844339a8f4027db37 507758 misc optional 
kernel-package_12.008_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAknkCyQACgkQIbrau78kQkyAKQCePdZftn5x/xlhf+84eOJhtma6
dgEAni4+7foxXKiVe4W963eEthV0UUbi
=eo/x
-----END PGP SIGNATURE-----


-- 
Any philosophy that can be put "in a nutshell" belongs there. Sydney
J. Harris
Manoj Srivastava <sriva...@acm.org> <http://www.golden-gryphon.com/>  
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