From 38960a92b155719999a92a88c7db84d7691452e5 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Tue, 8 Aug 2023 11:34:56 -0700 Subject: [PATCH] Revert "test_minimizer: dnf5 wants --use-host-config" This reverts commit b99f9ba93bf4e6b49796c4b718cd19086a872c26. dnf5 is not the default in Fedora 39/40 so this doesn't work. --- tests/image-minimizer/test_minimizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/image-minimizer/test_minimizer.py b/tests/image-minimizer/test_minimizer.py index 554efaa80..943883790 100644 --- a/tests/image-minimizer/test_minimizer.py +++ b/tests/image-minimizer/test_minimizer.py @@ -8,7 +8,7 @@ class MinimizerTestCase(unittest.TestCase): def test_minimizer_ok(self): with tempfile.TemporaryDirectory(prefix="minimize.test.") as rootdir: - check_call(["dnf", "--use-host-config", "--installroot", rootdir, "install", "-y", \ + check_call(["dnf", "--releasever=/", "--installroot", rootdir, "install", "-y", \ "filesystem", "tzdata"]) im = ImageMinimizer("./tests/image-minimizer/im-script.txt", rootdir, False, False)