fmf: Don't install weak firefox dependencies

firefox pulls in half a desktop, we don't need any of these for a
headless test. This reduces the number packages from 133 (459 MB) to 66
(365 MB).
This commit is contained in:
Martin Pitt 2022-02-04 06:38:22 +01:00 committed by Martin Pitt
parent e066d630c6
commit 9fce37f215

View file

@ -17,7 +17,7 @@ dnf update -y pam || true
# install firefox (available everywhere in Fedora and RHEL) # install firefox (available everywhere in Fedora and RHEL)
# we don't need the H.264 codec, and it is sometimes not available (rhbz#2005760) # we don't need the H.264 codec, and it is sometimes not available (rhbz#2005760)
dnf install --disablerepo=fedora-cisco-openh264 -y firefox dnf install --disablerepo=fedora-cisco-openh264 -y --setopt=install_weak_deps=False firefox
# create user account for logging in # create user account for logging in
if ! id admin 2>/dev/null; then if ! id admin 2>/dev/null; then