Bug#573762: shouldn't include mdadm into initramfs at all if INITRDSTAT='none'

Marc Haber mh+debian-bugs at zugschlus.de
Tue Mar 16 19:55:02 UTC 2010


reopen 573762
thanks

On Tue, Mar 16, 2010 at 08:37:10PM +0100, Marc Haber wrote:
> On Tue, Mar 16, 2010 at 03:04:25PM +0100, martin f krafft wrote:
> > also sprach Marc Haber <mh+debian-bugs at zugschlus.de> [2010.03.16.1432 +0100]:
> > > How do I do this? Putting an "exit 0" script in
> > > /etc/initramfs-tools/hooks/mdadm doesn't seem to prevent
> > > /usr/share/initramfs-tools/hooks/mdadm from being executed.
> > 
> > Yes, that should work. Please check update-initramfs -v output.
> 
> Thanks for the pointer. The file was not executeable.

I was too fast. There is no override mechanism.

/usr/sbin/mkinitramfs says:
| run_scripts /usr/share/initramfs-tools/hooks
| run_scripts "${CONFDIR}"/hooks

How can I override the mdadm hook script then?

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 3221 2323190





More information about the pkg-mdadm-devel mailing list