build: fix setup-partitions script

This commit is contained in:
Felix Schröter 2021-08-14 18:53:56 +02:00
parent 1cc2e045f6
commit 6127d31e46
No known key found for this signature in database
GPG key ID: 910ACB9F6BD26F58

View file

@ -49,11 +49,11 @@ if [[ ! $REPLY =~ ^[Yy]$ ]]; then exit 1; fi
parted "$drive" -- mklabel gpt
# create boot pabootrtition
parted "$boot" -- mkpart ESP fat32 1MiB 512MiB
parted "$boot" -- set 3 esp on
parted "$drive" -- mkpart ESP fat32 1MiB 512MiB
parted "$drive" -- set 1 esp on
# create system partition
parted "$system" -- mkpart primary 512MiB 100%
parted "$drive" -- mkpart primary 512MiB 100%
# setup LUKS partition
cryptsetup -y -v luksFormat "$system"