summaryrefslogtreecommitdiffstats
path: root/tools/builder_defaults.sh
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-10-11 15:57:17 -0300
committerRenato Botelho <renato@netgate.com>2016-10-11 15:57:17 -0300
commit2ac4be3a6b52a266a571fda10456fd350c1d20d0 (patch)
tree57a76d84b1eeaa803587fa8d539e6ba73dcd570a /tools/builder_defaults.sh
parentbd4e01942dec4788eff97b744907f8c93fdbdcaf (diff)
downloadpfsense-2ac4be3a6b52a266a571fda10456fd350c1d20d0.zip
pfsense-2ac4be3a6b52a266a571fda10456fd350c1d20d0.tar.gz
Remove nanobsd related code from build scripts
Diffstat (limited to 'tools/builder_defaults.sh')
-rw-r--r--tools/builder_defaults.sh29
1 files changed, 1 insertions, 28 deletions
diff --git a/tools/builder_defaults.sh b/tools/builder_defaults.sh
index eeec00d..501b5b1 100644
--- a/tools/builder_defaults.sh
+++ b/tools/builder_defaults.sh
@@ -54,12 +54,7 @@ fi
# Make sure pkg will not be interactive
export ASSUME_ALWAYS_YES=true
-# Architecture, supported ARCH values are:
-# Tier 1: i386, AMD64, and PC98
-# Tier 2: ARM, PowerPC, ia64, Sparc64 and sun4v
-# Tier 3: MIPS and S/390
-# Tier 4: None at the moment
-# Source: http://www.freebsd.org/doc/en/articles/committers-guide/archs.html
+# Architecture
export TARGET=${TARGET:-"`uname -m`"}
export TARGET_ARCH=${TARGET_ARCH:-${TARGET}}
# Set TARGET_ARCH_CONF_DIR
@@ -180,25 +175,6 @@ export OVA_SWAP_PART_SIZE_IN_GB=${OVA_SWAP_PART_SIZE_IN_GB:-"0"}
export OVA_TMP=${OVA_TMP:-"${SCRATCHDIR}/ova_tmp"}
# end of OVF
-# Number of code images on media (1 or 2)
-export NANO_IMAGES=2
-# 0 -> Leave second image all zeroes so it compresses better.
-# 1 -> Initialize second image with a copy of the first
-export NANO_INIT_IMG2=1
-export NANO_NEWFS="-b 4096 -f 512 -i 8192 -O1"
-export FLASH_SIZE=${FLASH_SIZE:-"2g"}
-# Size of code file system in 512 bytes sectors
-# If zero, size will be as large as possible.
-export NANO_CODESIZE=0
-# Size of data file system in 512 bytes sectors
-# If zero: no partition configured.
-# If negative: max size possible
-export NANO_DATASIZE=0
-# Size of Product /conf partition # 102400 = 50 megabytes.
-export NANO_CONFSIZE=102400
-# packet is OK for 90% of embedded
-export NANO_BOOT0CFG="-o packet -s 1 -m 3"
-
# NOTE: Date string is used for creating file names of images
# The file is used for sharing the same value with build_snapshots.sh
export DATESTRINGFILE=${DATESTRINGFILE:-"$SCRATCHDIR/version.snapshots"}
@@ -343,9 +319,6 @@ export MEMSTICK_VARIANTS=${MEMSTICK_VARIANTS:-}
export VARIANTIMAGES=""
export VARIANTUPDATES=""
-# nanobsd templates
-export NANOBSD_IMG_TEMPLATE=${NANOBSD_IMG_TEMPLATE:-"${PRODUCT_NAME}${PRODUCT_NAME_SUFFIX}-${PRODUCT_VERSION}${PRODUCT_REVISION:+-p}${PRODUCT_REVISION}-%%SIZE%%-${TARGET}-%%TYPE%%${TIMESTAMP_SUFFIX}.img"}
-
# Rsync data to send snapshots
export RSYNCUSER=${RSYNCUSER:-"snapshots"}
export RSYNCPATH=${RSYNCPATH:-"/usr/local/www/snapshots/${TARGET}/${PRODUCT_NAME}_${GIT_REPO_BRANCH_OR_TAG}"}
OpenPOWER on IntegriCloud