This commit is contained in:
Tommaso Chiti 2021-11-07 12:28:05 +01:00
parent fe189ed562
commit 21f84702a3

View file

@ -46,10 +46,10 @@ virt_check () {
# Selecting a kernel to install (function). # Selecting a kernel to install (function).
kernel_selector () { kernel_selector () {
print "List of kernels:" print "List of kernels:"
print "1) Stable: Vanilla Linux kernel and modules, with a few specific Arch Linux patches applied." print "1) Stable: Vanilla Linux kernel with a few specific Arch Linux patches applied4"
print "2) Hardened: A security-focused Linux kernel." print "2) Hardened: A security-focused Linux kernel"
print "3) LTS: Long-term support (LTS) Linux kernel and modules." print "3) LTS: Long-term support (LTS) Linux kernel"
print "4) Zen: A Linux kernel optimized for desktop usage." print "4) Zen: A Linux kernel optimized for desktop usage"
read -r -p "Insert the number of the corresponding kernel: " choice read -r -p "Insert the number of the corresponding kernel: " choice
case $choice in case $choice in
1 ) kernel="linux" 1 ) kernel="linux"
@ -235,13 +235,13 @@ microcode_detector
# Virtualization check. # Virtualization check.
virt_check virt_check
# Setting up the network.
network_selector
# Pacstrap (setting up a base sytem onto the new root). # Pacstrap (setting up a base sytem onto the new root).
print "Installing the base system (it may take a while)." print "Installing the base system (it may take a while)."
pacstrap /mnt base $kernel $microcode linux-firmware btrfs-progs grub grub-btrfs rsync efibootmgr snapper reflector base-devel snap-pac zram-generator pacstrap /mnt base $kernel $microcode linux-firmware btrfs-progs grub grub-btrfs rsync efibootmgr snapper reflector base-devel snap-pac zram-generator
# Setting up the network.
network_selector
# Setting up the hostname. # Setting up the hostname.
hostname_selector hostname_selector