* Michal Suchanek <[email protected]> [Don Jul 22, 2010 at 03:05:27 
+0200]:

> When I build a Squeeze live CD using live-helper the build fails when
> mdadm package is included on the CD because no initramfs is generated.

[...]
> Setting up initramfs-tools (0.97.2) ...
> update-initramfs: deferring update (trigger activated)
> Setting up linux-image-2.6.32-5-686 (2.6.32-15) ...
> Running depmod.
> Running update-initramfs.
> update-initramfs: Generating /boot/initrd.img-2.6.32-5-686
> sed: can't read /etc/mdadm/mdadm.conf: No such file or directory
> E: /usr/share/initramfs-tools/hooks/mdadm failed with return 2.
> Examining /etc/kernel/postinst.d.
> run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.32-5-686 
> /boot/vmlinuz-2.6.32-5-686
[...]

Additional information for martin: initramfs-tools >= 0.97 execute
hook scripts under 'set -e' so they have the option to cancel the
initramfs build process if they notice a severe problem.

HTH && regards,
-mika-

Attachment: signature.asc
Description: Digital signature

Reply via email to