Revert "fedora/REQUIRED_PACKAGES: speed up optional packages installation"

dnf --skip-unavailable not available on CentOS 9.

This reverts commit 5409d4f5cd.

(cherry picked from commit e2aa19a06c)
This commit is contained in:
Lubomir Rintel
2025-02-12 13:41:22 +01:00
committed by Íñigo Huguet
parent 57f9d99b8a
commit 3982c5a04d

View File

@@ -25,6 +25,12 @@ install() {
fi
}
install_ignore_missing() {
for p; do
install "$p" || :
done
}
if test "$NM_NO_EXTRA" != 1; then
# these packages are convenient for developing, but not necessary
# for CI testing.
@@ -82,9 +88,8 @@ install \
which \
#end
# Some packages don't exist in certain distributions. Ignore errors
# installing them, but still drag them in when available.
install --skip-unavailable \
# some packages don't exist in certain distributions. Install them one-by-one, and ignore errors.
install_ignore_missing \
black \
dbus-python \
dhclient \