Skip to content
Snippets Groups Projects
Verified Commit e61bf691 authored by Clayton Craft's avatar Clayton Craft :speech_balloon:
Browse files

ci/grep: fail if device pkg uses console=null (MR 5752)

parent 0c3e1a97
Branches
No related tags found
1 merge request!5752device/*: stop using console=null
......@@ -87,4 +87,11 @@ if grep -qEr 'PMOS_NO_OUTPUT_REDIRECT' -- *; then
exit_code=1
fi
if grep -qEr '^deviceinfo_kernel_cmdline.*[\"\s]console=null' -- device/; then
echo "ERROR: Do not use console=null in the kernel command line."
echo "Use these params to quiet console on boot: quiet loglevel=2"
echo "For more information, see: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/2989"
exit_code=1
fi
exit "$exit_code"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment