diff options
-rwxr-xr-x | artixinstall | 2 | ||||
-rwxr-xr-x | cryptinstall | 2 | ||||
-rwxr-xr-x | mkartix | 6 | ||||
-rwxr-xr-x | mkcryptartix | 6 |
4 files changed, 8 insertions, 8 deletions
diff --git a/artixinstall b/artixinstall index e8dc63b..da1d537 100755 --- a/artixinstall +++ b/artixinstall @@ -8,7 +8,7 @@ if [ "${UID}" != "0" ]; then fi pacman -Sy -pacman -S --noconfirm parted +pacman -S --needed --noconfirm parted parted -s /dev/sda mklabel msdos parted -s -a optimal /dev/sda mkpart primary ext4 0% 256MiB diff --git a/cryptinstall b/cryptinstall index 55e6c61..f6a263f 100755 --- a/cryptinstall +++ b/cryptinstall @@ -8,7 +8,7 @@ if [ "${UID}" != "0" ]; then fi pacman -Sy -pacman -S --noconfirm parted +pacman -S --needed --noconfirm parted # # Full Disk Encryption @@ -13,7 +13,7 @@ export LANG="en_US.UTF-8" export LC_COLLATE="C" EOT -pacman -S --noconfirm btrfs-progs grub os-prober +pacman -S --needed --noconfirm btrfs-progs grub os-prober grub-install --recheck /dev/sda grub-mkconfig -o /boot/grub/grub.cfg @@ -36,7 +36,7 @@ EOT sed -i 's/hostname="localhost"/hostname="artix"/' /etc/conf.d/hostname -pacman -S --noconfirm dhclient +pacman -S --needed --noconfirm dhclient cat <<EOT >> /etc/conf.d/net @@ -68,7 +68,7 @@ Server = https://ftp.crifo.org/artix-universe/ EOT ## Arch -pacman -Sy --noconfirm artix-archlinux-support +pacman -Sy --needed --noconfirm artix-archlinux-support cat <<EOT >> /etc/pacman.conf diff --git a/mkcryptartix b/mkcryptartix index a63b0ec..6236315 100755 --- a/mkcryptartix +++ b/mkcryptartix @@ -15,7 +15,7 @@ EOT sed -i "s/HOOKS=(base udev autodetect modconf block filesystems keyboard fsck)/HOOKS=(base udev autodetect modconf block keyboard keymap encrypt filesystems fsck)/" /etc/mkinitcpio.conf -pacman -S --noconfirm btrfs-progs lvm2 cryptsetup grub os-prober device-mapper-openrc cryptsetup-openrc +pacman -S --needed --noconfirm btrfs-progs lvm2 cryptsetup grub os-prober device-mapper-openrc cryptsetup-openrc UUID=$(blkid -s UUID -o value /dev/sda2) sed -i "s/GRUB_CMDLINE_LINUX_DEFAULT=\"loglevel=3 quiet\"/GRUB_CMDLINE_LINUX_DEFAULT=\"loglevel=3 quiet cryptdevice=UUID=${UUID}:sda2_crypt\"/" /etc/default/grub @@ -44,7 +44,7 @@ EOT sed -i 's/hostname="localhost"/hostname="artix"/' /etc/conf.d/hostname -pacman -S --noconfirm dhclient +pacman -S --needed --noconfirm dhclient cat <<EOT >> /etc/conf.d/net @@ -76,7 +76,7 @@ Server = https://ftp.crifo.org/artix-universe/ EOT ## Arch -pacman -Sy --noconfirm artix-archlinux-support +pacman -Sy --needed --noconfirm artix-archlinux-support cat <<EOT >> /etc/pacman.conf |