test
This commit is contained in:
parent
f570c158a2
commit
ba600ddf1a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user