Skip to content

Commit

Permalink
Revert "test_minimizer: dnf5 wants --use-host-config"
Browse files Browse the repository at this point in the history
This reverts commit b99f9ba.

dnf5 is not the default in Fedora 39/40 so this doesn't work.
  • Loading branch information
bcl committed Aug 8, 2023
1 parent 002d6ed commit 38960a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/image-minimizer/test_minimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 38960a9

Please sign in to comment.