Re: postinst of linux-image complains if initrd has different file name

2012-04-11 Thread Ben Hutchings
On Wed, 2012-04-11 at 10:39 +0200, Thomas Lange wrote: > > On Wed, 11 Apr 2012 02:44:44 +0100, Ben Hutchings > > said: > > >> If dracut would use the same name for the initrd as initramfs-tools, > >> then there are two programs in /etc/kernel/postinst.d which would > >> write

Re: postinst of linux-image complains if initrd has different file name

2012-04-11 Thread Thomas Lange
> On Wed, 11 Apr 2012 02:44:44 +0100, Ben Hutchings > said: >> If dracut would use the same name for the initrd as initramfs-tools, >> then there are two programs in /etc/kernel/postinst.d which would >> write to the same file. So, IMO dracut must use another file name >>

Re: postinst of linux-image complains if initrd has different file name

2012-04-10 Thread Ben Hutchings
On Tue, 2012-04-10 at 19:10 +0200, Thomas Lange wrote: > Hi, > > when using dracut (017-1) instead of initramfs-tools on a wheezy > machine /var/lib/dpkg/info/linux-image-3.2.0-2-amd64.postinst creates > and complains about a dangling symlink /initrd.img. This is because > dracut creates a initrd

postinst of linux-image complains if initrd has different file name

2012-04-10 Thread Thomas Lange
Hi, when using dracut (017-1) instead of initramfs-tools on a wheezy machine /var/lib/dpkg/info/linux-image-3.2.0-2-amd64.postinst creates and complains about a dangling symlink /initrd.img. This is because dracut creates a initrd file called initramfs-3.2.0-2-amd64.img. This is properly detected