Look for src and ports repo in the same git server
Set FreeBSD src and ports repo to use github or git.pfmechanics.com based on local clone of pfSense repo
Consider numeric values after BETA and RC
Improve base package versioning scheme to deal with -DEVELOPMENT, -ALPHA, -BETA and -RC
Fix one more reverse check
Fix filename
Change core pkg dir to have packages under All/ and repo on ./
Move snapshot related functions to builder_common.sh and leave build_snapshots.sh a simple script that update repo and call build.sh, without need to know anything about build.conf variables
Rename directory where core packages are created to match other package repo path and make it easy to identify
Fix reverse checking
Remove backtick accidentally left
Do not add timestamp for release builds
Simplify logic for snapshots datestrings
Rename OVA_FIRST_PART_SIZE to OVA_FIRST_PART_SIZE_IN_GB to match other similar variables
Math here is in bytes, not in blocks, use correct value
Remove 128 blocks (65536 bytes) from swap size, this is used by loader and boot and makes disk capacity to be respected
First create a raw, then convert it to vmdk, and when convert, use -c to force it to respect size
Fix PEODUCT_URL variable default assignment
Use modern pfSense.ovf template, remove unnecessary variables and use vmdktool to convert disk to a modern version
Export MAKEOBJDIRPREFIX to builder/tmp and stop touching builder /usr/obj
Refactor OVA image build process using mkimg and makefs
Move ovf template to templates/ovf, also rename variables accordingly
We do not need a separate path variable for ovf, use IMAGES_FINAL_DIR instead
Fix i386 kernel names
Do not set PKG_RSYNC_HOSTNAME automatically
Remove pfSense definitions from default config and move check after PRODUCT_NAME is set
Remove local from declarations out of functions
Fix reverse check
Detect unauthorized attempt to build pfSense
Replace hard coded rsync data by new variables
Define BUILDER_TOOLS and BUILDER_ROOT on caller scripts and add extra checks
Reorder default definitions grouping by subject
Remove unused variable NANO_WITH_VGA
Make sure we do not add empty -j to make parameter
Rename SRCDIR to FREEBSD_SRC_DIR and change default value to SCRATCHDIR/FreeBSD-src to make build process less intrusive
Move stage dir and final iso dir to ./tmp to make build process less intrusive
Remove unused var BUILDER_HOST_TARGET
Remove unnecessary IFS replacement
Add quotes to default variables definitions
Detect current branch or tag
_BUILDER_EPOCH is local
Rename MAKEOBJDIRPREFIXFINAL to IMAGES_FINAL_DIR
Read /etc/version and set PRODUCT_VERSION
Introduce PRODUCT_SRC
Rename BUILDER_SCRIPTS to BUILDER_TOOLS that makes more sense on current infrastructure, also remove some cd calls
Adapt tools scripts for pfSense main repo (round #1):
- Move SCRATCHDIR to ./tmp and add it to .gitignore- Move logs to ./logs and add it to .gitignore- Add build.conf to .gitignore- Rename BUILDER_TOOLS to BUILDER_ROOT that makes more sense in new infrastructure...
Change the way to detect BUILDER_SCRIPTS and BUILDER_TOOLS and make build.conf optional
Import build scripts from pfSense-tools repo