mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 11:30:55 +00:00
commit
26f4a994f9
1 changed files with 4 additions and 4 deletions
|
|
@ -351,9 +351,12 @@ mount -o "$mountopts",subvol=@var_pkgs "$BTRFS" /mnt/var/cache/pacman/pkg
|
||||||
chattr +C /mnt/var/log
|
chattr +C /mnt/var/log
|
||||||
mount "$ESP" /mnt/boot/
|
mount "$ESP" /mnt/boot/
|
||||||
|
|
||||||
|
# Checking the microcode to install.
|
||||||
|
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 /mnt base "$kernel" "$microcode" linux-firmware "$kernel"-headers btrfs-progs grub grub-btrfs rsync efibootmgr snapper reflector snap-pac zram-generator &>/dev/null
|
pacstrap /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
|
||||||
|
|
@ -375,9 +378,6 @@ cat > /mnt/etc/hosts <<EOF
|
||||||
127.0.1.1 $hostname.localdomain $hostname
|
127.0.1.1 $hostname.localdomain $hostname
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Checking the microcode to install.
|
|
||||||
microcode_detector
|
|
||||||
|
|
||||||
# Virtualization check.
|
# Virtualization check.
|
||||||
virt_check
|
virt_check
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue