X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=debian%2Fpatches%2F25_support_lvm_for_live-media.dpatch;fp=debian%2Fpatches%2F25_support_lvm_for_live-media.dpatch;h=0000000000000000000000000000000000000000;hb=8424e93b27a3c5ae551ff1a5c456d0de96fc67c8;hp=b43106a66e8d0470818e81142fe5ed0715b650dc;hpb=f387aa43206574c48a05c42447af4ced7f15705f;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 deleted file mode 100755 index b43106a..0000000 --- a/debian/patches/25_support_lvm_for_live-media.dpatch +++ /dev/null @@ -1,32 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## 25_support_lvm_for_live-media.dpatch by -## -## All lines beginning with `## DP:' are a description of the patch. -## DP: Support lvm and raid devices for live-media - -@DPATCH@ - ---- a/scripts/live -+++ b/scripts/live -@@ -1509,6 +1509,21 @@ check_dev () - umount $mountpoint - fi - fi -+ -+ case "$devname" in -+ *mapper*) # add lvm support -+ if [ -x /scripts/local-top/lvm2 ] ; then -+ 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 - - if [ -n "${LIVE_MEDIA_OFFSET}" ]