1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 25_support_lvm_for_live-media.dpatch by <mru@grml.org>
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: Support lvm and raid devices for live-media
11 @@ -1669,6 +1669,21 @@
17 + *mapper*) # add lvm support
18 + if [ -x /scripts/local-top/lvm2 ] ; then
19 + ROOT="$devname" resume="" /scripts/local-top/lvm2
23 + if [ -x /scripts/local-top/mdadm ] ; then
24 + echo "MD_DEVS=$devname" >> /conf/conf.d/md
25 + /scripts/local-top/mdadm
30 [ -e "$devname" ] || continue
32 if [ -n "${LIVE_MEDIA_OFFSET}" ]