Skip to content

Commit d3291e0

Browse files
author
Alex J Lennon
committed
Fix yocto-check-layer syntax and remove error suppression
🔧 Syntax Fixes: - Use layer directory as positional argument (not --layer flag) - Use --no-auto-dependency (singular, not plural) - Remove error suppression to ensure CI fails on validation errors ✅ Benefits: - CI will now execute yocto-check-layer without syntax errors - Proper failure handling when validation issues occur - Focused validation on current layer only - Clear error reporting for debugging
1 parent 2ea7d23 commit d3291e0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/distro-layer-validation.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -273,9 +273,9 @@ jobs:
273273
# Run the layer check
274274
echo "Running yocto-check-layer..."
275275
python3 ../build/layers/openembedded-core/scripts/yocto-check-layer \
276-
--layer .. \
277-
--output-log ../distro-layer-check-${{ matrix.yocto_branch }}.log \
278-
|| echo "yocto-check-layer completed with issues"
276+
.. \
277+
--no-auto-dependency \
278+
--output-log ../distro-layer-check-${{ matrix.yocto_branch }}.log
279279
280280
- name: Analyze Distro Layer Check Results
281281
run: |

0 commit comments

Comments
 (0)