Merge pull request #65 from TommyTran732/patch-1

Revert #bd7de27421
This commit is contained in:
Tommaso Chiti 2024-10-29 22:52:56 +00:00 committed by GitHub
commit 04239ea8bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -359,7 +359,7 @@ microcode_detector
# Pacstrap (setting up a base sytem onto the new root). # Pacstrap (setting up a base sytem onto the new root).
info_print "Installing the base system (it may take a while)." info_print "Installing the base system (it may take a while)."
pacstrap -K /mnt base "$kernel" "$microcode" linux-firmware "$kernel"-headers sbctl btrfs-progs grub grub-btrfs rsync efibootmgr snapper reflector snap-pac zram-generator sudo &>/dev/null pacstrap -K /mnt base "$kernel" "$microcode" linux-firmware "$kernel"-headers btrfs-progs grub grub-btrfs rsync efibootmgr snapper reflector snap-pac zram-generator sudo &>/dev/null
# Setting up the hostname. # Setting up the hostname.
echo "$hostname" > /mnt/etc/hostname echo "$hostname" > /mnt/etc/hostname
@ -411,10 +411,6 @@ arch-chroot /mnt /bin/bash -e <<EOF
# Generating locales. # Generating locales.
locale-gen &>/dev/null locale-gen &>/dev/null
# Create SecureBoot keys.
# This isn't strictly necessary, linux-hardened preset expects it and mkinitcpio will fail without it
sbctl create-keys
# Generating a new initramfs. # Generating a new initramfs.
mkinitcpio -P &>/dev/null mkinitcpio -P &>/dev/null