From 7baa466291ecdce5d36fb6cfa17689d2419549ba Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Sat, 13 Apr 2013 14:14:51 +0200 Subject: at: move bbappend to oe-core subdirectory Signed-off-by: Martin Jansa --- .../oe-core/recipes-extended/at/at/atd.service | 9 +++++++++ .../oe-core/recipes-extended/at/at_3.1.13.bbappend | 18 ++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 meta-systemd/oe-core/recipes-extended/at/at/atd.service create mode 100644 meta-systemd/oe-core/recipes-extended/at/at_3.1.13.bbappend (limited to 'meta-systemd/oe-core/recipes-extended') diff --git a/meta-systemd/oe-core/recipes-extended/at/at/atd.service b/meta-systemd/oe-core/recipes-extended/at/at/atd.service new file mode 100644 index 0000000000..64a9015500 --- /dev/null +++ b/meta-systemd/oe-core/recipes-extended/at/at/atd.service @@ -0,0 +1,9 @@ +[Unit] +Description=Job spooling tools +After=syslog.target + +[Service] +ExecStart=/usr/sbin/atd -f + +[Install] +WantedBy=multi-user.target diff --git a/meta-systemd/oe-core/recipes-extended/at/at_3.1.13.bbappend b/meta-systemd/oe-core/recipes-extended/at/at_3.1.13.bbappend new file mode 100644 index 0000000000..3d58a64c2e --- /dev/null +++ b/meta-systemd/oe-core/recipes-extended/at/at_3.1.13.bbappend @@ -0,0 +1,18 @@ +inherit systemd + +PRINC := "${@int(PRINC) + 2}" + +# look for files in the layer first +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI += "file://atd.service" + +RPROVIDES_${PN} += "${PN}-systemd" +RREPLACES_${PN} += "${PN}-systemd" +RCONFLICTS_${PN} += "${PN}-systemd" +SYSTEMD_SERVICE_${PN} = "atd.service" +do_install_append() { + install -d ${D}${systemd_unitdir}/system + install -m 0644 ${WORKDIR}/atd.service ${D}${systemd_unitdir}/system +} + -- cgit 1.2.3-korg