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 apt-get install -y ca-certificates
EOF EOF
##
# Enable swap.
#
on_chroot << EOF
apt-get install -y dphys-swapfile
EOF
apply_patch '05-swap.diff'
## ##
# Configure environment. # 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 03-passwordless-sudo.diff
04-bashrc.diff 04-bashrc.diff
05-useradd.diff 05-useradd.diff
06-swap.diff
07-path.diff 07-path.diff
08-dhcp-server.diff 08-dhcp-server.diff
09-ipv4-forwarding.diff 09-ipv4-forwarding.diff