Patchwork [meta-systemd,4/5] cronie: systemd support now in OE-Core

login
register
mail settings
Submitter Paul Eggleton
Date Aug. 10, 2014, 4:14 p.m.
Message ID <3feb570da8202d17ad125b0de9ce6f4aeee52ce8.1407687153.git.paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/77817/
State Accepted, archived
Headers show

Comments

Paul Eggleton - Aug. 10, 2014, 4:14 p.m.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 .../oe-core/recipes-extended/cronie/cronie/crond.service    | 10 ----------
 .../oe-core/recipes-extended/cronie/cronie_1.4.11.bbappend  | 13 -------------
 2 files changed, 23 deletions(-)
 delete mode 100644 meta-systemd/oe-core/recipes-extended/cronie/cronie/crond.service

Patch

diff --git a/meta-systemd/oe-core/recipes-extended/cronie/cronie/crond.service b/meta-systemd/oe-core/recipes-extended/cronie/cronie/crond.service
deleted file mode 100644
index 5ae193b..0000000
--- a/meta-systemd/oe-core/recipes-extended/cronie/cronie/crond.service
+++ /dev/null
@@ -1,10 +0,0 @@ 
-[Unit]
-Description=Periodic Command Scheduler
-
-[Service]
-ExecStart=/usr/sbin/crond -n
-ExecReload=/bin/kill -HUP $MAINPID
-Restart=always
-
-[Install]
-WantedBy=multi-user.target
diff --git a/meta-systemd/oe-core/recipes-extended/cronie/cronie_1.4.11.bbappend b/meta-systemd/oe-core/recipes-extended/cronie/cronie_1.4.11.bbappend
index 8f45f3e..181b878 100644
--- a/meta-systemd/oe-core/recipes-extended/cronie/cronie_1.4.11.bbappend
+++ b/meta-systemd/oe-core/recipes-extended/cronie/cronie_1.4.11.bbappend
@@ -1,17 +1,4 @@ 
-# look for files in the layer first
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
-
-inherit systemd
-
 RPROVIDES_${PN} += "${PN}-systemd"
 RREPLACES_${PN} += "${PN}-systemd"
 RCONFLICTS_${PN} += "${PN}-systemd"
-SYSTEMD_SERVICE_${PN} = "crond.service"
-
-SRC_URI += "file://crond.service"
-
-do_install_append() {
-    install -d ${D}${systemd_unitdir}/system
-    install -m 0644 ${WORKDIR}/crond.service ${D}${systemd_unitdir}/system
-}