fix: fix keyring
This commit is contained in:
parent
e7b61e7e5f
commit
655e6f0cfd
1 changed files with 1 additions and 0 deletions
1
vps2arch
1
vps2arch
|
@ -102,6 +102,7 @@ configure_chroot() {
|
||||||
mv "/root.$cpu_type/etc/pacman.conf.bak" "/root.$cpu_type/etc/pacman.conf"
|
mv "/root.$cpu_type/etc/pacman.conf.bak" "/root.$cpu_type/etc/pacman.conf"
|
||||||
fi
|
fi
|
||||||
chroot_exec 'pacman-key --init && pacman-key --populate archlinux'
|
chroot_exec 'pacman-key --init && pacman-key --populate archlinux'
|
||||||
|
chroot_exec 'pacman --needed --noconfirm -Sy archlinux-keyring'
|
||||||
# Generate fstab
|
# Generate fstab
|
||||||
chroot_exec 'genfstab /mnt >> /etc/fstab'
|
chroot_exec 'genfstab /mnt >> /etc/fstab'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue