From eeb246920d55d03298434345e55b2eb669deb178 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Wed, 16 Aug 2023 16:17:44 +0200 Subject: mkosi: Add a swap partition systemd-oomd keeps complaining about the lack of swap partition, so let's add one. --- mkosi.presets/system/mkosi.extra/usr/lib/repart.d/15-swap.conf | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 mkosi.presets/system/mkosi.extra/usr/lib/repart.d/15-swap.conf (limited to 'mkosi.presets') diff --git a/mkosi.presets/system/mkosi.extra/usr/lib/repart.d/15-swap.conf b/mkosi.presets/system/mkosi.extra/usr/lib/repart.d/15-swap.conf new file mode 100644 index 0000000000..3755278462 --- /dev/null +++ b/mkosi.presets/system/mkosi.extra/usr/lib/repart.d/15-swap.conf @@ -0,0 +1,6 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later + +[Partition] +Type=swap +SizeMinBytes=100M +SizeMaxBytes=100M -- cgit v1.2.3