This commit is contained in:
Your Name 2024-02-03 23:21:46 -07:00
parent 323989341e
commit d690cb5364

View File

@ -463,7 +463,7 @@ btrfs-tweaks() {
}
initialize-disk() {
SWAP_SIZE="$(expr $ROOT_PARTITION_SIZE + 16)GiB"
export SWAP_SIZE="$(expr $ROOT_PARTITION_SIZE + 16)GiB"
parted /dev/$HARD_DISK mklabel gpt
parted -a optimal /dev/$HARD_DISK mkpart primary fat32 1MiB 200MiB
parted -a optimal /dev/$HARD_DISK mkpart primary ext3 200MiB $ROOT_PARTITION_SIZE