images/archlinux: use yay --provides=false instead of --noprovides

Fixes this warning:

    -> '--noprovides' is deprecated. Use '--provides=false' instead
This commit is contained in:
Simon Ser 2023-12-04 11:17:57 +00:00 committed by Drew DeVault
parent 73f8323784
commit aab77d0f2f
1 changed files with 2 additions and 2 deletions

View File

@ -18,8 +18,8 @@ install() {
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 "$@"
guest_ssh -p $port build@localhost EDITOR=true PKGEXT=.pkg.tar \
yay --needed --noconfirm --provides=false -S "$@"
}
add_repository() {