fix: fix keyring

This commit is contained in:
w72 2022-08-02 17:27:23 +08:00 committed by Felix Yan
parent e7b61e7e5f
commit 655e6f0cfd

View file

@ -102,6 +102,7 @@ configure_chroot() {
mv "/root.$cpu_type/etc/pacman.conf.bak" "/root.$cpu_type/etc/pacman.conf"
fi
chroot_exec 'pacman-key --init && pacman-key --populate archlinux'
chroot_exec 'pacman --needed --noconfirm -Sy archlinux-keyring'
# Generate fstab
chroot_exec 'genfstab /mnt >> /etc/fstab'