Taking the files from the bootrr package. This will allow us to move the package to alpine in the future, also to, in follow-up commits, make the use of the postmarketos-test package consistent. Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org> Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7881>
10 lines
173 B
Bash
10 lines
173 B
Bash
#!/bin/sh -e
|
|
# Description: bootrr sanity check
|
|
|
|
bootrr | tee bootrr.log
|
|
|
|
if [ grep -q 'fail' bootrr.log ]; then
|
|
echo "PMOS-CI-TEST: bootrr sanity check failed"
|
|
exit 1
|
|
fi
|