Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pmaports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
postmarketOS
pmaports
Commits
e61bf691
Verified
Commit
e61bf691
authored
5 months ago
by
Clayton Craft
Browse files
Options
Downloads
Patches
Plain Diff
ci/grep: fail if device pkg uses console=null (MR 5752)
parent
0c3e1a97
Branches
Branches containing commit
No related tags found
1 merge request
!5752
device/*: stop using console=null
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.ci/grep.sh
+7
-0
7 additions, 0 deletions
.ci/grep.sh
with
7 additions
and
0 deletions
.ci/grep.sh
+
7
−
0
View file @
e61bf691
...
...
@@ -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
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment