All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] rpcbind: Add ${PN}-systemd to PACKAGES
@ 2013-02-14  9:32 Florin Sarbu
  2013-02-14  9:32 ` [meta-oe][meta-systemd][] " Florin Sarbu
  0 siblings, 1 reply; 9+ messages in thread
From: Florin Sarbu @ 2013-02-14  9:32 UTC (permalink / raw)
  To: openembedded-devel

The ${PN}-systemd should be added to PACKAGES
so that the package gets created.

Added do_install_append to have the systemd.service
installed in the proper location.

Signed-off-by: Florin Sarbu <florin.sarbu@windriver.com>
---
 .../meta-oe/recipes-extended/rpcbind/rpcbind_0.2.0.bbappend    |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/meta-systemd/meta-oe/recipes-extended/rpcbind/rpcbind_0.2.0.bbappend b/meta-systemd/meta-oe/recipes-extended/rpcbind/rpcbind_0.2.0.bbappend
index 0fa7f97..8197550 100644
--- a/meta-systemd/meta-oe/recipes-extended/rpcbind/rpcbind_0.2.0.bbappend
+++ b/meta-systemd/meta-oe/recipes-extended/rpcbind/rpcbind_0.2.0.bbappend
@@ -1,6 +1,8 @@
 inherit systemd
 
-PRINC := "${@int(PRINC) + 1}"
+PACKAGES =+ "${PN}-systemd"
+
+PRINC := "${@int(PRINC) + 2}"
 
 # look for files in the layer first
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
@@ -10,3 +12,7 @@ SRC_URI += "file://rpcbind.service"
 SYSTEMD_PACKAGES = "${PN}-systemd"
 SYSTEMD_SERVICE = "rpcbind.service"
 
+do_install_append() {
+        install -d ${D}${systemd_unitdir}/system/
+        install -m 0644 ${WORKDIR}/rpcbind.service ${D}${systemd_unitdir}/system
+}
-- 
1.7.10.4




^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-03-06 16:44 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-14  9:32 [PATCH] rpcbind: Add ${PN}-systemd to PACKAGES Florin Sarbu
2013-02-14  9:32 ` [meta-oe][meta-systemd][] " Florin Sarbu
2013-02-14  9:44   ` Martin Jansa
2013-03-06  7:38     ` Florin Sarbu
2013-03-06  8:00       ` Martin Jansa
2013-03-06  8:04         ` Florin Sarbu
2013-03-06 12:17           ` Martin Jansa
2013-03-06 14:22           ` Florin Sarbu
2013-03-06 16:27             ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.