[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



On Wed, 2012-04-11 at 10:39 +0200, Thomas Lange wrote:
> >>>>> On Wed, 11 Apr 2012 02:44:44 +0100, Ben Hutchings <ben@decadent.org.uk> 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
>     >> for its initrd and the postinst of linux-image should support initrd
>     >> file names like initramfs...... What's your oppinion?
> 
>     > I think dracut and initramfs-tools should each conflict with
>     > linux-initramfs-tool.
> Mmm, I think that's not possible.  The linux-image package depends on
> initramfs-tools or linux-initramfs-tool (see below). If dracut
> conflicts with linux-initramfs-tool it can't be installed since the
> linux-image package does not (yet) list dracut in its dependency
> list.

WTF?  dracut provides linux-initramfs-tool.

> Additionally initramfs-tools currently provides
> linux-initramfs-tool, so why should it now conflict with it?
[...]

Because we don't want more than one installed.

Ben.

-- 
Ben Hutchings
It is easier to change the specification to fit the program than vice versa.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: