Fix reverse checking
Remove backtick accidentally left
Do not add timestamp for release builds
Simplify logic for snapshots datestrings
Be more verbose about what is happening
Fix default-config-vmware pkg name
Rename OVA_FIRST_PART_SIZE to OVA_FIRST_PART_SIZE_IN_GB to match other similar variables
Create a specific default-config package for vmware
Math here is in bytes, not in blocks, use correct value
Fix ova fstab
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
Remove extra 'i' left by accident
Check if final file exists, not temporary
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
Fix typo in variable name
Add macros between % and % on pfSense.ovf, then simplify the logic of ova_setup_ovf_template()
Use 2 different networks on ovf, LAN and WAN. While here, fix vmxnet3 case to VmxNet3
Catch up with meta port rename pfSense-vm -> pfSense-vmware
Refactor OVA image build process using mkimg and makefs
Replace e1000 by vmxnet3
Remove more redundant actions
Do not calculate size of mnt partition if it's not used anyway
Stop modifying conf directories for ova, it's handled by default-config package
Do not mount ovf image on /mnt but inside builder to avoid touching builder
Remove path to call echo
Remove lots of sync calls
Remove unnecessary variables, also add some error checking
Rename ova_setup_ovf_file() to ova_setup_ovf_template()
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
Obsolete use of /etc/nano_use_vga.txt, Use enableserial_force flag instead
Use full path to source file
Fix i386 kernel names
Stop calling ntpdate to fix builder clock
Check if file exists before try to access it
Remove extra spaces
Do not set PKG_RSYNC_HOSTNAME automatically
Fix update_package_pfPorts.php to work with new build structure
Fix wrong variable name
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
Leave RSYNCIP to be defined in build.conf by user, exit if it's not defined
Rename NO_CLEANFREEBSDOBJDIR -> NO_CLEAN_FREEBSD_OBJ and NO_CLEANREPOS -> NO_CLEAN_FREEBSD_SRC
Repect SCRATCHDIR
Remove ensure_source_directories_present() and call update_freebsd_sources() direct
Define BUILDER_TOOLS and BUILDER_ROOT on caller scripts and add extra checks
Rename clean_obj_dir() to clean_builder()
Do not remove CHROOT directories, they can be mounted on MFS filesystems. Create them if they don't exist and just delete their content
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
Do not try to get make.conf from other branch
_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
We won't use set_version.sh anymore, now build system follows main repo then it's not supposed to be able multiple pfSense versions
Fix file permission
Import build scripts from pfSense-tools repo