Signed-off-by: Aster Boese <asterboese@mailbox.org> Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8183>
13 lines
352 B
Bash
Executable file
13 lines
352 B
Bash
Executable file
#!/bin/sh -e
|
|
# Description: Validate and lint deviceinfo files
|
|
# Options: with-dot-git
|
|
# https://postmarketos.org/pmb-ci
|
|
|
|
if [ "$(id -u)" = 0 ]; then
|
|
set -x
|
|
apk add git python3
|
|
apk add dint --allow-untrusted --repository=https://mirror.postmarketos.org/postmarketos/main
|
|
exec su "${TESTUSER:-build}" -c "sh -e $0"
|
|
fi
|
|
|
|
.ci/lib/deviceinfo_linting.py
|