aboutsummaryrefslogtreecommitdiffstats
path: root/meta-systemd/meta-networking/recipes-support/nis/ypbind-mt_1.36.bbappend
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2013-04-12 13:43:14 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2013-04-12 18:50:16 +0200
commit739fc9759909215ba7c4831e839e3479631de04f (patch)
tree15f900dbc27cdb92c2703ab9f88affe7bd63a282 /meta-systemd/meta-networking/recipes-support/nis/ypbind-mt_1.36.bbappend
parent1482cfe735de97eec6bc87cb653c92aef002bc10 (diff)
downloadmeta-openembedded-contrib-739fc9759909215ba7c4831e839e3479631de04f.tar.gz
meta-systemd: Add not only RPROVIDES, but also RREPLACES/RCONFLICTS
with this combo opkg should automatically remove PN-systemd and replace it with PN
Diffstat (limited to 'meta-systemd/meta-networking/recipes-support/nis/ypbind-mt_1.36.bbappend')
-rw-r--r--meta-systemd/meta-networking/recipes-support/nis/ypbind-mt_1.36.bbappend2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-systemd/meta-networking/recipes-support/nis/ypbind-mt_1.36.bbappend b/meta-systemd/meta-networking/recipes-support/nis/ypbind-mt_1.36.bbappend
index 9218b7ef15..8f11247a0f 100644
--- a/meta-systemd/meta-networking/recipes-support/nis/ypbind-mt_1.36.bbappend
+++ b/meta-systemd/meta-networking/recipes-support/nis/ypbind-mt_1.36.bbappend
@@ -8,6 +8,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI += "file://ypbind.service"
RPROVIDES_${PN} += "${PN}-systemd"
+RREPLACES_${PN} += "${PN}-systemd"
+RCONFLICTS_${PN} += "${PN}-systemd"
SYSTEMD_SERVICE_${PN} = "ypbind.service"
do_install_append() {
install -d ${D}${systemd_unitdir}/system