summaryrefslogtreecommitdiff
path: root/functions/defaults.sh
diff options
context:
space:
mode:
authorColin Watson <cjwatson@canonical.com>2011-06-08 11:30:29 +0100
committerDaniel Baumann <daniel@debian.org>2011-06-13 20:08:34 +0200
commitabcc4ca9bfc0ca22ce0294616088256062a971fe (patch)
tree6853d3604638162e2cbaa03ebd6b788a28c1178e /functions/defaults.sh
parentf342cd85b8bd0ea30544c429752e0e5b1b09ef7a (diff)
downloadvyos-live-build-abcc4ca9bfc0ca22ce0294616088256062a971fe.tar.gz
vyos-live-build-abcc4ca9bfc0ca22ce0294616088256062a971fe.zip
Add --swap-file-path and --swap-file-size options (Closes: #629637).
Diffstat (limited to 'functions/defaults.sh')
-rwxr-xr-xfunctions/defaults.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 9e34e6a1b..3bb9adc33 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -1044,6 +1044,9 @@ Set_defaults ()
;;
esac
+ # Setting swap file
+ LB_SWAP_FILE_SIZE="${LB_SWAP_FILE_SIZE:-512}"
+
## config/source
# Setting source option