[oe] [meta-angstrom][RFC 2/6] timestamp-service: pack systemd support in ${PN}-systemd / remove unneeded systemd code
Andreas Müller
schnitzeltony at googlemail.com
Tue Feb 7 15:15:30 UTC 2012
Signed-off-by: Andreas Müller <schnitzeltony at googlemail.com>
---
recipes-core/systemd/timestamp-service.bb | 12 ++++--------
1 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/recipes-core/systemd/timestamp-service.bb b/recipes-core/systemd/timestamp-service.bb
index be8325e..bd08d7f 100644
--- a/recipes-core/systemd/timestamp-service.bb
+++ b/recipes-core/systemd/timestamp-service.bb
@@ -2,6 +2,8 @@ DESCRIPTION = "Poor mans RTC using timestamps"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
+PR = "r1"
+
inherit allarch systemd
SRC_URI = "file://timestamp.service \
@@ -15,15 +17,9 @@ do_compile() {
do_install () {
install -d ${D}/${bindir}
-
install -m 0755 ${WORKDIR}/load-timestamp.sh ${D}/${bindir}
-
- install -d ${D}/${base_libdir}/systemd/system
- install -m 0644 ${WORKDIR}/timestamp.service ${D}/${base_libdir}/systemd/system/
}
-SYSTEMD_PACKAGES = "${PN}"
-SYSTEMD_SERVICE_${PN} = "timestamp.service"
-
-FILES_${PN} += "${base_libdir}/systemd"
+SYSTEMD_PACKAGES = "${PN}-systemd"
+SYSTEMD_SERVICE_${PN}-systemd = "timestamp.service"
--
1.7.6.4
More information about the Openembedded-devel
mailing list