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
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 debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org
Archive: email@example.com ientia.net">http://firstname.lastname@example.org ientia.net