Revert "fedora/REQUIRED_PACKAGES: speed up optional packages installation"
dnf --skip-unavailable not available on CentOS 9. This reverts commit5409d4f5cd
. (cherry picked from commite2aa19a06c
)
This commit is contained in:

committed by
Íñigo Huguet

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