projects
/
live-boot-grml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
df17b43
)
Support raid devices as well
author
Ulrich Dangel
<mru@grml.org>
Fri, 25 Mar 2011 22:16:54 +0000
(23:16 +0100)
committer
Ulrich Dangel
<mru@grml.org>
Fri, 3 Jun 2011 00:28:18 +0000
(
02:28
+0200)
debian/patches/25_support_lvm_for_live-media.dpatch
patch
|
blob
|
history
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
(executable)
--- 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 <mru@grml.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## 25_support_lvm_for_live-media.dpatch by <mru@grml.org>
##
## 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
@DPATCH@
--- a/scripts/live
+++ b/scripts/live
-@@ -1509,6 +1509,
15
@@ check_dev ()
+@@ -1509,6 +1509,
21
@@ check_dev ()
umount $mountpoint
fi
fi
umount $mountpoint
fi
fi
@@
-19,6
+19,12
@@
+ ROOT="$devname" resume="" /scripts/local-top/lvm2
+ fi
+ ;;
+ 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
+ esac
+
[ -e "$devname" ] || continue