From 29c7965ace758eefbc308798e7d4bafaf93e398e Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Mon, 3 Dec 2018 10:44:17 -0500 Subject: [PATCH] archlinux: Use GiB by default during installation Since we already specify that the size is "(in GiB)", the user should not be expected to repeat this information in the input. --- .archlinux/install-scripts/001-preinstall | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.archlinux/install-scripts/001-preinstall b/.archlinux/install-scripts/001-preinstall index b44f1aa0..fad7dd6f 100755 --- a/.archlinux/install-scripts/001-preinstall +++ b/.archlinux/install-scripts/001-preinstall @@ -13,9 +13,9 @@ timedatectl set-ntp true # enable boot for it. Then, create a primary swap partition with # the remaining disk space. parted /dev/sda mklabel msdos -parted /dev/sda mkpart primary ext4 1MiB $DISTSIZE +parted /dev/sda mkpart primary ext4 1MiB "$DISTSIZE"GiB parted /dev/sda set 1 boot on -parted /dev/sda mkpart primary linux-swap $DISTSIZE 100% +parted /dev/sda mkpart primary linux-swap "$DISTSIZE"GiB 100% # Format sda1 with ext4 and sda2 with swap mkfs -t ext4 /dev/sda1