mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
remove senseless check for raid creation
This commit is contained in:
parent
8814bd5ea6
commit
7a6e5e94f6
1 changed files with 1 additions and 2 deletions
|
@ -1172,7 +1172,7 @@ _raid()
|
||||||
while [ "$PART" != "DONE" ]; do
|
while [ "$PART" != "DONE" ]; do
|
||||||
RAIDNUMBER=$(($RAIDNUMBER + 1))
|
RAIDNUMBER=$(($RAIDNUMBER + 1))
|
||||||
# clean loop from used partition and options
|
# clean loop from used partition and options
|
||||||
PARTS="$(echo $PARTS | sed -e "s#${PART}\ _##g" -e "s#${PART}[0-9]\ _##g" -e "s#$(echo ${PART} | sed -e 's#[0-9]##g')\ _##g" -e 's#MISSING\ _##g' -e 's#SPARE\ _##g')"
|
PARTS="$(echo $PARTS | sed -e "s#${PART}\ _##g" -e 's#MISSING\ _##g' -e 's#SPARE\ _##g')"
|
||||||
# raid0 doesn't support missing devices
|
# raid0 doesn't support missing devices
|
||||||
! [ "$LEVEL" = "raid0" -o "$LEVEL" = "linear" ] && MDEXTRA="MISSING _"
|
! [ "$LEVEL" = "raid0" -o "$LEVEL" = "linear" ] && MDEXTRA="MISSING _"
|
||||||
# add more devices
|
# add more devices
|
||||||
|
@ -1568,7 +1568,6 @@ _luks()
|
||||||
LUKSFINISH=""
|
LUKSFINISH=""
|
||||||
while [ "$LUKSFINISH" != "DONE" ]; do
|
while [ "$LUKSFINISH" != "DONE" ]; do
|
||||||
activate_special_devices
|
activate_special_devices
|
||||||
#PARTS=$(finddisks _)
|
|
||||||
PARTS="$(findpartitions _)"
|
PARTS="$(findpartitions _)"
|
||||||
ALREADYINUSE=""
|
ALREADYINUSE=""
|
||||||
# skip already encrypted devices, device mapper!
|
# skip already encrypted devices, device mapper!
|
||||||
|
|
Loading…
Reference in a new issue