Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions containers/runner/skip-testtypes
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ fedora_disabled_array=(
gh595 # proxy-cmdline failing on all scenarios
gh777 # raid-1-reqpart failing
rhbz1853668 # multipath device not constructed back after installation
gh975 # packages-default failing
gh1023 # rpm-ostree failing
gh1530 # dns-global-exclusive-tls-* stage2-from-compose failing
gh1618 # packages-multilib failing on daily-iso
Expand Down Expand Up @@ -128,7 +127,6 @@ fedora_eln_disabled_array=(
gh1213 # harddrive-iso-single failing
gh1090 # raid-1-reqpart failing
gh1207 # packages-multilib failing
gh975 # packages-default failing
gh1530 # dns-global-exclusive-tls-* stage2-from-compose failing
gh804 # tests requiring dvd iso failing
gh1533 # rpm-ostree-container-* tests failing
Expand Down
9 changes: 8 additions & 1 deletion packages-default.ks.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,14 @@
%post

# Check that there is any environment installed
dnf group list --installed | egrep -q "Installed Environment Groups"
if dnf --version 2>/dev/null | grep -q '^dnf5 '; then
# DNF5: "dnf environment list" without --installed only lists available
# environments from repos. The core group is uservisible=false.
dnf environment list --installed | grep -q 'yes$'
else
# DNF4: installed environments appear under "Installed Environment Groups".
dnf group list --installed | egrep -q "Installed Environment Groups"
fi
if [ $? -eq 0 ]; then
echo SUCCESS > /root/RESULT
else
Expand Down
2 changes: 1 addition & 1 deletion packages-default.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@

# Ignore unused variable parsed out by tooling scripts as test tags metadata
# shellcheck disable=SC2034
TESTTYPE="packaging payload skip-on-rhel gh975"
TESTTYPE="packaging payload skip-on-rhel"

. ${KSTESTDIR}/functions.sh