summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-09-29 21:54:09 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-10-06 23:14:25 +0100
commit97946fb3952e01cc6c671e07a75f48313d0c4d4c (patch)
tree601c0434de054240703d3bf7b80e45a4d066471f /meta/recipes-core/systemd
parent2de508e3cb4489e4973ae5f1068c260accf1bc34 (diff)
downloadpoky-97946fb3952e01cc6c671e07a75f48313d0c4d4c.tar.gz
systemd: Use ROOTPREFIX without suffixed slash in systemd.pc.in
(From OE-Core rev: 797faa735887bb5687eeca7af5d320d530e5238e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd')
-rw-r--r--meta/recipes-core/systemd/systemd/0001-systemd.pc.in-use-ROOTPREFIX-without-suffixed-slash.patch37
-rw-r--r--meta/recipes-core/systemd/systemd_246.6.bb1
2 files changed, 38 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd/0001-systemd.pc.in-use-ROOTPREFIX-without-suffixed-slash.patch b/meta/recipes-core/systemd/systemd/0001-systemd.pc.in-use-ROOTPREFIX-without-suffixed-slash.patch
new file mode 100644
index 0000000000..622a4108bb
--- /dev/null
+++ b/meta/recipes-core/systemd/systemd/0001-systemd.pc.in-use-ROOTPREFIX-without-suffixed-slash.patch
@@ -0,0 +1,37 @@
1From 58860e0f248576a80ff2af256ba42713c186ae93 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 29 Sep 2020 18:01:41 -0700
4Subject: [PATCH] systemd.pc.in: use ROOTPREFIX without suffixed slash
5
6This complements the commit
7https://github.com/poettering/systemd/commit/b612c26ceb9f56af0271fc9f07c1724d2d260a8a
8
9Upstream-Status: Pending
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 src/core/systemd.pc.in | 8 ++++----
13 1 file changed, 4 insertions(+), 4 deletions(-)
14
15--- a/src/core/systemd.pc.in
16+++ b/src/core/systemd.pc.in
17@@ -65,16 +65,16 @@ systemdshutdowndir=${systemd_shutdown_di
18 tmpfiles_dir=${prefix}/lib/tmpfiles.d
19 tmpfilesdir=${tmpfiles_dir}
20
21-sysusers_dir=${rootprefix}/lib/sysusers.d
22+sysusers_dir=${prefix}/lib/sysusers.d
23 sysusersdir=${sysusers_dir}
24
25-sysctl_dir=${rootprefix}/lib/sysctl.d
26+sysctl_dir=${prefix}/lib/sysctl.d
27 sysctldir=${sysctl_dir}
28
29-binfmt_dir=${rootprefix}/lib/binfmt.d
30+binfmt_dir=${prefix}/lib/binfmt.d
31 binfmtdir=${binfmt_dir}
32
33-modules_load_dir=${rootprefix}/lib/modules-load.d
34+modules_load_dir=${prefix}/lib/modules-load.d
35 modulesloaddir=${modules_load_dir}
36
37 catalog_dir=${prefix}/lib/systemd/catalog
diff --git a/meta/recipes-core/systemd/systemd_246.6.bb b/meta/recipes-core/systemd/systemd_246.6.bb
index c1424a1474..9215adf8dc 100644
--- a/meta/recipes-core/systemd/systemd_246.6.bb
+++ b/meta/recipes-core/systemd/systemd_246.6.bb
@@ -20,6 +20,7 @@ SRC_URI += "file://touchscreen.rules \
20 file://99-default.preset \ 20 file://99-default.preset \
21 file://0001-binfmt-Don-t-install-dependency-links-at-install-tim.patch \ 21 file://0001-binfmt-Don-t-install-dependency-links-at-install-tim.patch \
22 file://0003-implment-systemd-sysv-install-for-OE.patch \ 22 file://0003-implment-systemd-sysv-install-for-OE.patch \
23 file://0001-systemd.pc.in-use-ROOTPREFIX-without-suffixed-slash.patch \
23 " 24 "
24 25
25# patches needed by musl 26# patches needed by musl