summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2013-02-13 17:25:35 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2013-04-12 18:49:55 +0200
commit313f0ae25925caead4f588695ac9c9bcf00b2755 (patch)
tree1c167bd3cecfa253e438fefd045db110e2fa4cad
parent0afa2a51d2720ed1d6c06aaef17bd90248ef650e (diff)
downloadmeta-openembedded-313f0ae25925caead4f588695ac9c9bcf00b2755.tar.gz
meta-systemd: Append ${PN} to SYSTEMD_SERVICE
When using systemd class from OE-Core we also need to install the units explicitly. systemd packages ending with -systemd are consumed and now provided by package proper. MJ: fix RPROVIDES_PN = PN-systemd in entrance MJ: add RPROVIDES for ntp*-systemd in ntp MJ: the same for wpa-supplicant Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-systemd/meta-efl/recipes-efl/efl/entrance_svn.bbappend16
-rw-r--r--meta-systemd/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bbappend5
-rw-r--r--meta-systemd/meta-multimedia/recipes-multimedia/musicpd/mpd_0.17.1.bbappend5
-rw-r--r--meta-systemd/meta-networking/recipes-daemons/autofs/autofs_5.0.7.bbappend5
-rw-r--r--meta-systemd/meta-networking/recipes-support/nis/yp-tools_2.12.bbappend10
-rw-r--r--meta-systemd/meta-networking/recipes-support/nis/ypbind-mt_1.36.bbappend10
-rw-r--r--meta-systemd/meta-networking/recipes-support/ntp/ntp_4.2.6p5.bbappend10
-rw-r--r--meta-systemd/meta-oe/recipes-bsp/keymaps/keymaps_1.0.bbappend11
-rw-r--r--meta-systemd/meta-oe/recipes-connectivity/cherokee/cherokee_1.2.98.bbappend11
-rw-r--r--meta-systemd/meta-oe/recipes-connectivity/dnsmasq/dnsmasq_2.55.bbappend11
-rw-r--r--meta-systemd/meta-oe/recipes-connectivity/gateone/gateone_git.bbappend9
-rw-r--r--meta-systemd/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.2.0.bbappend3
-rw-r--r--meta-systemd/meta-oe/recipes-core/busybox/busybox_1.20.2.bbappend6
-rw-r--r--meta-systemd/meta-oe/recipes-core/dropbear/dropbear_2012.55.bbappend9
-rw-r--r--meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9_0.6.bbappend6
-rw-r--r--meta-systemd/meta-oe/recipes-extended/at/at_3.1.13.bbappend9
-rw-r--r--meta-systemd/meta-oe/recipes-extended/atftp/atftp_git.bbappend11
-rw-r--r--meta-systemd/meta-oe/recipes-extended/cronie/cronie_1.4.9.bbappend11
-rw-r--r--meta-systemd/meta-oe/recipes-extended/net-snmp/net-snmp_5.7.1.bbappend13
-rw-r--r--meta-systemd/meta-oe/recipes-extended/rpcbind/rpcbind_0.2.0.bbappend10
-rw-r--r--meta-systemd/meta-oe/recipes-extended/rsyslog/rsyslog_5.8.0.bbappend5
-rw-r--r--meta-systemd/meta-oe/recipes-extended/zram/zram_0.1.bbappend11
-rw-r--r--meta-systemd/meta-oe/recipes-graphics/lxdm/lxdm_git.bbappend5
-rw-r--r--meta-systemd/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bbappend11
-rw-r--r--meta-systemd/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init_2.0.bbappend11
-rw-r--r--meta-systemd/meta-oe/recipes-navigation/gpsd/gpsd_3.7.bbappend5
-rw-r--r--meta-systemd/meta-oe/recipes-support/nonworking/syslog-ng/syslog-ng_3.2.5.bbappend5
-rw-r--r--meta-systemd/meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.8.6.bbappend5
-rw-r--r--meta-systemd/meta-oe/recipes-support/strongswan/strongswan_5.0.0.bbappend5
-rw-r--r--meta-systemd/meta-oe/recipes-support/udisks/udisks_1.0.4.bbappend5
-rw-r--r--meta-systemd/oe-core/recipes-connectivity/avahi/avahi_0.6.31.bbappend7
-rw-r--r--meta-systemd/oe-core/recipes-connectivity/bluez/bluez4_4.101.bbappend5
-rw-r--r--meta-systemd/oe-core/recipes-connectivity/connman/connman_1.12.bbappend5
-rw-r--r--meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp_4.2.5.bbappend22
-rw-r--r--meta-systemd/oe-core/recipes-connectivity/ofono/ofono_1.12.bbappend5
-rw-r--r--meta-systemd/oe-core/recipes-connectivity/openssh/openssh_6.1p1.bbappend13
-rw-r--r--meta-systemd/oe-core/recipes-connectivity/portmap/portmap_6.0.bbappend10
-rw-r--r--meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.0.bbappend16
-rw-r--r--meta-systemd/oe-core/recipes-core/util-linux/util-linux_2.22.2.bbappend5
-rw-r--r--meta-systemd/oe-core/recipes-extended/lighttpd/lighttpd_1.4.32.bbappend7
-rw-r--r--meta-systemd/recipes-core/systemd/systemd-machine-units_1.0.bb2
41 files changed, 246 insertions, 100 deletions
diff --git a/meta-systemd/meta-efl/recipes-efl/efl/entrance_svn.bbappend b/meta-systemd/meta-efl/recipes-efl/efl/entrance_svn.bbappend
index df96e3495..8f85ab759 100644
--- a/meta-systemd/meta-efl/recipes-efl/efl/entrance_svn.bbappend
+++ b/meta-systemd/meta-efl/recipes-efl/efl/entrance_svn.bbappend
@@ -1,13 +1,19 @@
1FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 1FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
2 2
3PRINC := "${@int(PRINC) + 1}" 3PRINC := "${@int(PRINC) + 2}"
4 4
5inherit systemd 5inherit systemd
6 6
7SRC_URI += "file://entrance.service" 7SRC_URI += "file://entrance.service"
8 8
9SYSTEMD_PACKAGES = "${PN}-systemd" 9RPROVIDES_${PN} += "${PN}-systemd"
10SYSTEMD_SERVICE = "entrance.service"
11 10
12RCONFLICTS_${PN}-systemd += "xserver-nodm-init-systemd" 11SYSTEMD_SERVICE_${PN} = "entrance.service"
13RREPLACES_${PN}-systemd += "xserver-nodm-init-systemd" 12
13do_install_append() {
14 install -d ${D}${systemd_unitdir}/system
15 install -m 0644 ${WORKDIR}/entrance.service ${D}${systemd_unitdir}/system
16}
17
18RCONFLICTS_${PN} += "xserver-nodm-init-systemd"
19RREPLACES_${PN} += "xserver-nodm-init-systemd"
diff --git a/meta-systemd/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bbappend b/meta-systemd/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bbappend
index 45b47c336..6ea753df0 100644
--- a/meta-systemd/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bbappend
+++ b/meta-systemd/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bbappend
@@ -14,5 +14,6 @@ do_install_append() {
14 > ${D}${systemd_unitdir}/system/gdm.service 14 > ${D}${systemd_unitdir}/system/gdm.service
15} 15}
16 16
17SYSTEMD_PACKAGES = "${PN}-systemd" 17SYSTEMD_PACKAGES = "${PN}"
18SYSTEMD_SERVICE = "gdm.service" 18RPROVIDES_${PN} += "${PN}-systemd"
19SYSTEMD_SERVICE_${PN} = "gdm.service"
diff --git a/meta-systemd/meta-multimedia/recipes-multimedia/musicpd/mpd_0.17.1.bbappend b/meta-systemd/meta-multimedia/recipes-multimedia/musicpd/mpd_0.17.1.bbappend
index eee4cdd3a..e19723ae1 100644
--- a/meta-systemd/meta-multimedia/recipes-multimedia/musicpd/mpd_0.17.1.bbappend
+++ b/meta-systemd/meta-multimedia/recipes-multimedia/musicpd/mpd_0.17.1.bbappend
@@ -10,5 +10,6 @@ do_install_append() {
10 ${D}/${systemd_unitdir}/system/mpd.service 10 ${D}/${systemd_unitdir}/system/mpd.service
11} 11}
12 12
13SYSTEMD_PACKAGES = "${PN}-systemd" 13SYSTEMD_PACKAGES = "${PN}"
14SYSTEMD_SERVICE = "mpd.service" 14RPROVIDES_${PN} += "${PN}-systemd"
15SYSTEMD_SERVICE_${PN} = "mpd.service"
diff --git a/meta-systemd/meta-networking/recipes-daemons/autofs/autofs_5.0.7.bbappend b/meta-systemd/meta-networking/recipes-daemons/autofs/autofs_5.0.7.bbappend
index 3d318fb3b..f6792f13d 100644
--- a/meta-systemd/meta-networking/recipes-daemons/autofs/autofs_5.0.7.bbappend
+++ b/meta-systemd/meta-networking/recipes-daemons/autofs/autofs_5.0.7.bbappend
@@ -2,5 +2,6 @@ inherit systemd
2 2
3PRINC := "${@int(PRINC) + 1}" 3PRINC := "${@int(PRINC) + 1}"
4 4
5SYSTEMD_PACKAGES = "${PN}-systemd" 5SYSTEMD_PACKAGES = "${PN}"
6SYSTEMD_SERVICE = "autofs.service" 6RPROVIDES_${PN} += "${PN}-systemd"
7SYSTEMD_SERVICE_${PN} = "autofs.service"
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 041ca830e..76dd4bae7 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
@@ -7,6 +7,12 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
7 7
8SRC_URI += "file://domainname.service" 8SRC_URI += "file://domainname.service"
9 9
10SYSTEMD_PACKAGES = "${PN}-systemd" 10SYSTEMD_PACKAGES = "${PN}"
11SYSTEMD_SERVICE = "domainname.service" 11RPROVIDES_${PN} += "${PN}-systemd"
12SYSTEMD_SERVICE_${PN} = "domainname.service"
13
14do_install_append() {
15 install -d ${D}${systemd_unitdir}/system
16 install -m 0644 ${WORKDIR}/domainname.service ${D}${systemd_unitdir}/system
17}
12 18
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 14dbaacbb..cd3b98e3c 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
@@ -7,6 +7,10 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
7 7
8SRC_URI += "file://ypbind.service" 8SRC_URI += "file://ypbind.service"
9 9
10SYSTEMD_PACKAGES = "${PN}-systemd" 10SYSTEMD_PACKAGES = "${PN}"
11SYSTEMD_SERVICE = "ypbind.service" 11RPROVIDES_${PN} += "${PN}-systemd"
12 12SYSTEMD_SERVICE_${PN} = "ypbind.service"
13do_install_append() {
14 install -d ${D}${systemd_unitdir}/system
15 install -m 0644 ${WORKDIR}/ypbind.service ${D}${systemd_unitdir}/system
16}
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 c6cd03147..82e8621b1 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
@@ -4,9 +4,13 @@ PRINC := "${@int(PRINC) + 1}"
4 4
5FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 5FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
6 6
7SYSTEMD_PACKAGES = "${PN}-systemd ntpdate-systemd" 7SYSTEMD_PACKAGES = "${PN} ntpdate"
8SYSTEMD_SERVICE_${PN}-systemd = "ntpd.service" 8SYSTEMD_SERVICE_${PN} = "ntpd.service"
9SYSTEMD_SERVICE_ntpdate-systemd = "ntpdate.service" 9SYSTEMD_SERVICE_ntpdate = "ntpdate.service"
10RPROVIDES_${PN} += "${PN}-systemd"
11RPROVIDES_ntpdate += "ntpdate-systemd"
12
13FILES_ntpdate += "${systemd_unitdir}/system/ntpdate.service"
10 14
11SRC_URI += " \ 15SRC_URI += " \
12 file://ntpdate.service \ 16 file://ntpdate.service \
diff --git a/meta-systemd/meta-oe/recipes-bsp/keymaps/keymaps_1.0.bbappend b/meta-systemd/meta-oe/recipes-bsp/keymaps/keymaps_1.0.bbappend
index 7f336a18a..c8d0d3d6c 100644
--- a/meta-systemd/meta-oe/recipes-bsp/keymaps/keymaps_1.0.bbappend
+++ b/meta-systemd/meta-oe/recipes-bsp/keymaps/keymaps_1.0.bbappend
@@ -4,5 +4,12 @@ PRINC := "${@int(PRINC) + 6}"
4SRC_URI += " file://keymaps.service" 4SRC_URI += " file://keymaps.service"
5 5
6inherit systemd 6inherit systemd
7SYSTEMD_PACKAGES = "${PN}-systemd" 7SYSTEMD_PACKAGES = "${PN}"
8SYSTEMD_SERVICE = "${PN}.service" 8RPROVIDES_${PN} += "${PN}-systemd"
9SYSTEMD_SERVICE_${PN} = "${PN}.service"
10
11do_install_append() {
12 install -d ${D}${systemd_unitdir}/system
13 install -m 0644 ${WORKDIR}/${PN}.service ${D}${systemd_unitdir}/system
14}
15
diff --git a/meta-systemd/meta-oe/recipes-connectivity/cherokee/cherokee_1.2.98.bbappend b/meta-systemd/meta-oe/recipes-connectivity/cherokee/cherokee_1.2.98.bbappend
index 7cc7dd847..c8571b743 100644
--- a/meta-systemd/meta-oe/recipes-connectivity/cherokee/cherokee_1.2.98.bbappend
+++ b/meta-systemd/meta-oe/recipes-connectivity/cherokee/cherokee_1.2.98.bbappend
@@ -6,5 +6,12 @@ inherit systemd
6 6
7SRC_URI += "file://cherokee.service" 7SRC_URI += "file://cherokee.service"
8 8
9SYSTEMD_PACKAGES = "${PN}-systemd" 9SYSTEMD_PACKAGES = "${PN}"
10SYSTEMD_SERVICE = "cherokee.service" 10RPROVIDES_${PN} += "${PN}-systemd"
11SYSTEMD_SERVICE_${PN} = "cherokee.service"
12
13do_install_append() {
14 install -d ${D}${systemd_unitdir}/system
15 install -m 0644 ${WORKDIR}/cherokee.service ${D}${systemd_unitdir}/system
16}
17
diff --git a/meta-systemd/meta-oe/recipes-connectivity/dnsmasq/dnsmasq_2.55.bbappend b/meta-systemd/meta-oe/recipes-connectivity/dnsmasq/dnsmasq_2.55.bbappend
index 0a9c77ec7..799b3cdfc 100644
--- a/meta-systemd/meta-oe/recipes-connectivity/dnsmasq/dnsmasq_2.55.bbappend
+++ b/meta-systemd/meta-oe/recipes-connectivity/dnsmasq/dnsmasq_2.55.bbappend
@@ -6,5 +6,12 @@ inherit systemd
6 6
7SRC_URI += "file://dnsmasq.service" 7SRC_URI += "file://dnsmasq.service"
8 8
9SYSTEMD_PACKAGES = "${PN}-systemd" 9SYSTEMD_PACKAGES = "${PN}"
10SYSTEMD_SERVICE = "dnsmasq.service" 10RPROVIDES_${PN} += "${PN}-systemd"
11SYSTEMD_SERVICE_${PN} = "dnsmasq.service"
12
13do_install_append() {
14 install -d ${D}${systemd_unitdir}/system
15 install -m 0644 ${WORKDIR}/dnsmasq.service ${D}${systemd_unitdir}/system
16}
17
diff --git a/meta-systemd/meta-oe/recipes-connectivity/gateone/gateone_git.bbappend b/meta-systemd/meta-oe/recipes-connectivity/gateone/gateone_git.bbappend
index dd5fea1a9..489528b6a 100644
--- a/meta-systemd/meta-oe/recipes-connectivity/gateone/gateone_git.bbappend
+++ b/meta-systemd/meta-oe/recipes-connectivity/gateone/gateone_git.bbappend
@@ -7,5 +7,10 @@ inherit systemd
7SRC_URI += "file://gateone.service" 7SRC_URI += "file://gateone.service"
8 8
9NATIVE_SYSTEMD_SUPPORT = "1" 9NATIVE_SYSTEMD_SUPPORT = "1"
10SYSTEMD_PACKAGES = "${PN}" 10SYSTEMD_SERVICE_${PN} = "gateone.service"
11SYSTEMD_SERVICE = "gateone.service" 11
12do_install_append() {
13 install -d ${D}${systemd_unitdir}/system
14 install -m 0644 ${WORKDIR}/gateone.service ${D}${systemd_unitdir}/system
15}
16
diff --git a/meta-systemd/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.2.0.bbappend b/meta-systemd/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.2.0.bbappend
index 6ae5d7523..0510b232c 100644
--- a/meta-systemd/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.2.0.bbappend
+++ b/meta-systemd/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.2.0.bbappend
@@ -4,8 +4,7 @@ inherit systemd
4 4
5DEPENDS += "systemd" 5DEPENDS += "systemd"
6 6
7SYSTEMD_PACKAGES = "${PN}" 7SYSTEMD_SERVICE_${PN} = "NetworkManager.service"
8SYSTEMD_SERVICE = "NetworkManager.service"
9SYSTEMD_UNITDIR = "${systemd_unitdir}/system" 8SYSTEMD_UNITDIR = "${systemd_unitdir}/system"
10 9
11# NetworkManager-wait-online is not catched by systemd.bbclass 10# NetworkManager-wait-online is not catched by systemd.bbclass
diff --git a/meta-systemd/meta-oe/recipes-core/busybox/busybox_1.20.2.bbappend b/meta-systemd/meta-oe/recipes-core/busybox/busybox_1.20.2.bbappend
index a0ae2ce18..c2121040f 100644
--- a/meta-systemd/meta-oe/recipes-core/busybox/busybox_1.20.2.bbappend
+++ b/meta-systemd/meta-oe/recipes-core/busybox/busybox_1.20.2.bbappend
@@ -8,8 +8,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
8SRC_URI += "file://busybox-syslog.service.in \ 8SRC_URI += "file://busybox-syslog.service.in \
9 file://busybox-klogd.service.in" 9 file://busybox-klogd.service.in"
10 10
11SYSTEMD_PACKAGES = "${PN}-syslog-systemd" 11SYSTEMD_PACKAGES = "${PN}-syslog"
12SYSTEMD_SERVICE_${PN}-syslog-systemd = "busybox-syslog.service" 12SYSTEMD_SERVICE_${PN}-syslog = "busybox-syslog.service"
13 13
14do_install_append() { 14do_install_append() {
15 install -d ${D}${systemd_unitdir}/system 15 install -d ${D}${systemd_unitdir}/system
@@ -20,4 +20,4 @@ do_install_append() {
20 20
21 ln -sf /dev/null ${D}${systemd_unitdir}/system/syslog.service 21 ln -sf /dev/null ${D}${systemd_unitdir}/system/syslog.service
22} 22}
23FILES_${PN}-syslog-systemd = "${systemd_unitdir}/system/syslog.service" 23FILES_${PN}-syslog += "${systemd_unitdir}/system/syslog.service"
diff --git a/meta-systemd/meta-oe/recipes-core/dropbear/dropbear_2012.55.bbappend b/meta-systemd/meta-oe/recipes-core/dropbear/dropbear_2012.55.bbappend
index 15546e1ad..c46e98180 100644
--- a/meta-systemd/meta-oe/recipes-core/dropbear/dropbear_2012.55.bbappend
+++ b/meta-systemd/meta-oe/recipes-core/dropbear/dropbear_2012.55.bbappend
@@ -9,9 +9,14 @@ SRC_URI += "file://dropbearkey.service \
9 file://dropbear@.service \ 9 file://dropbear@.service \
10 file://dropbear.socket" 10 file://dropbear.socket"
11 11
12SYSTEMD_PACKAGES = "${PN}-systemd" 12SYSTEMD_PACKAGES = "${PN}"
13SYSTEMD_SERVICE_${PN}-systemd = "dropbear.socket" 13RPROVIDES_${PN} += "${PN}-systemd"
14SYSTEMD_SERVICE_${PN} = "dropbear.socket"
14 15
15do_install_append() { 16do_install_append() {
17 install -d ${D}${systemd_unitdir}/system
18 install -m 0644 ${WORKDIR}/dropbearkey.service ${D}${systemd_unitdir}/system
19 install -m 0644 ${WORKDIR}/dropbear@.service ${D}${systemd_unitdir}/system
20 install -m 0644 ${WORKDIR}/dropbear.socket ${D}${systemd_unitdir}/system
16 ln -sf /dev/null ${D}${systemd_unitdir}/system/dropbear.service 21 ln -sf /dev/null ${D}${systemd_unitdir}/system/dropbear.service
17} 22}
diff --git a/meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9_0.6.bbappend b/meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9_0.6.bbappend
index afa85bf17..03d878e88 100644
--- a/meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9_0.6.bbappend
+++ b/meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9_0.6.bbappend
@@ -10,4 +10,10 @@ inherit systemd
10 10
11NATIVE_SYSTEMD_SUPPORT = "1" 11NATIVE_SYSTEMD_SUPPORT = "1"
12SYSTEMD_PACKAGES = "${PN}" 12SYSTEMD_PACKAGES = "${PN}"
13RPROVIDES_${PN} += "${PN}-systemd"
13SYSTEMD_SERVICE_${PN} = "cloud9.service" 14SYSTEMD_SERVICE_${PN} = "cloud9.service"
15do_install_append() {
16 install -d ${D}${systemd_unitdir}/system
17 install -m 0644 ${WORKDIR}/cloud9.service ${D}${systemd_unitdir}/system
18}
19
diff --git a/meta-systemd/meta-oe/recipes-extended/at/at_3.1.13.bbappend b/meta-systemd/meta-oe/recipes-extended/at/at_3.1.13.bbappend
index d80cfff2e..2e63c69e8 100644
--- a/meta-systemd/meta-oe/recipes-extended/at/at_3.1.13.bbappend
+++ b/meta-systemd/meta-oe/recipes-extended/at/at_3.1.13.bbappend
@@ -7,6 +7,11 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
7 7
8SRC_URI += "file://atd.service" 8SRC_URI += "file://atd.service"
9 9
10SYSTEMD_PACKAGES = "${PN}-systemd" 10SYSTEMD_PACKAGES = "${PN}"
11SYSTEMD_SERVICE = "atd.service" 11RPROVIDES_${PN} += "${PN}-systemd"
12SYSTEMD_SERVICE_${PN} = "atd.service"
13do_install_append() {
14 install -d ${D}${systemd_unitdir}/system
15 install -m 0644 ${WORKDIR}/atd.service ${D}${systemd_unitdir}/system
16}
12 17
diff --git a/meta-systemd/meta-oe/recipes-extended/atftp/atftp_git.bbappend b/meta-systemd/meta-oe/recipes-extended/atftp/atftp_git.bbappend
index 3706d9f2b..9707abf85 100644
--- a/meta-systemd/meta-oe/recipes-extended/atftp/atftp_git.bbappend
+++ b/meta-systemd/meta-oe/recipes-extended/atftp/atftp_git.bbappend
@@ -6,5 +6,12 @@ inherit systemd
6 6
7SRC_URI += "file://atftpd.service" 7SRC_URI += "file://atftpd.service"
8 8
9SYSTEMD_PACKAGES = "atftpd-systemd" 9SYSTEMD_PACKAGES = "atftpd"
10SYSTEMD_SERVICE_atftpd-systemd = "atftpd.service" 10SYSTEMD_SERVICE_atftpd = "atftpd.service"
11FILES_atftpd += "${systemd_unitdir}/system/atftpd.service"
12RPROVIDES_atftpd += "atftpd-systemd"
13do_install_append() {
14 install -d ${D}${systemd_unitdir}/system
15 install -m 0644 ${WORKDIR}/atftpd.service ${D}${systemd_unitdir}/system
16}
17
diff --git a/meta-systemd/meta-oe/recipes-extended/cronie/cronie_1.4.9.bbappend b/meta-systemd/meta-oe/recipes-extended/cronie/cronie_1.4.9.bbappend
index 66db46674..0ffba654a 100644
--- a/meta-systemd/meta-oe/recipes-extended/cronie/cronie_1.4.9.bbappend
+++ b/meta-systemd/meta-oe/recipes-extended/cronie/cronie_1.4.9.bbappend
@@ -5,7 +5,14 @@ PRINC := "${@int(PRINC) + 3}"
5 5
6inherit systemd 6inherit systemd
7 7
8SYSTEMD_PACKAGES = "${PN}-systemd" 8SYSTEMD_PACKAGES = "${PN}"
9SYSTEMD_SERVICE_${PN}-systemd = "crond.service" 9RPROVIDES_${PN} += "${PN}-systemd"
10SYSTEMD_SERVICE_${PN} = "crond.service"
10 11
11SRC_URI += "file://crond.service" 12SRC_URI += "file://crond.service"
13
14do_install_append() {
15 install -d ${D}${systemd_unitdir}/system
16 install -m 0644 ${WORKDIR}/crond.service ${D}${systemd_unitdir}/system
17}
18
diff --git a/meta-systemd/meta-oe/recipes-extended/net-snmp/net-snmp_5.7.1.bbappend b/meta-systemd/meta-oe/recipes-extended/net-snmp/net-snmp_5.7.1.bbappend
index f221c1d7d..dfe68f20d 100644
--- a/meta-systemd/meta-oe/recipes-extended/net-snmp/net-snmp_5.7.1.bbappend
+++ b/meta-systemd/meta-oe/recipes-extended/net-snmp/net-snmp_5.7.1.bbappend
@@ -9,11 +9,20 @@ SRC_URI += " \
9 file://snmpd.service \ 9 file://snmpd.service \
10 file://snmptrapd.service \ 10 file://snmptrapd.service \
11" 11"
12do_install_append() {
13 install -d ${D}${systemd_unitdir}/system
14 install -m 0644 ${WORKDIR}/snmpd.service ${D}${systemd_unitdir}/system
15 install -m 0644 ${WORKDIR}/snmptrapd.service ${D}${systemd_unitdir}/system
16}
12 17
13EXTRA_OECONF += "--with-systemd" 18EXTRA_OECONF += "--with-systemd"
14 19
15SYSTEMD_PACKAGES = "${PN}-server-snmpd-systemd \ 20SYSTEMD_PACKAGES = "${PN}-server-snmpd-systemd \
16 ${PN}-server-snmptrapd-systemd" 21 ${PN}-server-snmptrapd-systemd"
17 22
18SYSTEMD_SERVICE_${PN}-server-snmpd-systemd = "snmpd.service" 23SYSTEMD_SERVICE_${PN}-server-snmpd = "snmpd.service"
19SYSTEMD_SERVICE_${PN}-server-snmptrapd-systemd = "snmptrapd.service" 24SYSTEMD_SERVICE_${PN}-server-snmptrapd = "snmptrapd.service"
25RPROVIDES_${PN}-server-snmpd += "${PN}-server-snmpd-systemd"
26RPROVIDES_${PN}-server-snmptrapd += "${PN}-server-snmptrapd-systemd"
27FILES_${PN}-server-snmpd += "${systemd_unitdir}/system/snmpd.service"
28FILES_${PN}-server-snmptrapd += "${systemd_unitdir}/system/snmptrapd.service"
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 0fa7f9761..fb31f9234 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
@@ -7,6 +7,12 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
7 7
8SRC_URI += "file://rpcbind.service" 8SRC_URI += "file://rpcbind.service"
9 9
10SYSTEMD_PACKAGES = "${PN}-systemd" 10SYSTEMD_PACKAGES = "${PN}"
11SYSTEMD_SERVICE = "rpcbind.service" 11RPROVIDES_${PN} += "${PN}-systemd"
12SYSTEMD_SERVICE_${PN} = "rpcbind.service"
13
14do_install_append() {
15 install -d ${D}${systemd_unitdir}/system
16 install -m 0644 ${WORKDIR}/rpcbind.service ${D}${systemd_unitdir}/system
17}
12 18
diff --git a/meta-systemd/meta-oe/recipes-extended/rsyslog/rsyslog_5.8.0.bbappend b/meta-systemd/meta-oe/recipes-extended/rsyslog/rsyslog_5.8.0.bbappend
index b813a5083..85d99ed72 100644
--- a/meta-systemd/meta-oe/recipes-extended/rsyslog/rsyslog_5.8.0.bbappend
+++ b/meta-systemd/meta-oe/recipes-extended/rsyslog/rsyslog_5.8.0.bbappend
@@ -6,5 +6,6 @@ DEPENDS += "systemd"
6 6
7SYSTEMD_UNITDIR = "${systemd_unitdir}/system" 7SYSTEMD_UNITDIR = "${systemd_unitdir}/system"
8 8
9SYSTEMD_PACKAGES = "${PN}-systemd" 9SYSTEMD_PACKAGES = "${PN}"
10SYSTEMD_SERVICE = "${PN}.service" 10RPROVIDES_${PN} += "${PN}-systemd"
11SYSTEMD_SERVICE_${PN} = "${PN}.service"
diff --git a/meta-systemd/meta-oe/recipes-extended/zram/zram_0.1.bbappend b/meta-systemd/meta-oe/recipes-extended/zram/zram_0.1.bbappend
index cc98fe1c9..34b82f72f 100644
--- a/meta-systemd/meta-oe/recipes-extended/zram/zram_0.1.bbappend
+++ b/meta-systemd/meta-oe/recipes-extended/zram/zram_0.1.bbappend
@@ -8,5 +8,12 @@ SRC_URI += " \
8 file://zram.service \ 8 file://zram.service \
9" 9"
10 10
11SYSTEMD_PACKAGES = "${PN}-systemd" 11SYSTEMD_PACKAGES = "${PN}"
12SYSTEMD_SERVICE_${PN}-systemd = "zram.service" 12RPROVIDES_${PN} += "${PN}-systemd"
13SYSTEMD_SERVICE_${PN} = "zram.service"
14
15do_install_append() {
16 install -d ${D}${systemd_unitdir}/system
17 install -m 0644 ${WORKDIR}/zram.service ${D}${systemd_unitdir}/system
18}
19
diff --git a/meta-systemd/meta-oe/recipes-graphics/lxdm/lxdm_git.bbappend b/meta-systemd/meta-oe/recipes-graphics/lxdm/lxdm_git.bbappend
index 2828a7034..6fe4b9fac 100644
--- a/meta-systemd/meta-oe/recipes-graphics/lxdm/lxdm_git.bbappend
+++ b/meta-systemd/meta-oe/recipes-graphics/lxdm/lxdm_git.bbappend
@@ -4,5 +4,6 @@ PRINC := "${@int(PRINC) + 1}"
4inherit systemd 4inherit systemd
5 5
6SYSTEMD_UNITDIR = "${systemd_unitdir}/system" 6SYSTEMD_UNITDIR = "${systemd_unitdir}/system"
7SYSTEMD_PACKAGES = "${PN}-systemd" 7SYSTEMD_PACKAGES = "${PN}"
8SYSTEMD_SERVICE = "lxdm.service" 8RPROVIDES_${PN} += "${PN}-systemd"
9SYSTEMD_SERVICE_${PN} = "lxdm.service"
diff --git a/meta-systemd/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bbappend b/meta-systemd/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bbappend
index 5bc5bc384..5f829acf0 100644
--- a/meta-systemd/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bbappend
+++ b/meta-systemd/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bbappend
@@ -6,5 +6,12 @@ inherit systemd
6 6
7SRC_URI += "file://xinput-calibrator.service" 7SRC_URI += "file://xinput-calibrator.service"
8 8
9SYSTEMD_PACKAGES = "${PN}-systemd" 9SYSTEMD_PACKAGES = "${PN}"
10SYSTEMD_SERVICE = "${PN}.service" 10RPROVIDES_${PN} += "${PN}-systemd"
11SYSTEMD_SERVICE_${PN} = "${PN}.service"
12
13do_install_append() {
14 install -d ${D}${systemd_unitdir}/system
15 install -m 0644 ${WORKDIR}/xinput-calibrator.service ${D}${systemd_unitdir}/system
16}
17
diff --git a/meta-systemd/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init_2.0.bbappend b/meta-systemd/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init_2.0.bbappend
index b6b77c914..931051387 100644
--- a/meta-systemd/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init_2.0.bbappend
+++ b/meta-systemd/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init_2.0.bbappend
@@ -10,12 +10,15 @@ SRC_URI += "file://xserver-nodm.service \
10 10
11do_install_append() { 11do_install_append() {
12 install -d ${D}${sysconfdir}/default 12 install -d ${D}${sysconfdir}/default
13 install -d ${D}${systemd_unitdir}/system
13 install xserver-nodm.conf ${D}${sysconfdir}/default/xserver-nodm 14 install xserver-nodm.conf ${D}${sysconfdir}/default/xserver-nodm
15 install -m 0644 ${WORKDIR}/xserver-nodm.service ${D}${systemd_unitdir}/system
14} 16}
15 17
16SYSTEMD_PACKAGES = "${PN}-systemd" 18SYSTEMD_PACKAGES = "${PN}"
17SYSTEMD_SERVICE_${PN}-systemd = "xserver-nodm.service" 19RPROVIDES_${PN} += "${PN}-systemd"
20SYSTEMD_SERVICE_${PN} = "xserver-nodm.service"
18 21
19FILES_${PN}-systemd += "${sysconfdir}/default/xserver-nodm" 22FILES_${PN} += "${sysconfdir}/default/xserver-nodm"
20 23
21RDEPENDS_${PN}-systemd += "xserver-common (>= 1.30) xinit" 24RDEPENDS_${PN} += "xserver-common (>= 1.30) xinit"
diff --git a/meta-systemd/meta-oe/recipes-navigation/gpsd/gpsd_3.7.bbappend b/meta-systemd/meta-oe/recipes-navigation/gpsd/gpsd_3.7.bbappend
index 950476157..23e0bc318 100644
--- a/meta-systemd/meta-oe/recipes-navigation/gpsd/gpsd_3.7.bbappend
+++ b/meta-systemd/meta-oe/recipes-navigation/gpsd/gpsd_3.7.bbappend
@@ -6,8 +6,9 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
6 6
7SRC_URI += "file://gpsd.service" 7SRC_URI += "file://gpsd.service"
8 8
9SYSTEMD_PACKAGES = "${PN}-systemd" 9SYSTEMD_PACKAGES = "${PN}"
10SYSTEMD_SERVICE = "${PN}.socket" 10RPROVIDES_${PN} += "${PN}-systemd"
11SYSTEMD_SERVICE_${PN} = "${PN}.socket"
11SYSTEMD_OESCONS = "true" 12SYSTEMD_OESCONS = "true"
12 13
13do_install_append() { 14do_install_append() {
diff --git a/meta-systemd/meta-oe/recipes-support/nonworking/syslog-ng/syslog-ng_3.2.5.bbappend b/meta-systemd/meta-oe/recipes-support/nonworking/syslog-ng/syslog-ng_3.2.5.bbappend
index 92c2e77e6..95e2f7a49 100644
--- a/meta-systemd/meta-oe/recipes-support/nonworking/syslog-ng/syslog-ng_3.2.5.bbappend
+++ b/meta-systemd/meta-oe/recipes-support/nonworking/syslog-ng/syslog-ng_3.2.5.bbappend
@@ -7,5 +7,6 @@ EXTRA_OECONF += " \
7 --with-systemdsystemunitdir=${systemd_unitdir}/system \ 7 --with-systemdsystemunitdir=${systemd_unitdir}/system \
8" 8"
9 9
10SYSTEMD_PACKAGES = "${PN}-systemd" 10SYSTEMD_PACKAGES = "${PN}"
11SYSTEMD_SERVICE = "${PN}.service" 11RPROVIDES_${PN} += "${PN}-systemd"
12SYSTEMD_SERVICE_${PN} = "${PN}.service"
diff --git a/meta-systemd/meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.8.6.bbappend b/meta-systemd/meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.8.6.bbappend
index b8150b7f7..74e5ae82d 100644
--- a/meta-systemd/meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.8.6.bbappend
+++ b/meta-systemd/meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.8.6.bbappend
@@ -2,5 +2,6 @@ inherit systemd
2 2
3PRINC := "${@int(PRINC) + 1}" 3PRINC := "${@int(PRINC) + 1}"
4 4
5SYSTEMD_PACKAGES = "${PN}-systemd" 5SYSTEMD_PACKAGES = "${PN}"
6SYSTEMD_SERVICE = "pcscd.socket" 6RPROVIDES_${PN} += "${PN}-systemd"
7SYSTEMD_SERVICE_${PN} = "pcscd.socket"
diff --git a/meta-systemd/meta-oe/recipes-support/strongswan/strongswan_5.0.0.bbappend b/meta-systemd/meta-oe/recipes-support/strongswan/strongswan_5.0.0.bbappend
index a60a109af..5334fff1f 100644
--- a/meta-systemd/meta-oe/recipes-support/strongswan/strongswan_5.0.0.bbappend
+++ b/meta-systemd/meta-oe/recipes-support/strongswan/strongswan_5.0.0.bbappend
@@ -4,5 +4,6 @@ PRINC := "${@int(PRINC) + 1}"
4 4
5SYSTEMD_UNITDIR = "${systemd_unitdir}/system" 5SYSTEMD_UNITDIR = "${systemd_unitdir}/system"
6 6
7SYSTEMD_PACKAGES = "${PN}-systemd" 7SYSTEMD_PACKAGES = "${PN}"
8SYSTEMD_SERVICE = "${PN}.service" 8RPROVIDES_${PN} += "${PN}-systemd"
9SYSTEMD_SERVICE_${PN} = "${PN}.service"
diff --git a/meta-systemd/meta-oe/recipes-support/udisks/udisks_1.0.4.bbappend b/meta-systemd/meta-oe/recipes-support/udisks/udisks_1.0.4.bbappend
index 9d0f18c7a..87eb3bb91 100644
--- a/meta-systemd/meta-oe/recipes-support/udisks/udisks_1.0.4.bbappend
+++ b/meta-systemd/meta-oe/recipes-support/udisks/udisks_1.0.4.bbappend
@@ -9,6 +9,7 @@ DEPENDS += "systemd"
9 9
10SRC_URI += "file://add-systemd-support.patch" 10SRC_URI += "file://add-systemd-support.patch"
11 11
12SYSTEMD_PACKAGES = "${PN}-systemd" 12SYSTEMD_PACKAGES = "${PN}"
13SYSTEMD_SERVICE_${PN}-systemd = "udisks-daemon.service" 13RPROVIDES_${PN} += "${PN}-systemd"
14SYSTEMD_SERVICE_${PN} = "udisks-daemon.service"
14SYSTEMD_AUTO_ENABLE = "disable" 15SYSTEMD_AUTO_ENABLE = "disable"
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 d41ca93bf..ec0f08d93 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
@@ -2,8 +2,9 @@ PRINC := "${@int(PRINC) + 1}"
2 2
3inherit systemd 3inherit systemd
4 4
5SYSTEMD_PACKAGES = "${PN}-systemd" 5SYSTEMD_PACKAGES = "${PN}"
6SYSTEMD_SERVICE = "avahi-daemon.service" 6RPROVIDES_${PN} += "${PN}-systemd"
7SYSTEMD_SERVICE_${PN} = "avahi-daemon.service"
7SYSTEMD_AUTO_ENABLE = "enable" 8SYSTEMD_AUTO_ENABLE = "enable"
8 9
9FILES_${PN}-systemd += "${systemd_unitdir}/system/" 10FILES_${PN} += "${systemd_unitdir}/system/"
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 8945a6da7..004c4945a 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
@@ -4,6 +4,7 @@ inherit systemd
4 4
5EXTRA_OECONF += "--with-systemdunitdir=${systemd_unitdir}/system/" 5EXTRA_OECONF += "--with-systemdunitdir=${systemd_unitdir}/system/"
6 6
7SYSTEMD_PACKAGES = "${PN}-systemd" 7SYSTEMD_PACKAGES = "${PN}"
8SYSTEMD_SERVICE = "bluetooth.service" 8RPROVIDES_${PN} += "${PN}-systemd"
9SYSTEMD_SERVICE_${PN} = "bluetooth.service"
9SYSTEMD_AUTO_ENABLE = "disable" 10SYSTEMD_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 b94f84b2f..37c0d2919 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,5 @@
1PRINC := "${@int(PRINC) + 1}" 1PRINC := "${@int(PRINC) + 1}"
2 2
3SYSTEMD_PACKAGES = "${PN}-systemd" 3SYSTEMD_PACKAGES = "${PN}"
4SYSTEMD_SERVICE_${PN}-systemd = "connman.service" 4RPROVIDES_${PN} += "${PN}-systemd"
5SYSTEMD_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 fde242659..aec1dfbe9 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
@@ -5,12 +5,26 @@ inherit systemd
5 5
6PRINC := "${@int(PRINC) + 1}" 6PRINC := "${@int(PRINC) + 1}"
7 7
8SYSTEMD_PACKAGES = "dhcp-server-systemd dhcp-relay-systemd dhcp-client-systemd" 8SYSTEMD_PACKAGES = "dhcp-server dhcp-relay dhcp-client"
9SYSTEMD_SERVICE_dhcp-server-systemd = "dhcpd.service" 9SYSTEMD_SERVICE_dhcp-server = "dhcpd.service"
10SYSTEMD_SERVICE_dhcp-relay-systemd = "dhcrelay.service" 10SYSTEMD_SERVICE_dhcp-relay = "dhcrelay.service"
11SYSTEMD_SERVICE_dhcp-client-systemd = "dhclient.service" 11SYSTEMD_SERVICE_dhcp-client = "dhclient.service"
12
13FILES_dhcp-server += "${systemd_unitdir}/system/dhcpd.service"
14FILES_dhcp-relay += "${systemd_unitdir}/system/dhrelay.service"
15FILES_dhcp-client += "${systemd_unitdir}/system/dhclient.service"
16RPROVIDES_dhcp-server += "dhcp-server-systemd"
17RPROVIDES_dhcp-relay += "dhcp-relay-systemd"
18RPROVIDES_dhcp-client += "dhcp-client-systemd"
12 19
13SRC_URI += "file://dhcpd.service \ 20SRC_URI += "file://dhcpd.service \
14 file://dhclient.service \ 21 file://dhclient.service \
15 file://dhcrelay.service \ 22 file://dhcrelay.service \
16 " 23 "
24do_install_append() {
25 install -d ${D}${systemd_unitdir}/system
26 install -m 0644 ${WORKDIR}/dhcpd.service ${D}${systemd_unitdir}/system
27 install -m 0644 ${WORKDIR}/dhclient.service ${D}${systemd_unitdir}/system
28 install -m 0644 ${WORKDIR}/dhcrelay.service ${D}${systemd_unitdir}/system
29}
30
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 a061b52c5..992370801 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
@@ -2,6 +2,7 @@ PRINC := "${@int(PRINC) + 1}"
2 2
3inherit systemd 3inherit systemd
4 4
5SYSTEMD_PACKAGES = "${PN}-systemd" 5SYSTEMD_PACKAGES = "${PN}"
6SYSTEMD_SERVICE = "ofono.service" 6RPROVIDES_${PN} += "${PN}-systemd"
7SYSTEMD_SERVICE_${PN} = "ofono.service"
7SYSTEMD_AUTO_ENABLE = "disable" 8SYSTEMD_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 a4590657d..fe5c91906 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
@@ -2,9 +2,18 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
2 2
3PRINC := "${@int(PRINC) + 1}" 3PRINC := "${@int(PRINC) + 1}"
4 4
5SYSTEMD_PACKAGES = "openssh-sshd-systemd" 5SYSTEMD_PACKAGES = "openssh-sshd"
6SYSTEMD_SERVICE = "sshd.socket" 6SYSTEMD_SERVICE_openssh-sshd = "sshd.socket"
7FILES_openssh-sshd += "${systemd_unitdir}/system/sshd.socket"
8RPROVIDES_openssh-sshd += "openssh-sshd-systemd"
7 9
8inherit systemd 10inherit systemd
9 11
10SRC_URI += "file://sshd.socket file://sshd@.service file://sshdgenkeys.service" 12SRC_URI += "file://sshd.socket file://sshd@.service file://sshdgenkeys.service"
13do_install_append() {
14 install -d ${D}${systemd_unitdir}/system
15 install -m 0644 ${WORKDIR}/sshd.socket ${D}${systemd_unitdir}/system
16 install -m 0644 ${WORKDIR}/sshd@.service ${D}${systemd_unitdir}/system
17 install -m 0644 ${WORKDIR}/sshdgenkeys.service ${D}${systemd_unitdir}/system
18}
19
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 c0276a391..281c44043 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
@@ -4,8 +4,14 @@ PRINC := "${@int(PRINC) + 1}"
4 4
5inherit systemd 5inherit systemd
6 6
7SYSTEMD_PACKAGES = "${PN}-systemd" 7SYSTEMD_PACKAGES = "${PN}"
8SYSTEMD_SERVICE = "portmap.service" 8RPROVIDES_${PN} += "${PN}-systemd"
9SYSTEMD_SERVICE_${PN} = "portmap.service"
9SYSTEMD_AUTO_ENABLE = "disable" 10SYSTEMD_AUTO_ENABLE = "disable"
10 11
11SRC_URI_append = " file://portmap.service" 12SRC_URI_append = " file://portmap.service"
13do_install_append() {
14 install -d ${D}${systemd_unitdir}/system
15 install -m 0644 ${WORKDIR}/portmap.service ${D}${systemd_unitdir}/system
16}
17
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 a94b00725..d0ce87eb0 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,15 +1,3 @@
1PRINC := "${@int(PRINC) + 2}" 1PRINC := "${@int(PRINC) + 3}"
2 2
3inherit systemd 3RPROVIDES_${PN} += "${PN}-systemd"
4
5SYSTEMD_PACKAGES = "${PN}-systemd"
6SYSTEMD_SERVICE = "wpa_supplicant.service"
7SYSTEMD_AUTO_ENABLE = "disable"
8
9do_install_append () {
10 install -d ${D}${systemd_unitdir}/system
11 install -m 644 ${S}/wpa_supplicant/systemd/*.service ${D}${systemd_unitdir}/system
12}
13
14# systemd.bbclass does not catch all multiple-instance-service-files
15FILES_${PN}-systemd += "${systemd_unitdir}/system/"
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 809a55439..e0b1abaf7 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
@@ -4,5 +4,6 @@ PRINC := "${@int(PRINC) + 1}"
4 4
5SYSTEMD_UNITDIR = "${systemd_unitdir}/system" 5SYSTEMD_UNITDIR = "${systemd_unitdir}/system"
6EXTRA_OECONF += "--enable-socket-activation --with-systemdsystemunitdir=${SYSTEMD_UNITDIR}" 6EXTRA_OECONF += "--enable-socket-activation --with-systemdsystemunitdir=${SYSTEMD_UNITDIR}"
7SYSTEMD_PACKAGES = "${PN}-systemd" 7SYSTEMD_PACKAGES = "${PN}"
8SYSTEMD_SERVICE = "uuidd.socket" 8RPROVIDES_${PN} += "${PN}-systemd"
9SYSTEMD_SERVICE_${PN} = "uuidd.socket"
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 0e08358b2..89079dcae 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,4 +7,11 @@ inherit systemd
7SRC_URI += "file://lighttpd.service" 7SRC_URI += "file://lighttpd.service"
8 8
9SYSTEMD_PACKAGES = "${PN}" 9SYSTEMD_PACKAGES = "${PN}"
10RPROVIDES_${PN} += "${PN}-systemd"
10SYSTEMD_SERVICE_${PN} = "lighttpd.service" 11SYSTEMD_SERVICE_${PN} = "lighttpd.service"
12
13do_install_append() {
14 install -d ${D}${systemd_unitdir}/system
15 install -m 0644 ${WORKDIR}/lighttpd.service ${D}${systemd_unitdir}/system
16}
17
diff --git a/meta-systemd/recipes-core/systemd/systemd-machine-units_1.0.bb b/meta-systemd/recipes-core/systemd/systemd-machine-units_1.0.bb
index f33b2a983..3b3c1dcac 100644
--- a/meta-systemd/recipes-core/systemd/systemd-machine-units_1.0.bb
+++ b/meta-systemd/recipes-core/systemd/systemd-machine-units_1.0.bb
@@ -8,7 +8,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
8PR = "r1" 8PR = "r1"
9 9
10inherit systemd 10inherit systemd
11SYSTEMD_SERVICE = "" 11SYSTEMD_SERVICE_${PN} = ""
12SYSTEMD_PACKAGES = "${PN}" 12SYSTEMD_PACKAGES = "${PN}"
13NATIVE_SYSTEMD_SUPPORT = "1" 13NATIVE_SYSTEMD_SUPPORT = "1"
14ALLOW_EMPTY_${PN} = "1" 14ALLOW_EMPTY_${PN} = "1"