1
0
Fork 0

Disable swap

This commit is contained in:
Braiden Vasco 2017-07-09 19:24:45 +00:00
parent 2d000e2c7e
commit cc3f7e5bb7
3 changed files with 0 additions and 21 deletions

View File

@ -307,15 +307,6 @@ on_chroot << EOF
apt-get install -y ca-certificates
EOF
##
# Enable swap.
#
on_chroot << EOF
apt-get install -y dphys-swapfile
EOF
apply_patch '05-swap.diff'
##
# Configure environment.
#

View File

@ -1,11 +0,0 @@
--- rootfs.orig/etc/dphys-swapfile
+++ 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

View File

@ -3,7 +3,6 @@
03-passwordless-sudo.diff
04-bashrc.diff
05-useradd.diff
06-swap.diff
07-path.diff
08-dhcp-server.diff
09-ipv4-forwarding.diff