Skip to content

Commit

Permalink
Merge pull request #122 from archlinux/update-keyring
Browse files Browse the repository at this point in the history
Update archlinux-keyring before upgrading
  • Loading branch information
kpcyrd authored May 8, 2023
2 parents 5a8fabe + 955bab6 commit 5994f40
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion repro.in
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,8 @@ function init_chroot(){
if nlock 9 "$BUILDDIRECTORY"/root.lock; then
msg "Updating container"
printf 'Server = %s\n' "$HOSTMIRROR" > "$BUILDDIRECTORY"/root/etc/pacman.d/mirrorlist
exec_nspawn root pacman -Syu --noconfirm
exec_nspawn root pacman -Sy --noconfirm archlinux-keyring
exec_nspawn root pacman -Su --noconfirm
lock_close 9
else
msg "Couldn't acquire container lock, didn't update."
Expand Down

0 comments on commit 5994f40

Please sign in to comment.