mirror of
https://github.com/89luca89/distrobox.git
synced 2026-08-19 01:14:49 -05:00
fix(e2e): apply system upgrade in Arch Linux setup during nvidia tests
This commit is contained in:
@@ -355,7 +355,9 @@ if ! command -v vulkaninfo > /dev/null 2>&1; then
|
||||
elif command -v dnf > /dev/null 2>&1; then
|
||||
timeout 300 sudo -n dnf install -y -q vulkan-tools vulkan-loader
|
||||
elif command -v pacman > /dev/null 2>&1; then
|
||||
timeout 300 sudo -n pacman -Sy --noconfirm --needed vulkan-tools vulkan-icd-loader
|
||||
# Full upgrade (not -Sy): the arch toolbox image can lag the repos, and a
|
||||
# partial upgrade can leave the loader/libs inconsistent.
|
||||
timeout 300 sudo -n pacman -Syu --noconfirm --needed vulkan-tools vulkan-icd-loader
|
||||
fi
|
||||
} > /dev/null 2>&1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user