]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
TEST-55-OOMD: Configure init.scope credential in mkosi image
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 5 May 2024 08:46:01 +0000 (10:46 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 6 May 2024 09:57:09 +0000 (11:57 +0200)
test/TEST-55-OOMD/meson.build [new file with mode: 0644]
test/TEST-55-OOMD/systemd.unit-dropin.init.scope [new file with mode: 0644]

diff --git a/test/TEST-55-OOMD/meson.build b/test/TEST-55-OOMD/meson.build
new file mode 100644 (file)
index 0000000..86a0d8f
--- /dev/null
@@ -0,0 +1,7 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+test_params += {
+        'mkosi_args' : test_params['mkosi_args'] + [
+                '--credential=@0@'.format(meson.current_source_dir() / 'systemd.unit-dropin.init.scope')
+        ]
+}
diff --git a/test/TEST-55-OOMD/systemd.unit-dropin.init.scope b/test/TEST-55-OOMD/systemd.unit-dropin.init.scope
new file mode 100644 (file)
index 0000000..31b7f90
--- /dev/null
@@ -0,0 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+[Scope]
+MemoryHigh=infinity
+StartupMemoryHigh=10G