burrow-pi-img/stage2/01-sys-tweaks/00-patches/02-swap.diff

14 lines
580 B
Diff

Index: stretch-stage2/rootfs/etc/dphys-swapfile
===================================================================
--- stretch-stage2.orig/rootfs/etc/dphys-swapfile
+++ stretch-stage2/rootfs/etc/dphys-swapfile
@@ -13,7 +13,7 @@
# set size to absolute value, leaving empty (default) then uses computed value
# you most likely don't want this, unless you have an special disk situation
-#CONF_SWAPSIZE=
+CONF_SWAPSIZE=100
# set size to computed value, this times RAM size, dynamically adapts,
# guarantees that there is enough swap without wasting disk space on excess