]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Add some extra tools tree packages to the default image 3164/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 2 Nov 2024 20:26:56 +0000 (21:26 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 3 Nov 2024 09:41:27 +0000 (10:41 +0100)
Now that we have mkosi sandbox, let's add ruff, mypy and pytest to
the tools tree so that they can be used with mkosi sandbox.

mkosi.conf.d/40-tools/mkosi.conf [new file with mode: 0644]
mkosi.conf.d/40-tools/mkosi.conf.d/arch.conf [new file with mode: 0644]
mkosi.conf.d/40-tools/mkosi.conf.d/other.conf [new file with mode: 0644]

diff --git a/mkosi.conf.d/40-tools/mkosi.conf b/mkosi.conf.d/40-tools/mkosi.conf
new file mode 100644 (file)
index 0000000..84414c1
--- /dev/null
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+[Build]
+ToolsTreePackages=
+        ruff
+        mypy
diff --git a/mkosi.conf.d/40-tools/mkosi.conf.d/arch.conf b/mkosi.conf.d/40-tools/mkosi.conf.d/arch.conf
new file mode 100644 (file)
index 0000000..8f053f6
--- /dev/null
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+[Match]
+ToolsTreeDistribution=arch
+
+[Build]
+ToolsTreePackages=
+        python-pytest
diff --git a/mkosi.conf.d/40-tools/mkosi.conf.d/other.conf b/mkosi.conf.d/40-tools/mkosi.conf.d/other.conf
new file mode 100644 (file)
index 0000000..8dac2a8
--- /dev/null
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+[Match]
+ToolsTreeDistribution=!arch
+
+[Build]
+ToolsTreePackages=
+        python3-pytest