This is intended for the Gerrit buildbot's use only.
When environment variable $GERRIT_PROJECT=aredn_packages
Assumptions:
$BUILDROOTBASE/../aredn_packages exists.
The changeset/refspec/patchset_revision has already been checked out into this aredn_pacakges folder
$GERRIT_PATCHSET_REVISION is set.
When GIT_BRANCH is set and not on aredn_packages gerrit project ensure aredn_packages is checked out
as above or system may fallback to sane defaults.
Change-Id: I693bed9fb2a4f7ee1471a8dbf440bbd391d3e783
Remove the cleanup stage from the build files.
The build server should clear these files on its own steps
independent of the image creation process. There are often times
with local development where having to rebuild the entire system
base doesn't make sense.
Change-Id: Idd621b29a3f35fafb21c872a01af6a055aa63584
Set the openwrt build version to be the version of AREDN.
We don't currently use the OpenWRT version anywhere
This will be useful for implementing /etc/banner version tagging
Change-Id: I484564d28ae2f2e9f6017c038efe288bf1809ce1
Reduce filename length by 15 characters at all time. Help reduce problems with max name length for TPLink devices.
This will not solve all issues as our file name style of branch-buildnumber-8CharCommitID the releases can get long.
This will however allow the final build name for a release version to be under the max file length (for now)
ref AREDN->ticket:107
These scripts are intended to be run by Jenkins.
minimal/no error checking is done with these scripts at this time.
Some ENV variables needs to be set before executing these scripts.