meta-openembedded/meta-systemd/recipes-core/systemd/systemd-systemctl-native.bb
Martin Jansa 681ef5d053 systemd-systemctl-native: fix FILESPATH to find systemctl
* 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>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-11-27 12:45:15 +01:00

19 lines
380 B
BlitzBasic

DESCRIPTION = "Wrapper to enable of systemd services"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
PR = "r7"
inherit native
# BPN is not enough in this case
FILESPATH = "${FILE_DIRNAME}/${PN}/"
SRC_URI = "file://systemctl"
do_install() {
install -d ${D}${bindir}
install -m 0755 ${WORKDIR}/systemctl ${D}${bindir}
}