This commit is contained in:
teldra 2021-08-18 09:01:30 +02:00
parent f570c158a2
commit ba600ddf1a
1 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ set -x
if [[ "${cfg[fde_key_store]}" == "once" ]]; then
echo "create bootpartition"
target_boot="${diskid}-part${index}"
target_boot="${dodiskid}-part${index}"
index=$(( index + 1 ))
echo "n
p
@ -50,7 +50,7 @@ sleep $sleep
fi
if [[ "${cfg[rootfssize]}" == "rest" ]]; then
target_partition_tmp="${diskid}-part${index}"
target_partition_tmp="${dodiskid}-part${index}"
index=$(( index + 1 ))
echo "create rootfs"
if test -d /sys/firmware/efi; then
@ -69,7 +69,7 @@ if [[ "${cfg[rootfssize]}" == "rest" ]]; then
q" | fdisk "${dodiskid}" > /dev/null
fi
elif [[ ! "${cfg[rootfssize]}" == "rest" ]]; then
target_partition_tmp="${diskid}-part${index}"
target_partition_tmp="${dodiskid}-part${index}"
echo "create rootfs with a specific size"
echo "n
p