@@ -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:
@@ -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,
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 <richard.purdie@linuxfoundation.org> --- steps/writebbsetupjson.py | 4 ++++ steps/writelayerinfo.py | 3 +++ 2 files changed, 7 insertions(+)