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:
parent
a1f8eecde7
commit
60d4821f68
2 changed files with 8 additions and 0 deletions
7
.ci/check-dtb-install-location.sh
Executable file
7
.ci/check-dtb-install-location.sh
Executable 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
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue