This commit is contained in:
teldra 2022-08-05 14:20:55 +02:00
parent 75239799ea
commit 5244f566c9

View File

@ -73,8 +73,8 @@ encryption_style() {
echo "c) no keyfile (double pw enter)" #bios: 1 uefi: 2
#echo "not implemented:"
#echo "d) keyfile on usb" #bios: 1 uefi: 2
#echo "e) unencrypted boot" #bios: 2 uefi: 3 (hier fehlt noch eine)
multiplechoice "a" "b" "c" #"d" "e"
echo "e) unencrypted boot" #bios: 2 uefi: 3 (hier fehlt noch eine)
multiplechoice "a" "b" "c" "e" #"d" "e"
ENCRYPTION_STYLE="${output}"
if [ "${ENCRYPTION_STYLE}" == "b" ]; then
ENC=0
@ -126,7 +126,7 @@ do_partition() {
parted "${TARGET_PHY_ID}" unit mib -s -- mkpart primary ext4 "${start}" "$(( start + size ))"
sleep 2
mkfs.btrfs -q -f "${TARGET_PHY_ID}-part1"
start="$(( start + size ))"
start="$(( start + size + start ))"
TARGET_PART="2"
fi
parted "${TARGET_PHY_ID}" unit mib -s -- mkpart primary ext4 "$start" -1s