Deactivate the mdadm stuff inside the build-initramfs script
authorMichael Prokop <devnull@localhost>
Sat, 6 Oct 2007 16:35:32 +0000 (18:35 +0200)
committerMichael Prokop <devnull@localhost>
Sat, 6 Oct 2007 16:35:32 +0000 (18:35 +0200)
debian/changelog
etc/grml/fai/config/scripts/GRMLBASE/10-build-initramfs

index a6821a1..873f8ed 100644 (file)
@@ -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). 
   * 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 <mika@grml.org>  Thu, 04 Oct 2007 22:16:34 +0200
   * Check for presence of the initrd.
 
  -- Michael Prokop <mika@grml.org>  Thu, 04 Oct 2007 22:16:34 +0200
index 9c33559..67b2b8d 100755 (executable)
@@ -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:
 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
 
 
 $ROOTCMD update-initramfs -c -t -k $KERNELVERSION