mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-14 16:11:22 +00:00
trivial: explicitly install missing dependencies in ubuntu.sh
If a new dependency is added but not present in the container, `debian.sh` will abort trying to use packaging, which will cause `ubuntu.sh` to executed. Rather than fail the build, try to install anything missing. This helps with the split CI where the containers are re-generated nightly.
This commit is contained in:
parent
ddfde41784
commit
423270e98b
@ -8,6 +8,9 @@ if [ "$CI_NETWORK" = "true" ]; then
|
||||
export G_TEST_SRCDIR=`pwd`/fwupd-test-firmware/installed-tests
|
||||
fi
|
||||
|
||||
#check for and install missing dependencies
|
||||
./contrib/ci/generate_dependencies.py | xargs apt install -y
|
||||
|
||||
#evaluate using Ubuntu's buildflags
|
||||
#evaluate using Debian/Ubuntu's buildflags
|
||||
eval "$(dpkg-buildflags --export=sh)"
|
||||
|
Loading…
Reference in New Issue
Block a user