From 9e71acab00cc1eb4b634b8d8c5f4cbb3453d4656 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Sun, 5 May 2024 10:46:01 +0200 Subject: [PATCH] TEST-55-OOMD: Configure init.scope credential in mkosi image --- test/TEST-55-OOMD/meson.build | 7 +++++++ test/TEST-55-OOMD/systemd.unit-dropin.init.scope | 5 +++++ 2 files changed, 12 insertions(+) create mode 100644 test/TEST-55-OOMD/meson.build create mode 100644 test/TEST-55-OOMD/systemd.unit-dropin.init.scope diff --git a/test/TEST-55-OOMD/meson.build b/test/TEST-55-OOMD/meson.build new file mode 100644 index 0000000000..86a0d8f957 --- /dev/null +++ b/test/TEST-55-OOMD/meson.build @@ -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 index 0000000000..31b7f90957 --- /dev/null +++ b/test/TEST-55-OOMD/systemd.unit-dropin.init.scope @@ -0,0 +1,5 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later + +[Scope] +MemoryHigh=infinity +StartupMemoryHigh=10G -- 2.25.1