From 4e84bfff8e0952fcff4e1058d8ede6b83edce08b Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Thu, 27 Jan 2022 09:34:43 +0100 Subject: [PATCH] fix raid partitions --- usr/bin/archboot-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/bin/archboot-setup.sh b/usr/bin/archboot-setup.sh index f5888bdf1..03a754603 100755 --- a/usr/bin/archboot-setup.sh +++ b/usr/bin/archboot-setup.sh @@ -833,7 +833,7 @@ _createraid() DIALOG --infobox "Creating ${RAIDDEVICE}..." 0 0 mdadm --create ${RAIDDEVICE} ${RAIDOPTIONS} ${DEVICES} >${LOG} 2>&1 || \ (DIALOG --msgbox "Error creating ${RAIDDEVICE} (see ${LOG} for details)." 0 0; return 1) - if echo "${RAIDDEVICE}" | grep -q "/md_d[0-9"]; then + if [[ ${RAID_PARTITION} == "1" ]]; then # switch for mbr usage set_guid if [[ "${GUIDPARAMETER}" = "" ]]; then