mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 19:40:55 +00:00
Update easy-arch.sh
This commit is contained in:
parent
44f38d4a66
commit
a0170741c5
1 changed files with 2 additions and 6 deletions
|
|
@ -1,11 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
#!/usr/bin/env -S bash -e
|
||||
|
||||
# Cleaning the TTY.
|
||||
clear
|
||||
|
||||
# Exit on STDERR.
|
||||
set -e
|
||||
|
||||
# Selecting the target for the installation.
|
||||
PS3="Select the disk where Arch Linux is going to be installed: "
|
||||
select ENTRY in $(lsblk -dpnoNAME|grep -P "/dev/sd|nvme|vd");
|
||||
|
|
@ -106,8 +103,7 @@ cat > /mnt/etc/hosts <<EOF
|
|||
EOF
|
||||
|
||||
# Configuring /etc/mkinitcpio.conf
|
||||
echo "Configuring /etc/mkinitcpio for ZSTD compression and LUKS hook."
|
||||
sed -i -e 's,#COMPRESSION="zstd",COMPRESSION="zstd",g' /mnt/etc/mkinitcpio.conf
|
||||
echo "Configuring /etc/mkinitcpio.conf for LUKS hook."
|
||||
sed -i -e 's,modconf block filesystems keyboard,keyboard keymap modconf block encrypt filesystems,g' /mnt/etc/mkinitcpio.conf
|
||||
|
||||
# Enabling LUKS in GRUB and setting the UUID of the LUKS container.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue