Linux Archive

Linux Archive (
-   Debian Kernel (
-   -   Bug#591056: hook/boot scripts in /etc/initramfs-tools should override those in /u/s/initramfs-tools (

Christoph Anton Mitterer 07-31-2010 02:18 PM

Bug#591056: hook/boot scripts in /etc/initramfs-tools should override those in /u/s/initramfs-tools
Package: initramfs-tools
Version: 0.97.2
Severity: wishlist


It's already extremely nice that initramfs-tools allows adding hook/boot scripts to
/etc/initramfs-tools/hooks/ and /etc/initramfs-tools/scripts/ in addition to
/usr/share/initramfs-tools/hooks/ and /usr/share/initramfs-tools/scripts/.

IMO it would be even nicer, if those in /etc override those in /usr.

E.g. you have in the package lvm2 the following scripts:

Now the way they work may not fit my custom setup so I add:

If the later exists than the corresponding hook-script (of the same name) in
/usr/share/initramfs-tools/hooks/ should not run and the corresponding boot
script in /usr/share/initramfs-tools/scripts/ should not be copied to the
initramfs image.

It would however be nice, if a warning (for each of them) is printed when
generating the initramfs.
Otherwise users might accidentally override important scripts :)


To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact

All times are GMT. The time now is 07:36 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.