Fix -U option
Change default to never upload files and add a new option to do it
Do not exit while running in loop mode
Remove quotes from commands
Teach build_snapshots.sh to read exit code of build.sh
Move copyright from ESF to Netgate
Read output line by line
Review license / copyright on all files (1st round)
Introduce a new option to build only core packages and skip images
Remove support for nanobsd images < 2gb. Fixes #5836
Remove extra spaces
Use $* to join all strings
Print all parameters
Silence often message
Check often for new ports tree commits
Check for new commits on ports tree
We don't need author
Teach build_snapshots to deal with poudriere builds
Break long lines
If an error happened, just abort, there is no reason to ask user to press enter
Fix function name
Consider NO_UPLOAD when calling build.sh
Create snapshot_update_status()
Use getopts to read parameters, implement -r to do not reset local changes and move git operations inside git_last_commit to reduce redundancy
Make sure repo is updated since first run, also, update it when SIGINFO is received
Handle all sleep operations inside snapshots_sleep_between_runs()
Do not run sleep in bg, use variables to control when it needs to be restarted
Make sure local changes are reset before git pull, in some cases pull can fail due to conflicts
Start to build a new round of snapshots when get SIGINFO (ctrl+t)
Do not set maxsleepvalue to 0
Do not wait a key to be pressed when build.sh is called by build_snapshots.sh
Break long line
Use read -r to make sure we print lines as they are
Fix output capture taking stderr into consideration
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
Deduplicate git_last_commit()
Do not add timestamp for release builds
Use full path to source file
Replace hard coded rsync data by new variables
Leave RSYNCIP to be defined in build.conf by user, exit if it's not defined
Repect SCRATCHDIR
Define BUILDER_TOOLS and BUILDER_ROOT on caller scripts and add extra checks
Rename MAKEOBJDIRPREFIXFINAL to IMAGES_FINAL_DIR
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...
Import build scripts from pfSense-tools repo