From: Michael Prokop Date: Tue, 17 Mar 2009 09:48:47 +0000 (+0100) Subject: Add /dev/md* to partition list X-Git-Tag: v0.26^0 X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=commitdiff_plain;h=3fb3aad9da90877511659ebd777655af621a9016;ds=sidebyside Add /dev/md* to partition list --- diff --git a/debian/changelog b/debian/changelog index 94a2f8a..b898621 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,11 @@ grml-debootstrap (0.26) unstable; urgency=low * Do not use UUID on SW-RAID. + * Add /dev/md* to partition list. If /dev/md* is already + configured we don't want to re-run the SW-RAID setup + but instead just install on /dev/md*. - -- Michael Prokop Tue, 17 Mar 2009 10:13:50 +0100 + -- Michael Prokop Tue, 17 Mar 2009 10:47:53 +0100 grml-debootstrap (0.25) unstable; urgency=low diff --git a/grml-debootstrap b/grml-debootstrap index 45ee41b..300a5b3 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -11,7 +11,7 @@ set -e # exit on any error # variables {{{ PN="$(basename $0)" -VERSION='0.25' +VERSION='0.26' MNTPOINT="/mnt/debootstrap.$$" # inside the chroot system locales might not be available, so use minimum: @@ -177,7 +177,7 @@ prompt_for_target() AVAILABLE_PARTITIONS=$(LANG=C fdisk -l 2>/dev/null | \ sed 's/*//' | \ grep -v 'Extended$' | \ - gawk -v num=0 -v ORS=' ' '/^\/dev\// {print $1}') + gawk -v num=0 -v ORS=' ' '/^\/dev\// {print $1}'; ls /dev/md*); if [ -z "$AVAILABLE_PARTITIONS" ] ; then dialog --title "$PN" --trim \