~comcloudway/builds.sr.ht

dccf0147eec91a2639dd149559050afcf99bed0c — Simon Ser 10 months ago aab77d0
images/archlinux: refresh pacman index before installing yay

Otherwise we get this:

    + chroot root sudo -u build -g build /bin/bash -c 'cd /home/build && cd yay && env GOCACHE=/tmp/cache makepkg -si --noconfirm --skippgpcheck'
    ==> Making package: yay 12.2.0-1 (Mon Dec  4 09:06:25 2023)
    ==> Checking runtime dependencies...
    warning: database file for 'multilib' does not exist (use '-Sy' to download)
    ==> Checking buildtime dependencies...
    warning: database file for 'multilib' does not exist (use '-Sy' to download)
    ==> Installing missing dependencies...
    warning: database file for 'multilib' does not exist (use '-Sy' to download)
    error: failed to prepare transaction (could not find database)
    ==> ERROR: 'pacman' failed to install missing dependencies.
    ==> Missing dependencies:
      -> go>=1.19
    ==> ERROR: Could not resolve all dependencies.
1 files changed, 1 insertions(+), 0 deletions(-)

M images/archlinux/genimg
M images/archlinux/genimg => images/archlinux/genimg +1 -0
@@ 67,6 67,7 @@ ln -s /dev/null $root/etc/pacman.d/hooks/90-linux.hook

run_root pacman-key --init
run_root pacman-key --populate archlinux
run_root pacman -Sy

sed -i 's/#en_US.UTF-8/en_US.UTF-8/' $root/etc/locale.gen
run_root locale-gen