FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 07-31-2010, 02:18 PM
Christoph Anton Mitterer
 
Default 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


Hi.

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:
/usr/share/initramfs-tools/hooks/lvm2
/usr/share/initramfs-tools/scripts/local-top/lvm2

Now the way they work may not fit my custom setup so I add:
/etc/initramfs-tools/hooks/lvm2
/etc/initramfs-tools/scripts/local-top/lvm2

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


Cheers,
Chris.



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100731141833.27503.13288.reportbug@heisenberg.sc ientia.net">http://lists.debian.org/20100731141833.27503.13288.reportbug@heisenberg.sc ientia.net
 

Thread Tools




All times are GMT. The time now is 11:28 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org