Commit 6ced4d8
Alex J Lennon
ci: fix yocto-check-layer distro validation errors
Resolve multiple validation issues:
1. **Fix DISTRO configuration**: Use 'nodistro' instead of 'poky'
- nodistro is always available and has no external dependencies
- Avoids 'DISTRO poky not found' errors
2. **Handle meta-lmp-base dependency**: Skip distro layer validation
- meta-dynamicdevices-distro requires Foundries.io LmP base layer
- Not available in minimal validation environment
- Skip with clear explanation rather than fail
3. **Resolve collection conflicts**: Clean up BitBake test data
- Remove bitbake/lib/layerindexlib/tests/testdata/
- Remove cached build/layers/ to avoid duplicates
- Prevents 'Collection found multiple times' errors
This enables proper yocto-check-layer validation of BSP and main layers
while gracefully handling distro layer dependencies.1 parent a217ace commit 6ced4d8
1 file changed
Lines changed: 11 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
118 | 123 | | |
119 | 124 | | |
120 | 125 | | |
| |||
146 | 151 | | |
147 | 152 | | |
148 | 153 | | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
159 | 158 | | |
160 | 159 | | |
161 | 160 | | |
| |||
0 commit comments