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
8b043c21
Unverified
Commit
8b043c21
authored
3 months ago
by
Jane Rachinger
Committed by
Oliver Smith
2 months ago
Browse files
Options
Downloads
Patches
Plain Diff
systemd/systemd-services: add more systemd directories to installdir table (MR 5954) (MR 5563)
parent
66d8fa2e
No related branches found
Branches containing commit
No related tags found
1 merge request
!5563
Add systemd to pmOS edge
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
extra-repos/systemd/systemd-services/APKBUILD
+9
-2
9 additions, 2 deletions
extra-repos/systemd/systemd-services/APKBUILD
with
9 additions
and
2 deletions
extra-repos/systemd/systemd-services/APKBUILD
+
9
−
2
View file @
8b043c21
...
...
@@ -212,12 +212,19 @@ _service() {
for
f
in
$(
eval
"echo
\$
_
${
n
}
_sources"
)
;
do
prefix
=
"
$subpkgdir
"
# If the path starts with "user" or "system", install under /usr/lib/systemd
# If the path starts with a systemd subdir, install it under /usr/lib/systemd
# if it's some other default dir, install at specifc path
# otherwise treat it as a full path
mode
=
644
if
echo
"user system"
|
grep
-q
"
${
f
%%/*
}
"
;
then
prefix
=
"
$prefix
/usr/lib/systemd"
elif
echo
"tmpfiles.d"
|
grep
-q
"
${
f
%%/*
}
"
;
then
prefix
=
"
$prefix
/usr/lib/tmpfiles.d"
elif
echo
"user-environment-generators system-environment-generators"
|
grep
-q
"
${
f
%%/*
}
"
;
then
prefix
=
"
$prefix
/usr/lib/systemd"
mode
=
755
fi
install
-Dm
644
"
$srcdir
/
$(
flatpath
"
$f
"
)
"
"
$prefix
/
$f
"
install
-Dm
$mode
"
$srcdir
/
$(
flatpath
"
$f
"
)
"
"
$prefix
/
$f
"
done
for
t
in
user system
;
do
...
...
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