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

Bug#298120: allow per-version scripts



On Fri, Mar 04, 2005 at 10:11:54PM +0100, martin f krafft wrote:
> Package: initrd-tools
> Version: 0.1.77
> Severity: wishlist
> Tags: patch
> 
> I just packaged kernel-patch-suspend2, which uses
> /etc/mkinitrd/scripts. The problem is that any script in that
> directory are run for all kernel versions, even if not applicable.
> 
> My suggestion is to use the same approach as kernel-package and to
> allow scripts to be installed into /etc/mkinitrd/scripts/$VERSION,
> which is processed after /etc/mkinitrd/scripts. The following patch
> enables this:

Sounds reasonable to me. I have one questions about the resulting initrd. How
does mkinitrd make sure (or not) that the programs called in the scripts are
(or not) included in the initrd, and what about the libraries used ? 

Friendly,

Sven Luther




Reply to: