setup-config: disable version-going-backwards error when using buildhistory

The version-going-backwards ERROR_QA option should be disabled when using
buildhistory.

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
This commit is contained in:
Joshua Lock 2018-01-17 13:43:10 +00:00
parent 81563846bf
commit 1db6f2f787

View File

@ -119,6 +119,7 @@ if contains(["BUILD_HISTORY_DIR", "build-history-targets", "BUILD_HISTORY_REPO"]
variables.append('INHERIT += "buildhistory"') variables.append('INHERIT += "buildhistory"')
variables.append('BUILDHISTORY_DIR = "%s"' % bh_path) variables.append('BUILDHISTORY_DIR = "%s"' % bh_path)
variables.append('BUILDHISTORY_PUSH_REPO = "%s %s:%s"' % (remoterepo, remotebranch, remotebranch)) variables.append('BUILDHISTORY_PUSH_REPO = "%s %s:%s"' % (remoterepo, remotebranch, remotebranch))
variables.append('ERROR_QA_remove = "version-going-backwards"')
print("Writing %s with contents:" % autoconf) print("Writing %s with contents:" % autoconf)
with open(autoconf, "w") as f: with open(autoconf, "w") as f: