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.
This commit is contained in:
parent
aab77d0f2f
commit
dccf0147ee
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue