summaryrefslogtreecommitdiffstats
path: root/tools/builder_common.sh
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-09-01 10:04:13 -0300
committerRenato Botelho <renato@netgate.com>2015-09-01 10:04:13 -0300
commitbeb078901de855c152c71ea0988d5da713e417c9 (patch)
tree94924d4ab48fc78e9a1a26ef68fa8f17afff514d /tools/builder_common.sh
parent679b5a66fc52c217d38d640cd183f2e47c9e7eac (diff)
downloadpfsense-beb078901de855c152c71ea0988d5da713e417c9.zip
pfsense-beb078901de855c152c71ea0988d5da713e417c9.tar.gz
Remove 128 blocks (65536 bytes) from swap size, this is used by loader and boot and makes disk capacity to be respected
Diffstat (limited to 'tools/builder_common.sh')
-rw-r--r--tools/builder_common.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/builder_common.sh b/tools/builder_common.sh
index 4bf8c96..65f616c 100644
--- a/tools/builder_common.sh
+++ b/tools/builder_common.sh
@@ -382,7 +382,7 @@ print_flags() {
printf " MODULES_OVERRIDE: %s\n" $MODULES_OVERRIDE
printf " VMDK_DISK_CAPACITY_IN_GB: %s\n" $VMDK_DISK_CAPACITY_IN_GB
printf " OVA_FIRST_PART_SIZE: %s\n" $OVA_FIRST_PART_SIZE
- printf " OVA_SWAP_PART_SIZE: %s\n" $OVA_SWAP_PART_SIZE
+ printf " OVA_SWAP_PART_SIZE_IN_GB: %s\n" $OVA_SWAP_PART_SIZE_IN_GB
printf " OVFTEMPLATE: %s\n" $OVFTEMPLATE
printf " OVFVMDK: %s\n" $OVFVMDK
printf " SRC_CONF: %s\n" $SRC_CONF
@@ -838,7 +838,7 @@ create_ova_image() {
rm -f ${OVA_TMP}/${OVFUFS} >/dev/null 2>&1
# Convert raw to vmdk
- vmdktool -c${VMDK_DISK_CAPACITY_IN_GB}G -z9 -v ${OVA_TMP}/${OVFVMDK} ${OVA_TMP}/${OVFRAW}
+ vmdktool -z9 -v ${OVA_TMP}/${OVFVMDK} ${OVA_TMP}/${OVFRAW}
if [ $? -ne 0 -o ! -f ${OVA_TMP}/${OVFVMDK} ]; then
if [ -f ${OVA_TMP}/${OVFRAW} ]; then
OpenPOWER on IntegriCloud