From 45395e8d6915565e655bd4db6d63ea30945bdc1b Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Sat, 6 Oct 2007 18:35:32 +0200 Subject: [PATCH] Deactivate the mdadm stuff inside the build-initramfs script --- debian/changelog | 1 - etc/grml/fai/config/scripts/GRMLBASE/10-build-initramfs | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/debian/changelog b/debian/changelog index a6821a1..873f8ed 100644 --- a/debian/changelog +++ b/debian/changelog @@ -25,7 +25,6 @@ grml-live (0.0.4) unstable; urgency=low * Adjust filename in header of /etc/grml/fai/config/scripts/GRMLBASE/*. * Use iceweasel/firefox as x-www-browser and w3m as www-browser (if available). - * Make sure the initrd does not start mdadm automatically. * Check for presence of the initrd. -- Michael Prokop Thu, 04 Oct 2007 22:16:34 +0200 diff --git a/etc/grml/fai/config/scripts/GRMLBASE/10-build-initramfs b/etc/grml/fai/config/scripts/GRMLBASE/10-build-initramfs index 9c33559..67b2b8d 100755 --- a/etc/grml/fai/config/scripts/GRMLBASE/10-build-initramfs +++ b/etc/grml/fai/config/scripts/GRMLBASE/10-build-initramfs @@ -17,10 +17,10 @@ FILE=$(ls -1 $target/boot/vmlinuz-* | sort -r | head -1) KERNELVERSION=$(echo "${FILE##$target/boot/vmlinuz-}") # make sure mdadm isn't executed in initrd: -if [ -f "$target"/etc/default/mdadm ] ; then - sed -i "s/START_DAEMON=.*/START_DAEMON=false/" "$target"/etc/default/mdadm - sed -i "s/INITRDSTART=.*/INITRDSTART=none/" "$target"/etc/default/mdadm -fi +#if [ -f "$target"/etc/default/mdadm ] ; then +# sed -i "s/START_DAEMON=.*/START_DAEMON=false/" "$target"/etc/default/mdadm +# sed -i "s/INITRDSTART=.*/INITRDSTART=none/" "$target"/etc/default/mdadm +#fi $ROOTCMD update-initramfs -c -t -k $KERNELVERSION -- 2.1.4