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
633ac379
Verified
Commit
633ac379
authored
9 months ago
by
Clayton Craft
Browse files
Options
Downloads
Patches
Plain Diff
systemd/abuild: add patch to warn on install to /bin or /lib
parent
cdefbca4
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
extra-repos/systemd/abuild/0002-abuild-add-warning-in-systemd-split-func-about-non-u.patch
+28
-0
28 additions, 0 deletions
...build-add-warning-in-systemd-split-func-about-non-u.patch
extra-repos/systemd/abuild/APKBUILD
+3
-1
3 additions, 1 deletion
extra-repos/systemd/abuild/APKBUILD
with
31 additions
and
1 deletion
extra-repos/systemd/abuild/0002-abuild-add-warning-in-systemd-split-func-about-non-u.patch
0 → 100644
+
28
−
0
View file @
633ac379
From d27596cd67928e4795dc99dbc139b231354c3381 Mon Sep 17 00:00:00 2001
From: Clayton Craft <clayton@craftyguy.net>
Date: Fri, 5 Jul 2024 10:38:50 -0700
Subject: [PATCH 2/2] abuild: add warning in -systemd split func about
non-usr-merged birs
---
abuild.in | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/abuild.in b/abuild.in
index 74e47f1..e5f9be0 100644
--- a/abuild.in
+++ b/abuild.in
@@ -2165,6 +2165,10 @@
default_systemd() {
fi
amove usr/lib/systemd
+
+ if [ -d bin ] || [ -d lib ] || [ -d usr/sbin ]; then
+ warning "Files should be installed to /usr/bin or /usr/lib, not /bin, /lib, or /usr/sbin"
+ fi
}
systemd() {
--
2.45.2
This diff is collapsed.
Click to expand it.
extra-repos/systemd/abuild/APKBUILD
+
3
−
1
View file @
633ac379
...
...
@@ -3,7 +3,7 @@
pkgname
=
abuild
pkgver
=
99993.12.0
_pkgver
=
3.12.0
pkgrel
=
2
pkgrel
=
3
pkgdesc
=
"Script to build Alpine Packages"
url
=
"https://git.alpinelinux.org/cgit/abuild/"
arch
=
"all"
...
...
@@ -25,6 +25,7 @@ pkggroups="abuild"
source
=
"
https://gitlab.alpinelinux.org/alpine/abuild/-/archive/
$_pkgver
/abuild-
$_pkgver
.tar.gz
0001-abuild-add-systemd-splitfunc.patch
0002-abuild-add-warning-in-systemd-split-func-about-non-u.patch
"
builddir
=
"
$srcdir
/
$pkgname
-
$_pkgver
"
...
...
@@ -102,4 +103,5 @@ _rootbld() {
sha512sums
=
"
00fac67aa96a83f33406dde60bd9526bfa5fdff690b84dbe867b6ed197f147b2afafcdfbda900c005e00a64a42bcb98ca425ffc8bf2158b9540cbb67d935577d abuild-3.12.0.tar.gz
52cc5857b3c93bd4595de1d06c3c600b88871c68f7a1ea51e10d720ddd9c8fb7f0f63cd2f4fe280c0d9adaf607de8b858f4add3e46b1a5a28cc6c711359f6c60 0001-abuild-add-systemd-splitfunc.patch
3782341dac814ecbcb7d2b4242d85f03ca2e4bf9eeb3b1e9524b2c434b05c864f5a4b5b8abc4031085e7e943e90780fe07b1e99d4cfadf0695340ad321647cac 0002-abuild-add-warning-in-systemd-split-func-about-non-u.patch
"
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