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

Bug#534170: initramfs-tools: do not install persistent files in initrd on request / if necessary



On Mon, Jun 22, 2009 at 10:47:28AM +0200, Michael Prokop wrote:
> Package: initramfs-tools
> Version: 0.93.3
> Severity: wishlist
> 
> 
> When using MODULES=netboot there are udev rules included in the
> initrd like /etc/udev/rules.d/70-persistent-net.rules and
> /etc/udev/rules.d/70-persistent-cd.rules - which usually doesn't
> make any sense.
> 
> I'm aware that this is deriving from udev's extra/initramfs.hook
> though I'd like to discuss what's the best way to get rid of
> persistent files in the initrd.
> 
> Something like a "delete persistent infos" feature for initrd
> generation would be nice. Building generic initrds works if the
> currently running system doesn't have udev running but on a live
> system building a generic initrd isn't 100% reliable.
> 
> What about providing a file /etc/initramfs-tools/conf.d/blacklist
> which provides a list of files that should not be included in the
> initrd (not enabled by default but just when using BLACKLIST=y in
> /etc/initramfs-tools/initramfs.conf)?

this should be best fixed in the udev hook script itself.

but doesn't sound easy as i can see cases of netboot method,
where you clearly want persistent device naming.




Reply to: