]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Include any files ending in '.install' in package data
authorMichael A Cassaniti <michael@cassaniti.id.au>
Wed, 27 Jul 2022 22:56:57 +0000 (08:56 +1000)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 28 Jul 2022 00:06:44 +0000 (02:06 +0200)
This makes sure the new `dpkg-reconfigure-dracut.install` file under resources
gets included as package data.

setup.py

index dc2d386f3e97a07a032ca01f284d6075fe4ed510..8cbbfdb7bc09c8a7c67549a2cd8ae8e3f2f06186 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -26,7 +26,7 @@ setup(
     license="LGPLv2+",
     python_requires=">=3.7",
     packages = find_packages(".", exclude=["tests"]),
-    package_data = {"": ["*.sh", "*.hook", "*.conf"]},
+    package_data = {"": ["*.sh", "*.hook", "*.conf", "*.install"]},
     include_package_data = True,
     scripts = ["bin/mkosi"],
     cmdclass = { "man": BuildManpage },