CI: add dtb location check (MR 3254)

[ci:ignore-count]: Too many packages probably
[ci:skip-build]: No way this would finish in time
This commit is contained in:
Newbyte 2022-10-07 21:23:14 +02:00 committed by Oliver Smith
parent a1f8eecde7
commit 60d4821f68
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
2 changed files with 8 additions and 0 deletions

View file

@ -0,0 +1,7 @@
#!/bin/sh -e
if grep -r 'INSTALL_DTBS_PATH="$pkgdir"/usr/share/dtb'; then
echo 'Please do not install dtbs to /usr/share/dtb!'
echo 'Unless you have a good reason not to, please put them in /boot/dtbs'
exit 1
fi

View file

@ -71,6 +71,7 @@ aports-static:
script:
- su pmos -c ".ci/run_testcases.sh"
- su pmos -c ".ci/check_changed_aports_versions.py"
- su pmos -c ".ci/check-dtb-install-location.sh"
artifacts:
when: on_failure
paths: