Skip to contentSkip to conversation

getproperties: Ignore meta-mingw if it doesn't exist

PATCH In review Richard Purdie 2 participants 3 messages Oct 1 – Oct 2

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 getproperties: Ignore meta-mingw if it doesn't exist

We moved meta-mingw from check-layers to check-layers-nightly which means it can sometimes be in the config but not present. It is find to ignore if it isn't present.

The wrynose layer will be removed earlier now and never be present.

---
 scripts/getproperties.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/getproperties.py +1 -1
index 0bafa57..583745b 100755
@@ -57,7 +57,7 @@ for repo in sorted(repos.keys()):
     if not os.path.exists(layerpath):
         # layer may not be used by the build and hence not moved into final position
         layerpath = builddir + '/repos/' + repo
-    if not os.path.exists(layerpath) and repo in ['meta-security', 'mixin-wrynose-linux-firmware']:
+    if not os.path.exists(layerpath) and repo in ['meta-security', 'meta-mingw']:
         # Repos is specified on the controller but not used in the helper config
         continue
     getrevs(jsonprops, layerpath, repo)
#1 lore raw
Quoted 8 lines · Richard Purdie via lists.yoctoproject.org

We moved meta-mingw from check-layers to check-layers-nightly which means it can sometimes be in the config but not present. It is find to ignore if it isn't present.

The wrynose layer will be removed earlier now and never be present.

---

Hi Richard,

Do we need to merge this also on wrynose branch?

https://autobuilder.yoctoproject.org/valkyrie/#/builders/85/builds/1441

Thanks,
Mathieu

Signature · 3 lines
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw
Quoted 10 lines · Mathieu Dubois-Briand via lists.yoctoproject.org
Quoted 8 lines · Richard Purdie via lists.yoctoproject.org

We moved meta-mingw from check-layers to check-layers-nightly which means
it can sometimes be in the config but not present. It is find to ignore
if it isn't present.

The wrynose layer will be removed earlier now and never be present.

Quoted 8 lines
Quoted 2 lines

---

Hi Richard,

Do we need to merge this also on wrynose branch?

https://autobuilder.yoctoproject.org/valkyrie/#/builders/85/builds/1441

Hmm, probably, yes :/

That wasn't quite my intention but that lack of graceful fallback is catching us out and I may need to rethink it...

Cheers,

Richard