diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/builder_common.sh | 4 | ||||
-rw-r--r-- | tools/builder_defaults.sh | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/builder_common.sh b/tools/builder_common.sh index f676558..6d0d401 100644 --- a/tools/builder_common.sh +++ b/tools/builder_common.sh @@ -381,7 +381,7 @@ print_flags() { printf " Git Branch or Tag: %s\n" $GIT_REPO_BRANCH_OR_TAG 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_FIRST_PART_SIZE_IN_GB: %s\n" $OVA_FIRST_PART_SIZE_IN_GB 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 @@ -801,7 +801,7 @@ create_ova_image() { makefs \ -B little \ -o label=${PRODUCT_NAME} \ - -s ${OVA_FIRST_PART_SIZE} \ + -s ${OVA_FIRST_PART_SIZE_IN_GB}g \ ${OVA_TMP}/${OVFUFS} \ ${FINAL_CHROOT_DIR} 2>&1 >> ${LOGFILE} diff --git a/tools/builder_defaults.sh b/tools/builder_defaults.sh index 94eeddb..cef1093 100644 --- a/tools/builder_defaults.sh +++ b/tools/builder_defaults.sh @@ -206,7 +206,7 @@ export OVFVMDK=${OVFVMDK:-"${PRODUCT_NAME}-disk1.vmdk"} # 8 gigabyte on disk VMDK size export VMDK_DISK_CAPACITY_IN_GB=${VMDK_DISK_CAPACITY_IN_GB:-"8"} # first partition size (freebsd-ufs) -export OVA_FIRST_PART_SIZE=${OVA_FIRST_PART_SIZE:-"6g"} +export OVA_FIRST_PART_SIZE_IN_GB=${OVA_FIRST_PART_SIZE_IN_GB:-"6"} # swap partition size (freebsd-swap) export OVA_SWAP_PART_SIZE_IN_GB=${OVA_SWAP_PART_SIZE_IN_GB:-"2"} # Calculate real swap size, removing 128 blocks (65536 bytes) beggining/loader |