Patchwork [meta-oe,meta-systemd,3/3] rpcbind: Remove systemd support which is merged in oe-core

login
register
mail settings
Submitter Shakeel, Muhammad
Date Sept. 12, 2013, 3:28 p.m.
Message ID <9c8d3a26d593894194b2727ec817805c5eb39d91.1378998806.git.muhammad_shakeel@mentor.com>
Download mbox | patch
Permalink /patch/57897/
State Accepted, archived
Headers show

Comments

Shakeel, Muhammad - Sept. 12, 2013, 3:28 p.m.
OE-Core has been updated to support rpcbind with systemd. Stuff here is
not required anymore.

Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
---
 .../rpcbind/rpcbind/rpcbind.service                |   13 -------------
 .../rpcbind/rpcbind_0.2.0.bbappend                 |   16 ----------------
 2 files changed, 29 deletions(-)
 delete mode 100644 meta-systemd/oe-core/recipes-extended/rpcbind/rpcbind/rpcbind.service

Patch

diff --git a/meta-systemd/oe-core/recipes-extended/rpcbind/rpcbind/rpcbind.service b/meta-systemd/oe-core/recipes-extended/rpcbind/rpcbind/rpcbind.service
deleted file mode 100644
index a028ace..0000000
--- a/meta-systemd/oe-core/recipes-extended/rpcbind/rpcbind/rpcbind.service
+++ /dev/null
@@ -1,13 +0,0 @@ 
-[Unit]
-Description=RPC Bind
-After=network.target
-Wants=rpcbind.target
-Before=rpcbind.target
-
-[Service]
-Type=forking
-ExecStart=/usr/sbin/rpcbind
-Restart=always
-
-[Install]
-WantedBy=multi-user.target
diff --git a/meta-systemd/oe-core/recipes-extended/rpcbind/rpcbind_0.2.0.bbappend b/meta-systemd/oe-core/recipes-extended/rpcbind/rpcbind_0.2.0.bbappend
index 9f83f65..f006b3f 100644
--- a/meta-systemd/oe-core/recipes-extended/rpcbind/rpcbind_0.2.0.bbappend
+++ b/meta-systemd/oe-core/recipes-extended/rpcbind/rpcbind_0.2.0.bbappend
@@ -1,19 +1,3 @@ 
-inherit systemd
-
-PRINC := "${@int(PRINC) + 2}"
-
-# look for files in the layer first
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
-
-SRC_URI += "file://rpcbind.service"
-
 RPROVIDES_${PN} += "${PN}-systemd"
 RREPLACES_${PN} += "${PN}-systemd"
 RCONFLICTS_${PN} += "${PN}-systemd"
-SYSTEMD_SERVICE_${PN} = "rpcbind.service"
-
-do_install_append() {
-    install -d ${D}${systemd_unitdir}/system
-    install -m 0644 ${WORKDIR}/rpcbind.service ${D}${systemd_unitdir}/system
-}
-