]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Tighten rpm glob
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 7 May 2024 08:28:37 +0000 (10:28 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 7 May 2024 08:29:27 +0000 (10:29 +0200)
rpm's are compressed on the inside, not on the outside, so "*.rpm"
is sufficient and we don't need the trailing '*'.

mkosi/__init__.py

index 94993843718ae8d8a1c77890806ec6fb0e8eb751..ed9e3e7d59debbcb2caa89434a709a6c980c8427 100644 (file)
@@ -1610,7 +1610,7 @@ def install_package_directories(context: Context) -> None:
     with complete_step("Copying in extra packages…"):
         for d in context.config.package_directories:
             for p in itertools.chain(
-                d.glob("*.rpm*"),
+                d.glob("*.rpm"),
                 d.glob("*.pkg.tar*"),
                 d.glob("*.deb*"),
                 d.glob("*.ddeb*"),