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/oe-core | |
| 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/oe-core')
11 files changed, 26 insertions, 0 deletions
diff --git a/meta-systemd/oe-core/recipes-connectivity/avahi/avahi_0.6.31.bbappend b/meta-systemd/oe-core/recipes-connectivity/avahi/avahi_0.6.31.bbappend index 13a2ee453c..d3f4775b7c 100644 --- a/meta-systemd/oe-core/recipes-connectivity/avahi/avahi_0.6.31.bbappend +++ b/meta-systemd/oe-core/recipes-connectivity/avahi/avahi_0.6.31.bbappend | |||
| @@ -3,6 +3,8 @@ PRINC := "${@int(PRINC) + 2}" | |||
| 3 | inherit systemd | 3 | inherit systemd |
| 4 | 4 | ||
| 5 | RPROVIDES_${PN} += "${PN}-systemd" | 5 | RPROVIDES_${PN} += "${PN}-systemd" |
| 6 | RREPLACES_${PN} += "${PN}-systemd" | ||
| 7 | RCONFLICTS_${PN} += "${PN}-systemd" | ||
| 6 | SYSTEMD_SERVICE_${PN} = "avahi-daemon.service" | 8 | SYSTEMD_SERVICE_${PN} = "avahi-daemon.service" |
| 7 | SYSTEMD_AUTO_ENABLE = "enable" | 9 | SYSTEMD_AUTO_ENABLE = "enable" |
| 8 | 10 | ||
diff --git a/meta-systemd/oe-core/recipes-connectivity/bluez/bluez4_4.101.bbappend b/meta-systemd/oe-core/recipes-connectivity/bluez/bluez4_4.101.bbappend index 752e6c1951..495fffad21 100644 --- a/meta-systemd/oe-core/recipes-connectivity/bluez/bluez4_4.101.bbappend +++ b/meta-systemd/oe-core/recipes-connectivity/bluez/bluez4_4.101.bbappend | |||
| @@ -5,5 +5,7 @@ inherit systemd | |||
| 5 | EXTRA_OECONF += "--with-systemdunitdir=${systemd_unitdir}/system/" | 5 | EXTRA_OECONF += "--with-systemdunitdir=${systemd_unitdir}/system/" |
| 6 | 6 | ||
| 7 | RPROVIDES_${PN} += "${PN}-systemd" | 7 | RPROVIDES_${PN} += "${PN}-systemd" |
| 8 | RREPLACES_${PN} += "${PN}-systemd" | ||
| 9 | RCONFLICTS_${PN} += "${PN}-systemd" | ||
| 8 | SYSTEMD_SERVICE_${PN} = "bluetooth.service" | 10 | SYSTEMD_SERVICE_${PN} = "bluetooth.service" |
| 9 | SYSTEMD_AUTO_ENABLE = "disable" | 11 | SYSTEMD_AUTO_ENABLE = "disable" |
diff --git a/meta-systemd/oe-core/recipes-connectivity/connman/connman_1.12.bbappend b/meta-systemd/oe-core/recipes-connectivity/connman/connman_1.12.bbappend index 96a428f1da..61292adde1 100644 --- a/meta-systemd/oe-core/recipes-connectivity/connman/connman_1.12.bbappend +++ b/meta-systemd/oe-core/recipes-connectivity/connman/connman_1.12.bbappend | |||
| @@ -1,4 +1,6 @@ | |||
| 1 | PRINC := "${@int(PRINC) + 2}" | 1 | PRINC := "${@int(PRINC) + 2}" |
| 2 | 2 | ||
| 3 | RPROVIDES_${PN} += "${PN}-systemd" | 3 | RPROVIDES_${PN} += "${PN}-systemd" |
| 4 | RREPLACES_${PN} += "${PN}-systemd" | ||
| 5 | RCONFLICTS_${PN} += "${PN}-systemd" | ||
| 4 | SYSTEMD_SERVICE_${PN} = "connman.service" | 6 | SYSTEMD_SERVICE_${PN} = "connman.service" |
diff --git a/meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp_4.2.5.bbappend b/meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp_4.2.5.bbappend index d3a322ae7f..5fbe857065 100644 --- a/meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp_4.2.5.bbappend +++ b/meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp_4.2.5.bbappend | |||
| @@ -14,8 +14,14 @@ FILES_dhcp-server += "${systemd_unitdir}/system/dhcpd.service" | |||
| 14 | FILES_dhcp-relay += "${systemd_unitdir}/system/dhrelay.service" | 14 | FILES_dhcp-relay += "${systemd_unitdir}/system/dhrelay.service" |
| 15 | FILES_dhcp-client += "${systemd_unitdir}/system/dhclient.service" | 15 | FILES_dhcp-client += "${systemd_unitdir}/system/dhclient.service" |
| 16 | RPROVIDES_dhcp-server += "dhcp-server-systemd" | 16 | RPROVIDES_dhcp-server += "dhcp-server-systemd" |
| 17 | RREPLACES_dhcp-server += "dhcp-server-systemd" | ||
| 18 | RCONFLICTS_dhcp-server += "dhcp-server-systemd" | ||
| 17 | RPROVIDES_dhcp-relay += "dhcp-relay-systemd" | 19 | RPROVIDES_dhcp-relay += "dhcp-relay-systemd" |
| 20 | RREPLACES_dhcp-relay += "dhcp-relay-systemd" | ||
| 21 | RCONFLICTS_dhcp-relay += "dhcp-relay-systemd" | ||
| 18 | RPROVIDES_dhcp-client += "dhcp-client-systemd" | 22 | RPROVIDES_dhcp-client += "dhcp-client-systemd" |
| 23 | RREPLACES_dhcp-client += "dhcp-client-systemd" | ||
| 24 | RCONFLICTS_dhcp-client += "dhcp-client-systemd" | ||
| 19 | 25 | ||
| 20 | SRC_URI += "file://dhcpd.service \ | 26 | SRC_URI += "file://dhcpd.service \ |
| 21 | file://dhclient.service \ | 27 | file://dhclient.service \ |
diff --git a/meta-systemd/oe-core/recipes-connectivity/ofono/ofono_1.12.bbappend b/meta-systemd/oe-core/recipes-connectivity/ofono/ofono_1.12.bbappend index 94fce48a55..914117afb7 100644 --- a/meta-systemd/oe-core/recipes-connectivity/ofono/ofono_1.12.bbappend +++ b/meta-systemd/oe-core/recipes-connectivity/ofono/ofono_1.12.bbappend | |||
| @@ -3,5 +3,7 @@ PRINC := "${@int(PRINC) + 2}" | |||
| 3 | inherit systemd | 3 | inherit systemd |
| 4 | 4 | ||
| 5 | RPROVIDES_${PN} += "${PN}-systemd" | 5 | RPROVIDES_${PN} += "${PN}-systemd" |
| 6 | RREPLACES_${PN} += "${PN}-systemd" | ||
| 7 | RCONFLICTS_${PN} += "${PN}-systemd" | ||
| 6 | SYSTEMD_SERVICE_${PN} = "ofono.service" | 8 | SYSTEMD_SERVICE_${PN} = "ofono.service" |
| 7 | SYSTEMD_AUTO_ENABLE = "disable" | 9 | SYSTEMD_AUTO_ENABLE = "disable" |
diff --git a/meta-systemd/oe-core/recipes-connectivity/openssh/openssh_6.1p1.bbappend b/meta-systemd/oe-core/recipes-connectivity/openssh/openssh_6.1p1.bbappend index 0d1bb56e85..fe61a89671 100644 --- a/meta-systemd/oe-core/recipes-connectivity/openssh/openssh_6.1p1.bbappend +++ b/meta-systemd/oe-core/recipes-connectivity/openssh/openssh_6.1p1.bbappend | |||
| @@ -6,6 +6,8 @@ SYSTEMD_PACKAGES = "openssh-sshd" | |||
| 6 | SYSTEMD_SERVICE_openssh-sshd = "sshd.socket" | 6 | SYSTEMD_SERVICE_openssh-sshd = "sshd.socket" |
| 7 | FILES_openssh-sshd += "${systemd_unitdir}/system/sshd.socket" | 7 | FILES_openssh-sshd += "${systemd_unitdir}/system/sshd.socket" |
| 8 | RPROVIDES_openssh-sshd += "openssh-sshd-systemd" | 8 | RPROVIDES_openssh-sshd += "openssh-sshd-systemd" |
| 9 | RREPLACES_openssh-sshd += "openssh-sshd-systemd" | ||
| 10 | RCONFLICTS_openssh-sshd += "openssh-sshd-systemd" | ||
| 9 | 11 | ||
| 10 | inherit systemd | 12 | inherit systemd |
| 11 | 13 | ||
diff --git a/meta-systemd/oe-core/recipes-connectivity/portmap/portmap_6.0.bbappend b/meta-systemd/oe-core/recipes-connectivity/portmap/portmap_6.0.bbappend index 784fc1f47c..b7ab2a4de5 100644 --- a/meta-systemd/oe-core/recipes-connectivity/portmap/portmap_6.0.bbappend +++ b/meta-systemd/oe-core/recipes-connectivity/portmap/portmap_6.0.bbappend | |||
| @@ -5,6 +5,8 @@ PRINC := "${@int(PRINC) + 2}" | |||
| 5 | inherit systemd | 5 | inherit systemd |
| 6 | 6 | ||
| 7 | RPROVIDES_${PN} += "${PN}-systemd" | 7 | RPROVIDES_${PN} += "${PN}-systemd" |
| 8 | RREPLACES_${PN} += "${PN}-systemd" | ||
| 9 | RCONFLICTS_${PN} += "${PN}-systemd" | ||
| 8 | SYSTEMD_SERVICE_${PN} = "portmap.service" | 10 | SYSTEMD_SERVICE_${PN} = "portmap.service" |
| 9 | SYSTEMD_AUTO_ENABLE = "disable" | 11 | SYSTEMD_AUTO_ENABLE = "disable" |
| 10 | 12 | ||
diff --git a/meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.0.bbappend b/meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.0.bbappend index dcd9b84e8e..cffb8985b9 100644 --- a/meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.0.bbappend +++ b/meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.0.bbappend | |||
| @@ -1,3 +1,5 @@ | |||
| 1 | PRINC := "${@int(PRINC) + 4}" | 1 | PRINC := "${@int(PRINC) + 4}" |
| 2 | 2 | ||
| 3 | RPROVIDES_${PN} += "${PN}-systemd" | 3 | RPROVIDES_${PN} += "${PN}-systemd" |
| 4 | RREPLACES_${PN} += "${PN}-systemd" | ||
| 5 | RCONFLICTS_${PN} += "${PN}-systemd" | ||
diff --git a/meta-systemd/oe-core/recipes-core/util-linux/util-linux_2.22.2.bbappend b/meta-systemd/oe-core/recipes-core/util-linux/util-linux_2.22.2.bbappend index 12a9823c80..fae15a0548 100644 --- a/meta-systemd/oe-core/recipes-core/util-linux/util-linux_2.22.2.bbappend +++ b/meta-systemd/oe-core/recipes-core/util-linux/util-linux_2.22.2.bbappend | |||
| @@ -5,4 +5,6 @@ PRINC := "${@int(PRINC) + 2}" | |||
| 5 | SYSTEMD_UNITDIR = "${systemd_unitdir}/system" | 5 | SYSTEMD_UNITDIR = "${systemd_unitdir}/system" |
| 6 | EXTRA_OECONF += "--enable-socket-activation --with-systemdsystemunitdir=${SYSTEMD_UNITDIR}" | 6 | EXTRA_OECONF += "--enable-socket-activation --with-systemdsystemunitdir=${SYSTEMD_UNITDIR}" |
| 7 | RPROVIDES_${PN} += "${PN}-systemd" | 7 | RPROVIDES_${PN} += "${PN}-systemd" |
| 8 | RREPLACES_${PN} += "${PN}-systemd" | ||
| 9 | RCONFLICTS_${PN} += "${PN}-systemd" | ||
| 8 | SYSTEMD_SERVICE_${PN} = "uuidd.socket" | 10 | SYSTEMD_SERVICE_${PN} = "uuidd.socket" |
diff --git a/meta-systemd/oe-core/recipes-extended/cronie/cronie_1.4.9.bbappend b/meta-systemd/oe-core/recipes-extended/cronie/cronie_1.4.9.bbappend index dc06af9a51..dd1eacff74 100644 --- a/meta-systemd/oe-core/recipes-extended/cronie/cronie_1.4.9.bbappend +++ b/meta-systemd/oe-core/recipes-extended/cronie/cronie_1.4.9.bbappend | |||
| @@ -6,6 +6,8 @@ PRINC := "${@int(PRINC) + 4}" | |||
| 6 | inherit systemd | 6 | inherit systemd |
| 7 | 7 | ||
| 8 | RPROVIDES_${PN} += "${PN}-systemd" | 8 | RPROVIDES_${PN} += "${PN}-systemd" |
| 9 | RREPLACES_${PN} += "${PN}-systemd" | ||
| 10 | RCONFLICTS_${PN} += "${PN}-systemd" | ||
| 9 | SYSTEMD_SERVICE_${PN} = "crond.service" | 11 | SYSTEMD_SERVICE_${PN} = "crond.service" |
| 10 | 12 | ||
| 11 | SRC_URI += "file://crond.service" | 13 | SRC_URI += "file://crond.service" |
diff --git a/meta-systemd/oe-core/recipes-extended/lighttpd/lighttpd_1.4.32.bbappend b/meta-systemd/oe-core/recipes-extended/lighttpd/lighttpd_1.4.32.bbappend index b6ec2aa01a..6dded402e0 100644 --- a/meta-systemd/oe-core/recipes-extended/lighttpd/lighttpd_1.4.32.bbappend +++ b/meta-systemd/oe-core/recipes-extended/lighttpd/lighttpd_1.4.32.bbappend | |||
| @@ -7,6 +7,8 @@ inherit systemd | |||
| 7 | SRC_URI += "file://lighttpd.service" | 7 | SRC_URI += "file://lighttpd.service" |
| 8 | 8 | ||
| 9 | RPROVIDES_${PN} += "${PN}-systemd" | 9 | RPROVIDES_${PN} += "${PN}-systemd" |
| 10 | RREPLACES_${PN} += "${PN}-systemd" | ||
| 11 | RCONFLICTS_${PN} += "${PN}-systemd" | ||
| 10 | SYSTEMD_SERVICE_${PN} = "lighttpd.service" | 12 | SYSTEMD_SERVICE_${PN} = "lighttpd.service" |
| 11 | 13 | ||
| 12 | do_install_append() { | 14 | do_install_append() { |
