diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2023-08-16 16:17:44 +0200 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2023-08-16 21:26:07 +0200 |
commit | eeb246920d55d03298434345e55b2eb669deb178 (patch) | |
tree | ab5ee99b47d58a5c745e29b8c5d6f55a8e595a79 /mkosi.presets | |
parent | repart: Default to swap format for swap partitions (diff) | |
download | systemd-eeb246920d55d03298434345e55b2eb669deb178.tar.xz systemd-eeb246920d55d03298434345e55b2eb669deb178.zip |
mkosi: Add a swap partition
systemd-oomd keeps complaining about the lack of swap partition, so
let's add one.
Diffstat (limited to 'mkosi.presets')
-rw-r--r-- | mkosi.presets/system/mkosi.extra/usr/lib/repart.d/15-swap.conf | 6 |
1 files changed, 6 insertions, 0 deletions
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 |