Patchwork [meta-oe] systemd-systemctl-native: fix FILESPATH to find systemctl

login
register
mail settings
Submitter Martin Jansa
Date Nov. 26, 2012, 7:28 p.m.
Message ID <1353958133-27074-1-git-send-email-Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/39625/
State Accepted
Commit 681ef5d05325c663ae0a223240e46740b08a8946
Headers show

Comments

Martin Jansa - Nov. 26, 2012, 7:28 p.m.
* BPN is not enough and PN was removed in
  http://git.openembedded.org/openembedded-core/commit/?id=fb359583b659cda643973fa285002aaffb729a51

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-systemd/recipes-core/systemd/systemd-systemctl-native.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Patch

diff --git a/meta-systemd/recipes-core/systemd/systemd-systemctl-native.bb b/meta-systemd/recipes-core/systemd/systemd-systemctl-native.bb
index 5940584..c9c3317 100644
--- a/meta-systemd/recipes-core/systemd/systemd-systemctl-native.bb
+++ b/meta-systemd/recipes-core/systemd/systemd-systemctl-native.bb
@@ -3,10 +3,13 @@  DESCRIPTION = "Wrapper to enable of systemd services"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
 
-PR = "r6"
+PR = "r7"
 
 inherit native
 
+# BPN is not enough in this case
+FILESPATH = "${FILE_DIRNAME}/${PN}/"
+
 SRC_URI = "file://systemctl"
 
 do_install() {