steps: Handle wrynose mixin special case in non-wrynose builds
PATCH 1/1 steps: Handle wrynose mixin special case in non-wrynose builds
We don't want the wrynose mixin for qcom leaking into our other builds. This workaround is horrible but the least worst solution I could find.
Signed-off-by Richard Purdie <[email protected]>
--- steps/writebbsetupjson.py | 4 ++++ steps/writelayerinfo.py | 3 +++ 2 files changed, 7 insertions(+)
steps/writebbsetupjson.py +4 -0
@@ -39,6 +39,10 @@ class WriteBBSetupJson(steps.StringDownload): branch = self.getProperty("branch_{}".format(repo)) revision = self.getProperty("commit_{}".format(repo)) + # Skip mixin-wrynose-linux-firmware for non wrynose builds + if "wrynose" in repo and "wrynose" not in branch: + continue + if revision and revision != "HEAD": rev = revision else:
steps/writelayerinfo.py +3 -0
@@ -29,6 +29,9 @@ class WriteLayerInfo(steps.StringDownload): location = self.getProperty("location_{}".format(repo)) if location: repodict["location"] = location + # Skip mixin-wrynose-linux-firmware for non wrynose builds + if "wrynose" in repo and "wrynose" not in repodict["branch"]: + continue layerinfo[repo] = repodict return json.dumps(layerinfo, sort_keys=True, indent=4,