Skip to content

Commit

Permalink
Merge pull request #60 from TommyTran732/patch-2
Browse files Browse the repository at this point in the history
Add sbctl
  • Loading branch information
classy-giraffe authored Jun 16, 2024
2 parents 5b1a5c0 + f1138eb commit bd7de27
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion easy-arch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ microcode_detector

# Pacstrap (setting up a base sytem onto the new root).
info_print "Installing the base system (it may take a while)."
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
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

# Setting up the hostname.
echo "$hostname" > /mnt/etc/hostname
Expand Down Expand Up @@ -411,6 +411,10 @@ arch-chroot /mnt /bin/bash -e <<EOF
# Generating locales.
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.
mkinitcpio -P &>/dev/null
Expand Down

0 comments on commit bd7de27

Please sign in to comment.