images/archlinux: upgrade archlinux-keyring before other packages
Currently the Arch image is broken because the keyring has been updated but the package is too old: curl: signature from "Leonidas Spyropoulos <artafinde@archlinux.org>" is unknown trust :: deleting corrupted file '/var/cache/pacman/pkg/curl-8.4.0-2-x86_64.pkg.tar.zst' (invalid or corrupted package (PGP signature)) syslinux: signature from "Leonidas Spyropoulos <artafinde@archlinux.org>" is unknown trust :: deleting corrupted file '/var/cache/pacman/pkg/syslinux-6.04.pre2.r11.gbf6db5b4-4-x86_64.pkg.tar.zst' (invalid or corrupted package (PGP signature))
This commit is contained in:
parent
083dec43f2
commit
73f8323784
|
@ -14,7 +14,9 @@ boot() {
|
|||
install() {
|
||||
port=$1
|
||||
shift 1
|
||||
guest_ssh -p $port build@localhost sudo pacsync
|
||||
guest_ssh -p $port build@localhost \
|
||||
sudo pacman -Sy --noconfirm --needed archlinux-keyring
|
||||
# Use pacinstall instead of pacman to resolve conflicts
|
||||
guest_ssh -n -p $port build@localhost sudo pacinstall --sysupgrade --yolo
|
||||
guest_ssh -p $port build@localhost EDITOR=true PKGEXT=.pkg.tar yay \
|
||||
--needed --noconfirm --noprovides -S "$@"
|
||||
|
|
Loading…
Reference in New Issue