X-Git-Url: http://git.grml.org/?a=blobdiff_plain;ds=sidebyside;f=debian%2Fpatches%2F25_support_lvm_for_live-media.patch;fp=debian%2Fpatches%2F25_support_lvm_for_live-media.patch;h=0000000000000000000000000000000000000000;hb=94e15515eedcb233b53ca4d35327f0380de7019e;hp=63b6f0318095c5f69584e4ad20181db600ad9f04;hpb=37de4fd22509663ad0237ed15bb5452d2f0e9dc1;p=live-boot-grml.git diff --git a/debian/patches/25_support_lvm_for_live-media.patch b/debian/patches/25_support_lvm_for_live-media.patch deleted file mode 100644 index 63b6f03..0000000 --- a/debian/patches/25_support_lvm_for_live-media.patch +++ /dev/null @@ -1,42 +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@ - -Index: b/scripts/live -=================================================================== ---- a/scripts/live 2011-07-24 22:08:10.000000000 +0200 -+++ b/scripts/live 2011-07-24 22:08:11.000000000 +0200 -@@ -1669,6 +1669,29 @@ - umount $mountpoint - fi - fi -+ -+ IFS="," -+ for device in ${devname} ; do -+ case "$device" in -+ *mapper*) # add lvm support -+ if [ -x /scripts/local-top/lvm2 ] ; then -+ ROOT="$device" resume="" /scripts/local-top/lvm2 -+ fi -+ ;; -+ /dev/md*) -+ if [ -x /scripts/local-top/mdadm ] ; then -+ 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 -+ fi -+ ;; -+ esac -+ done -+ unset IFS -+ -+ [ -n "$device" ] && devname="$device" -+ - [ -e "$devname" ] || continue - - if [ -n "${LIVE_MEDIA_OFFSET}" ]