diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2013-04-12 13:43:14 +0200 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-04-12 18:50:16 +0200 |
| commit | 739fc9759909215ba7c4831e839e3479631de04f (patch) | |
| tree | 15f900dbc27cdb92c2703ab9f88affe7bd63a282 /meta-systemd/meta-networking/recipes-support | |
| parent | 1482cfe735de97eec6bc87cb653c92aef002bc10 (diff) | |
| download | meta-openembedded-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')
3 files changed, 8 insertions, 0 deletions
diff --git a/meta-systemd/meta-networking/recipes-support/nis/yp-tools_2.12.bbappend b/meta-systemd/meta-networking/recipes-support/nis/yp-tools_2.12.bbappend index 2fc03341be..d5ea1ca0b6 100644 --- a/meta-systemd/meta-networking/recipes-support/nis/yp-tools_2.12.bbappend +++ b/meta-systemd/meta-networking/recipes-support/nis/yp-tools_2.12.bbappend | |||
| @@ -8,6 +8,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | |||
| 8 | SRC_URI += "file://domainname.service" | 8 | SRC_URI += "file://domainname.service" |
| 9 | 9 | ||
| 10 | RPROVIDES_${PN} += "${PN}-systemd" | 10 | RPROVIDES_${PN} += "${PN}-systemd" |
| 11 | RREPLACES_${PN} += "${PN}-systemd" | ||
| 12 | RCONFLICTS_${PN} += "${PN}-systemd" | ||
| 11 | SYSTEMD_SERVICE_${PN} = "domainname.service" | 13 | SYSTEMD_SERVICE_${PN} = "domainname.service" |
| 12 | 14 | ||
| 13 | do_install_append() { | 15 | do_install_append() { |
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:" | |||
| 8 | SRC_URI += "file://ypbind.service" | 8 | SRC_URI += "file://ypbind.service" |
| 9 | 9 | ||
| 10 | RPROVIDES_${PN} += "${PN}-systemd" | 10 | RPROVIDES_${PN} += "${PN}-systemd" |
| 11 | RREPLACES_${PN} += "${PN}-systemd" | ||
| 12 | RCONFLICTS_${PN} += "${PN}-systemd" | ||
| 11 | SYSTEMD_SERVICE_${PN} = "ypbind.service" | 13 | SYSTEMD_SERVICE_${PN} = "ypbind.service" |
| 12 | do_install_append() { | 14 | do_install_append() { |
| 13 | install -d ${D}${systemd_unitdir}/system | 15 | install -d ${D}${systemd_unitdir}/system |
diff --git a/meta-systemd/meta-networking/recipes-support/ntp/ntp_4.2.6p5.bbappend b/meta-systemd/meta-networking/recipes-support/ntp/ntp_4.2.6p5.bbappend index ccb3d457db..7f2a796168 100644 --- a/meta-systemd/meta-networking/recipes-support/ntp/ntp_4.2.6p5.bbappend +++ b/meta-systemd/meta-networking/recipes-support/ntp/ntp_4.2.6p5.bbappend | |||
| @@ -8,7 +8,11 @@ SYSTEMD_PACKAGES = "${PN} ntpdate" | |||
| 8 | SYSTEMD_SERVICE_${PN} = "ntpd.service" | 8 | SYSTEMD_SERVICE_${PN} = "ntpd.service" |
| 9 | SYSTEMD_SERVICE_ntpdate = "ntpdate.service" | 9 | SYSTEMD_SERVICE_ntpdate = "ntpdate.service" |
| 10 | RPROVIDES_${PN} += "${PN}-systemd" | 10 | RPROVIDES_${PN} += "${PN}-systemd" |
| 11 | RREPLACES_${PN} += "${PN}-systemd" | ||
| 12 | RCONFLICTS_${PN} += "${PN}-systemd" | ||
| 11 | RPROVIDES_ntpdate += "ntpdate-systemd" | 13 | RPROVIDES_ntpdate += "ntpdate-systemd" |
| 14 | RREPLACES_ntpdate += "ntpdate-systemd" | ||
| 15 | RCONFLICTS_ntpdate += "ntpdate-systemd" | ||
| 12 | 16 | ||
| 13 | FILES_ntpdate += "${systemd_unitdir}/system/ntpdate.service" | 17 | FILES_ntpdate += "${systemd_unitdir}/system/ntpdate.service" |
| 14 | 18 | ||
