Do proper arithmetic instead of mixing string with number in comparions
Add safety belt here since the vars might be not defined the first loop
Do this in the right place. Since dobuilds is just building after that the linking and scping of file will get wrong timestamp with changes i did before
To not enter in detached state rebase the origin instead of resetting state
Oops forgot to have this code as well
Make this correct and with proper comments
Rather try a more direct way of enforcing new date on snapshots
Correct variable setting
Correct path to search for tools repo
Make the argument to be passed correctly to function
Use the parameter actually
Do not loose build snapshots logs
Re-fix the version files for snapshots
Remove build_snapshots_looped.sh and merge it in build_snapshots.sh
Unset these vars even on build_snapshots.sh since it includes builder_defaults.sh too.
Set the proper format for builtime file in etc. Also use variables to have the same info between build_snapshots.sh and build.sh
s/_vga/-vga/ in new world order
Test if dir exists to avoid errors
Restore version file generation lost in transit to properly be able to report to nstallations that a new update is available.
Correct file name
Always set the date to avoid problems during repeated loops. Also do not remove file used by snapshots_looped.
Fix paths
Correct path name
Heh properly fix this allover
Correct the snapshot script to do the right thingAlso s/nanobsdvga/nanobsd-vga/ to keep consistency for auto upgrades
Do not build anymore 512mb nano images since they are too smal
Manage better error handling and set +|-e
Do the git_last_commit dance with build.sh since build_snapshots its too early
Pass proper argumeng here
Merge all build scripts into one.
Unset variables sensitive to platform being built to be able to make right decision
Ooops something slipped in
Rather record the last commit on build_snapshots.sh rather than _looped one since the cleanup process might remove things
Respect global settings so the images are properly uploaded to the snapshots
Remove reference to deviso and do not source twice pfsense_local.sh
Remove embedded references
Remove embedded code from here as well
No need to clean so eagerly its not cleaning up germs. One time is enough during build_snapshot. This should reduce the time on building snapshots as well
Revert "Remove useless and maybe dangerous cleanup"
This reverts commit fea06603436ba2ca7dba24e221bf91c402031c75.
Remove useless and maybe dangerous cleanup
Do not cleanup objects dir uselessly FreeBSD nowdays does the right thing.
No need to cleanup objects dir during rebuilds
Use SCRATCHDIR rather than /tmp around scripts to be able to easily overwrite this. Defaulting to /tmp of course
Remove references to SUPFILE
First pass at dropping cvsup/svnup
remove bandwidth limit on snapshots rsync, it's copying locally now
Fix option name
bump the rsync speed limit
Deactivate OVA builds.
Add a couple more helpful log messages.
Provide a -u option here to disable uploading snapshots
Revert "Remove unexisting paramter from script. It will detect nano from environment directly"
This reverts commit 24573769eab2eb4c5fb111bc5279bfb96d9c4123.
Unset BUILD_KERNELS as well to be picked by script itself
This broke nano+vga again somehow. Revert "Fix nanobsd with vga build and restore variables after it"
This reverts commit 18e7ef619b281da2032f751d166455fb471a8be4.
Fix nanobsd with vga build and restore variables after it
Don't use a $ here, it won't unset as intended.
Actually this seems a better place
Unset this to have proper default kernel
Remove unexisting paramter from script. It will detect nano from environment directly
Bring back update_git_repos.sh is more useful in builder_scripts
Correct location of update_git_repos.sh
Remove remenants of deviso
Try to avoid ending up with "obj." rather than "obj.<name>"
Something in this function is stalling snapshot copies. Disable for now.
Use the right filename for vga image links.
One more small fix...
Use the correct var here
A few fixes to recent changes
Reduce bandwidth usage by using ln to link the latest copy of the file rather than copying the data twice.
freesbie2 sources come from github now
the update code expects a slightly different name format here, to preserve compatibility with older versions.
Since the builds are so speedy these days, go ahead and make the nano+vga snaps during the normal run.
Use VGA here if needed, too
One (hopefully last) more NanoBSD+VGA fixup
Another Nano+VGA fix
Fixup some NanoBSD+VGA bits for snapshot building
Knock this down even more, so as to not go over 1Mbyte/s even if both run concurrently.
Make that 1,000 instead
Default to a 10,000 KByte/sec limit
Don't use IP here.
Fix ova filename test and also chmod before uploading (they were ending up 660 instead of 664)
One more fix for nanobsd snap names.
Fix copyinng of nanobsd images, the full filename already includes gz at this point, no need to add it again.
Fix ordering of memstick/iso md5/sha files so they are grouped together in the list properly. Also fix sha256 of the ova
Set and use a common DATESTRING where possible. Standardize format of NanoBSD filenames. Hopefully fixes uploading of 1G nano snapshots.
Try again to fix md5/sha for iso/memstick
Fix md5/sha256 for iso/memstick files during snapshots.
Use correct directory
Allow more variables to be overridden
Allow RSYNCIP to be overridden by pfsense-build.conf
Build ova
Adding new pfSense-disk.ovf and add vmware compatibility
Teach snapshots about ova images
Add 8gb and 16gb nano image code, but don't use it automatically yet.
Add arch to updates and nanobsd filenames, too.
Include $ARCH in snapshot filenames. It gets confusing when you download an i386 and amd64 snap to the same folder and can't tell them apart.
Copy correct files