Bug#324351: initrd-tools: /etc/mkinitrd/scripts files not executed if files contain a "."
On Sun, Aug 21, 2005 at 07:56:13PM +0200, Simon Schoar wrote:
> Package: initrd-tools
> Version: 0.1.81.1
> Severity: normal
>
> Files with "." (a.a/a.sh) in their names in /etc/mkinitrd/scripts are ignored
> my mkinitrd.
>
> Is this documented anywhere ?
No, I do not believe so.
I did a quick check and the problem seems to be
that the scripts are run using run-parts (with
no options) which ignores files with dots
in the name. Why it does that, I have no idea.
but it is documented in run-parts(8). Perhaps this
should be reflected in mknitrd(8). Do you want
to make a patch to do that? Alternatively,
it would be easy to replace the call with run-parts
which a simple while loop in mkinitrd.
--
Horms
Reply to: