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

Bug#752789: initramfs-tools: mkinitramfs doesn't honor /usr/share/initramfs-tools/modules



On Mon, Sep 29, 2014 at 7:47 PM, Ben Hutchings <ben@decadent.org.uk> wrote:
> /usr/share/initramfs-tools/modules is the 'shipped' version of
> /etc/initramfs-tools/modules, and is copied to the latter file if it
> does not already exist.  The comment is of course correct in the copy.
> And user-edittable configuration files are always installed in /etc,
> not /usr.
>
> Normally we would include /etc/initramfs-tools/modules in the package as
> a conffile, and then dpkg would take care of preserving any customised
> version.  However, the installer may in some cases add modules to this
> file, which could result in dpkg later claiming that it's been edited by
> the user.
>
> I think the best way to deal with this would be to add a comment
> clarifying which file path is actually read.


Reply to: