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:
Mario Limonciello 2020-11-18 08:17:43 -06:00
parent ddfde41784
commit 423270e98b

View File

@ -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)"