X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=debian%2Fpatches%2F25_support_lvm_for_live-media.dpatch;h=b43106a66e8d0470818e81142fe5ed0715b650dc;hb=7847abde1923012b63414adc07d2ca7910b19910;hp=250d0aa6b9f94406f262fba5642f20b903998064;hpb=df17b4362f38b173eb2d333917757c4c28c11a26;p=live-boot-grml.git diff --git a/debian/patches/25_support_lvm_for_live-media.dpatch b/debian/patches/25_support_lvm_for_live-media.dpatch index 250d0aa..b43106a 100755 --- a/debian/patches/25_support_lvm_for_live-media.dpatch +++ b/debian/patches/25_support_lvm_for_live-media.dpatch @@ -2,13 +2,13 @@ ## 25_support_lvm_for_live-media.dpatch by ## ## All lines beginning with `## DP:' are a description of the patch. -## DP: Support lvm devices for live-media +## DP: Support lvm and raid devices for live-media @DPATCH@ --- a/scripts/live +++ b/scripts/live -@@ -1509,6 +1509,15 @@ check_dev () +@@ -1509,6 +1509,21 @@ check_dev () umount $mountpoint fi fi @@ -19,6 +19,12 @@ + ROOT="$devname" resume="" /scripts/local-top/lvm2 + fi + ;; ++ /dev/md*) ++ if [ -x /scripts/local-top/mdadm ] ; then ++ echo "MD_DEVS=$devname" >> /conf/conf.d/md ++ /scripts/local-top/mdadm ++ fi ++ ;; + esac + [ -e "$devname" ] || continue