X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=debian%2Fpatches%2F44_fix_mdadm_usage_for_findiso.patch;fp=debian%2Fpatches%2F44_fix_mdadm_usage_for_findiso.patch;h=cc4ef3488de8ea46bd6a1f9c3416e1a8ac9f1440;hb=3d46167c4f419479f09a4c8bc1025e6f2248b2d5;hp=0000000000000000000000000000000000000000;hpb=a1b50f3915b4c37f981a0583a8055282edd9c7e4;p=live-boot-grml.git diff --git a/debian/patches/44_fix_mdadm_usage_for_findiso.patch b/debian/patches/44_fix_mdadm_usage_for_findiso.patch new file mode 100644 index 0000000..cc4ef34 --- /dev/null +++ b/debian/patches/44_fix_mdadm_usage_for_findiso.patch @@ -0,0 +1,25 @@ +--- a/scripts/boot/9990-misc-helpers.sh ++++ b/scripts/boot/9990-misc-helpers.sh +@@ -202,7 +202,7 @@ + # Adding lvm support + if [ -x /scripts/local-top/lvm2 ] + then +- ROOT="$device" resume="" /scripts/local-top/lvm2 ++ ROOT="$device" resume="" /scripts/local-top/lvm2 >>/boot.log + fi + ;; + +@@ -210,10 +210,10 @@ + # Adding raid support + if [ -x /scripts/local-top/mdadm ] + then +- cp /conf/conf.d/md /conf/conf.d/md.orig ++ [ -r /conf/conf.d/md ] && cp /conf/conf.d/md /conf/conf.d/md.orig + echo "MD_DEVS=$device " >> /conf/conf.d/md +- /scripts/local-top/mdadm +- mv /conf/conf.d/md.orig /conf/conf.d/md ++ /scripts/local-top/mdadm >>/boot.log ++ [ -r /conf/conf.d/md.orig ] && mv /conf/conf.d/md.orig /conf/conf.d/md + fi + ;; + esac