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
ec5b59eb
Verified
Commit
ec5b59eb
authored
1 year ago
by
Newbyte
Browse files
Options
Downloads
Patches
Plain Diff
CI: check for "before wpa_supplicant" in OpenRC service files (MR 4769)
See
https://gitlab.com/postmarketOS/pmaports/-/merge_requests/4564
parent
5fce7431
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#207205
passed
1 year ago
Stage: lint
Stage: build
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.ci/grep.sh
+8
-0
8 additions, 0 deletions
.ci/grep.sh
with
8 additions
and
0 deletions
.ci/grep.sh
+
8
−
0
View file @
ec5b59eb
...
...
@@ -72,4 +72,12 @@ if grep -qr $POSTMARKETOS_WALLPAPER_PATH \
exit_code
=
1
fi
OPENRC_SERVICE_FILES
=
$(
find
.
-name
'*.initd'
)
# shellcheck disable=SC2086
if
grep
-q
'before wpa_supplicant'
$OPENRC_SERVICE_FILES
;
then
echo
"ERROR: Please use 'before wlan' in OpenRC service files! This ensures compatibility with both wpa_supplicant and iwd."
grep
--color
=
always
'before wpa_supplicant'
$OPENRC_SERVICE_FILES
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