From a08025b5ff69959c0b684c6a1d37c10a2a0bcdd4 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 5 Feb 2017 00:56:27 +0000 Subject: fix config-mgmt-swap --- config-mgmt-swap.PKGBUILD | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/config-mgmt-swap.PKGBUILD b/config-mgmt-swap.PKGBUILD index 6d0492b..05bf209 100644 --- a/config-mgmt-swap.PKGBUILD +++ b/config-mgmt-swap.PKGBUILD @@ -1,16 +1,25 @@ . ${BUILDFILE%/*}/common.sh -pkgver=20170204 +pkgver=20170204.2 package() { preamble depends=(systemd-swap) +# In addition to what's configured in fstab, we use systemd-swap to +# manage advanced swap devices. There are 3 things we enable in +# systemd-swap: +# +# - zswap: compress pages on disk +# - zram: compress pages in ram +# - swapfc: in emergencies, allocate space in the filesystem to swap +# to add-file -m755 usr/share/holo/files/10-"$pkgname"/etc/systemd/swap.conf.holoscript <