diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2014-08-10 17:14:44 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-08-13 23:28:05 +0200 |
commit | a07158fbe39e0bed9dbb376846ce6d3f181c00f5 (patch) | |
tree | 39ab3a6675dd090bfbb24b2b095988db7cc115fe | |
parent | ace695c447bf6e216ebd0ca714d0013cab91a322 (diff) | |
download | ast2050-yocto-openembedded-a07158fbe39e0bed9dbb376846ce6d3f181c00f5.zip ast2050-yocto-openembedded-a07158fbe39e0bed9dbb376846ce6d3f181c00f5.tar.gz |
cronie: systemd support now in OE-Core
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r-- | meta-systemd/oe-core/recipes-extended/cronie/cronie/crond.service | 10 | ||||
-rw-r--r-- | meta-systemd/oe-core/recipes-extended/cronie/cronie_1.4.11.bbappend | 13 |
2 files changed, 0 insertions, 23 deletions
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 -} |