diff options
author | Khem Raj <raj.khem@gmail.com> | 2013-02-13 17:25:35 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-04-12 18:49:55 +0200 |
commit | 313f0ae25925caead4f588695ac9c9bcf00b2755 (patch) | |
tree | 1c167bd3cecfa253e438fefd045db110e2fa4cad | |
parent | 0afa2a51d2720ed1d6c06aaef17bd90248ef650e (diff) | |
download | meta-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>
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 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" |
2 | 2 | ||
3 | PRINC := "${@int(PRINC) + 1}" | 3 | PRINC := "${@int(PRINC) + 2}" |
4 | 4 | ||
5 | inherit systemd | 5 | inherit systemd |
6 | 6 | ||
7 | SRC_URI += "file://entrance.service" | 7 | SRC_URI += "file://entrance.service" |
8 | 8 | ||
9 | SYSTEMD_PACKAGES = "${PN}-systemd" | 9 | RPROVIDES_${PN} += "${PN}-systemd" |
10 | SYSTEMD_SERVICE = "entrance.service" | ||
11 | 10 | ||
12 | RCONFLICTS_${PN}-systemd += "xserver-nodm-init-systemd" | 11 | SYSTEMD_SERVICE_${PN} = "entrance.service" |
13 | RREPLACES_${PN}-systemd += "xserver-nodm-init-systemd" | 12 | |
13 | do_install_append() { | ||
14 | install -d ${D}${systemd_unitdir}/system | ||
15 | install -m 0644 ${WORKDIR}/entrance.service ${D}${systemd_unitdir}/system | ||
16 | } | ||
17 | |||
18 | RCONFLICTS_${PN} += "xserver-nodm-init-systemd" | ||
19 | RREPLACES_${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 | ||
17 | SYSTEMD_PACKAGES = "${PN}-systemd" | 17 | SYSTEMD_PACKAGES = "${PN}" |
18 | SYSTEMD_SERVICE = "gdm.service" | 18 | RPROVIDES_${PN} += "${PN}-systemd" |
19 | SYSTEMD_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 | ||
13 | SYSTEMD_PACKAGES = "${PN}-systemd" | 13 | SYSTEMD_PACKAGES = "${PN}" |
14 | SYSTEMD_SERVICE = "mpd.service" | 14 | RPROVIDES_${PN} += "${PN}-systemd" |
15 | SYSTEMD_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 | ||
3 | PRINC := "${@int(PRINC) + 1}" | 3 | PRINC := "${@int(PRINC) + 1}" |
4 | 4 | ||
5 | SYSTEMD_PACKAGES = "${PN}-systemd" | 5 | SYSTEMD_PACKAGES = "${PN}" |
6 | SYSTEMD_SERVICE = "autofs.service" | 6 | RPROVIDES_${PN} += "${PN}-systemd" |
7 | SYSTEMD_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 | ||
8 | SRC_URI += "file://domainname.service" | 8 | SRC_URI += "file://domainname.service" |
9 | 9 | ||
10 | SYSTEMD_PACKAGES = "${PN}-systemd" | 10 | SYSTEMD_PACKAGES = "${PN}" |
11 | SYSTEMD_SERVICE = "domainname.service" | 11 | RPROVIDES_${PN} += "${PN}-systemd" |
12 | SYSTEMD_SERVICE_${PN} = "domainname.service" | ||
13 | |||
14 | do_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 | ||
8 | SRC_URI += "file://ypbind.service" | 8 | SRC_URI += "file://ypbind.service" |
9 | 9 | ||
10 | SYSTEMD_PACKAGES = "${PN}-systemd" | 10 | SYSTEMD_PACKAGES = "${PN}" |
11 | SYSTEMD_SERVICE = "ypbind.service" | 11 | RPROVIDES_${PN} += "${PN}-systemd" |
12 | 12 | SYSTEMD_SERVICE_${PN} = "ypbind.service" | |
13 | do_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 | ||
5 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | 5 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" |
6 | 6 | ||
7 | SYSTEMD_PACKAGES = "${PN}-systemd ntpdate-systemd" | 7 | SYSTEMD_PACKAGES = "${PN} ntpdate" |
8 | SYSTEMD_SERVICE_${PN}-systemd = "ntpd.service" | 8 | SYSTEMD_SERVICE_${PN} = "ntpd.service" |
9 | SYSTEMD_SERVICE_ntpdate-systemd = "ntpdate.service" | 9 | SYSTEMD_SERVICE_ntpdate = "ntpdate.service" |
10 | RPROVIDES_${PN} += "${PN}-systemd" | ||
11 | RPROVIDES_ntpdate += "ntpdate-systemd" | ||
12 | |||
13 | FILES_ntpdate += "${systemd_unitdir}/system/ntpdate.service" | ||
10 | 14 | ||
11 | SRC_URI += " \ | 15 | SRC_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}" | |||
4 | SRC_URI += " file://keymaps.service" | 4 | SRC_URI += " file://keymaps.service" |
5 | 5 | ||
6 | inherit systemd | 6 | inherit systemd |
7 | SYSTEMD_PACKAGES = "${PN}-systemd" | 7 | SYSTEMD_PACKAGES = "${PN}" |
8 | SYSTEMD_SERVICE = "${PN}.service" | 8 | RPROVIDES_${PN} += "${PN}-systemd" |
9 | SYSTEMD_SERVICE_${PN} = "${PN}.service" | ||
10 | |||
11 | do_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 | ||
7 | SRC_URI += "file://cherokee.service" | 7 | SRC_URI += "file://cherokee.service" |
8 | 8 | ||
9 | SYSTEMD_PACKAGES = "${PN}-systemd" | 9 | SYSTEMD_PACKAGES = "${PN}" |
10 | SYSTEMD_SERVICE = "cherokee.service" | 10 | RPROVIDES_${PN} += "${PN}-systemd" |
11 | SYSTEMD_SERVICE_${PN} = "cherokee.service" | ||
12 | |||
13 | do_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 | ||
7 | SRC_URI += "file://dnsmasq.service" | 7 | SRC_URI += "file://dnsmasq.service" |
8 | 8 | ||
9 | SYSTEMD_PACKAGES = "${PN}-systemd" | 9 | SYSTEMD_PACKAGES = "${PN}" |
10 | SYSTEMD_SERVICE = "dnsmasq.service" | 10 | RPROVIDES_${PN} += "${PN}-systemd" |
11 | SYSTEMD_SERVICE_${PN} = "dnsmasq.service" | ||
12 | |||
13 | do_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 | |||
7 | SRC_URI += "file://gateone.service" | 7 | SRC_URI += "file://gateone.service" |
8 | 8 | ||
9 | NATIVE_SYSTEMD_SUPPORT = "1" | 9 | NATIVE_SYSTEMD_SUPPORT = "1" |
10 | SYSTEMD_PACKAGES = "${PN}" | 10 | SYSTEMD_SERVICE_${PN} = "gateone.service" |
11 | SYSTEMD_SERVICE = "gateone.service" | 11 | |
12 | do_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 | ||
5 | DEPENDS += "systemd" | 5 | DEPENDS += "systemd" |
6 | 6 | ||
7 | SYSTEMD_PACKAGES = "${PN}" | 7 | SYSTEMD_SERVICE_${PN} = "NetworkManager.service" |
8 | SYSTEMD_SERVICE = "NetworkManager.service" | ||
9 | SYSTEMD_UNITDIR = "${systemd_unitdir}/system" | 8 | SYSTEMD_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}:" | |||
8 | SRC_URI += "file://busybox-syslog.service.in \ | 8 | SRC_URI += "file://busybox-syslog.service.in \ |
9 | file://busybox-klogd.service.in" | 9 | file://busybox-klogd.service.in" |
10 | 10 | ||
11 | SYSTEMD_PACKAGES = "${PN}-syslog-systemd" | 11 | SYSTEMD_PACKAGES = "${PN}-syslog" |
12 | SYSTEMD_SERVICE_${PN}-syslog-systemd = "busybox-syslog.service" | 12 | SYSTEMD_SERVICE_${PN}-syslog = "busybox-syslog.service" |
13 | 13 | ||
14 | do_install_append() { | 14 | do_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 | } |
23 | FILES_${PN}-syslog-systemd = "${systemd_unitdir}/system/syslog.service" | 23 | FILES_${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 | ||
12 | SYSTEMD_PACKAGES = "${PN}-systemd" | 12 | SYSTEMD_PACKAGES = "${PN}" |
13 | SYSTEMD_SERVICE_${PN}-systemd = "dropbear.socket" | 13 | RPROVIDES_${PN} += "${PN}-systemd" |
14 | SYSTEMD_SERVICE_${PN} = "dropbear.socket" | ||
14 | 15 | ||
15 | do_install_append() { | 16 | do_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 | ||
11 | NATIVE_SYSTEMD_SUPPORT = "1" | 11 | NATIVE_SYSTEMD_SUPPORT = "1" |
12 | SYSTEMD_PACKAGES = "${PN}" | 12 | SYSTEMD_PACKAGES = "${PN}" |
13 | RPROVIDES_${PN} += "${PN}-systemd" | ||
13 | SYSTEMD_SERVICE_${PN} = "cloud9.service" | 14 | SYSTEMD_SERVICE_${PN} = "cloud9.service" |
15 | do_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 | ||
8 | SRC_URI += "file://atd.service" | 8 | SRC_URI += "file://atd.service" |
9 | 9 | ||
10 | SYSTEMD_PACKAGES = "${PN}-systemd" | 10 | SYSTEMD_PACKAGES = "${PN}" |
11 | SYSTEMD_SERVICE = "atd.service" | 11 | RPROVIDES_${PN} += "${PN}-systemd" |
12 | SYSTEMD_SERVICE_${PN} = "atd.service" | ||
13 | do_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 | ||
7 | SRC_URI += "file://atftpd.service" | 7 | SRC_URI += "file://atftpd.service" |
8 | 8 | ||
9 | SYSTEMD_PACKAGES = "atftpd-systemd" | 9 | SYSTEMD_PACKAGES = "atftpd" |
10 | SYSTEMD_SERVICE_atftpd-systemd = "atftpd.service" | 10 | SYSTEMD_SERVICE_atftpd = "atftpd.service" |
11 | FILES_atftpd += "${systemd_unitdir}/system/atftpd.service" | ||
12 | RPROVIDES_atftpd += "atftpd-systemd" | ||
13 | do_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 | ||
6 | inherit systemd | 6 | inherit systemd |
7 | 7 | ||
8 | SYSTEMD_PACKAGES = "${PN}-systemd" | 8 | SYSTEMD_PACKAGES = "${PN}" |
9 | SYSTEMD_SERVICE_${PN}-systemd = "crond.service" | 9 | RPROVIDES_${PN} += "${PN}-systemd" |
10 | SYSTEMD_SERVICE_${PN} = "crond.service" | ||
10 | 11 | ||
11 | SRC_URI += "file://crond.service" | 12 | SRC_URI += "file://crond.service" |
13 | |||
14 | do_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 | " |
12 | do_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 | ||
13 | EXTRA_OECONF += "--with-systemd" | 18 | EXTRA_OECONF += "--with-systemd" |
14 | 19 | ||
15 | SYSTEMD_PACKAGES = "${PN}-server-snmpd-systemd \ | 20 | SYSTEMD_PACKAGES = "${PN}-server-snmpd-systemd \ |
16 | ${PN}-server-snmptrapd-systemd" | 21 | ${PN}-server-snmptrapd-systemd" |
17 | 22 | ||
18 | SYSTEMD_SERVICE_${PN}-server-snmpd-systemd = "snmpd.service" | 23 | SYSTEMD_SERVICE_${PN}-server-snmpd = "snmpd.service" |
19 | SYSTEMD_SERVICE_${PN}-server-snmptrapd-systemd = "snmptrapd.service" | 24 | SYSTEMD_SERVICE_${PN}-server-snmptrapd = "snmptrapd.service" |
25 | RPROVIDES_${PN}-server-snmpd += "${PN}-server-snmpd-systemd" | ||
26 | RPROVIDES_${PN}-server-snmptrapd += "${PN}-server-snmptrapd-systemd" | ||
27 | FILES_${PN}-server-snmpd += "${systemd_unitdir}/system/snmpd.service" | ||
28 | FILES_${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 | ||
8 | SRC_URI += "file://rpcbind.service" | 8 | SRC_URI += "file://rpcbind.service" |
9 | 9 | ||
10 | SYSTEMD_PACKAGES = "${PN}-systemd" | 10 | SYSTEMD_PACKAGES = "${PN}" |
11 | SYSTEMD_SERVICE = "rpcbind.service" | 11 | RPROVIDES_${PN} += "${PN}-systemd" |
12 | SYSTEMD_SERVICE_${PN} = "rpcbind.service" | ||
13 | |||
14 | do_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 | ||
7 | SYSTEMD_UNITDIR = "${systemd_unitdir}/system" | 7 | SYSTEMD_UNITDIR = "${systemd_unitdir}/system" |
8 | 8 | ||
9 | SYSTEMD_PACKAGES = "${PN}-systemd" | 9 | SYSTEMD_PACKAGES = "${PN}" |
10 | SYSTEMD_SERVICE = "${PN}.service" | 10 | RPROVIDES_${PN} += "${PN}-systemd" |
11 | SYSTEMD_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 | ||
11 | SYSTEMD_PACKAGES = "${PN}-systemd" | 11 | SYSTEMD_PACKAGES = "${PN}" |
12 | SYSTEMD_SERVICE_${PN}-systemd = "zram.service" | 12 | RPROVIDES_${PN} += "${PN}-systemd" |
13 | SYSTEMD_SERVICE_${PN} = "zram.service" | ||
14 | |||
15 | do_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}" | |||
4 | inherit systemd | 4 | inherit systemd |
5 | 5 | ||
6 | SYSTEMD_UNITDIR = "${systemd_unitdir}/system" | 6 | SYSTEMD_UNITDIR = "${systemd_unitdir}/system" |
7 | SYSTEMD_PACKAGES = "${PN}-systemd" | 7 | SYSTEMD_PACKAGES = "${PN}" |
8 | SYSTEMD_SERVICE = "lxdm.service" | 8 | RPROVIDES_${PN} += "${PN}-systemd" |
9 | SYSTEMD_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 | ||
7 | SRC_URI += "file://xinput-calibrator.service" | 7 | SRC_URI += "file://xinput-calibrator.service" |
8 | 8 | ||
9 | SYSTEMD_PACKAGES = "${PN}-systemd" | 9 | SYSTEMD_PACKAGES = "${PN}" |
10 | SYSTEMD_SERVICE = "${PN}.service" | 10 | RPROVIDES_${PN} += "${PN}-systemd" |
11 | SYSTEMD_SERVICE_${PN} = "${PN}.service" | ||
12 | |||
13 | do_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 | ||
11 | do_install_append() { | 11 | do_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 | ||
16 | SYSTEMD_PACKAGES = "${PN}-systemd" | 18 | SYSTEMD_PACKAGES = "${PN}" |
17 | SYSTEMD_SERVICE_${PN}-systemd = "xserver-nodm.service" | 19 | RPROVIDES_${PN} += "${PN}-systemd" |
20 | SYSTEMD_SERVICE_${PN} = "xserver-nodm.service" | ||
18 | 21 | ||
19 | FILES_${PN}-systemd += "${sysconfdir}/default/xserver-nodm" | 22 | FILES_${PN} += "${sysconfdir}/default/xserver-nodm" |
20 | 23 | ||
21 | RDEPENDS_${PN}-systemd += "xserver-common (>= 1.30) xinit" | 24 | RDEPENDS_${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 | ||
7 | SRC_URI += "file://gpsd.service" | 7 | SRC_URI += "file://gpsd.service" |
8 | 8 | ||
9 | SYSTEMD_PACKAGES = "${PN}-systemd" | 9 | SYSTEMD_PACKAGES = "${PN}" |
10 | SYSTEMD_SERVICE = "${PN}.socket" | 10 | RPROVIDES_${PN} += "${PN}-systemd" |
11 | SYSTEMD_SERVICE_${PN} = "${PN}.socket" | ||
11 | SYSTEMD_OESCONS = "true" | 12 | SYSTEMD_OESCONS = "true" |
12 | 13 | ||
13 | do_install_append() { | 14 | do_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 | ||
10 | SYSTEMD_PACKAGES = "${PN}-systemd" | 10 | SYSTEMD_PACKAGES = "${PN}" |
11 | SYSTEMD_SERVICE = "${PN}.service" | 11 | RPROVIDES_${PN} += "${PN}-systemd" |
12 | SYSTEMD_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 | ||
3 | PRINC := "${@int(PRINC) + 1}" | 3 | PRINC := "${@int(PRINC) + 1}" |
4 | 4 | ||
5 | SYSTEMD_PACKAGES = "${PN}-systemd" | 5 | SYSTEMD_PACKAGES = "${PN}" |
6 | SYSTEMD_SERVICE = "pcscd.socket" | 6 | RPROVIDES_${PN} += "${PN}-systemd" |
7 | SYSTEMD_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 | ||
5 | SYSTEMD_UNITDIR = "${systemd_unitdir}/system" | 5 | SYSTEMD_UNITDIR = "${systemd_unitdir}/system" |
6 | 6 | ||
7 | SYSTEMD_PACKAGES = "${PN}-systemd" | 7 | SYSTEMD_PACKAGES = "${PN}" |
8 | SYSTEMD_SERVICE = "${PN}.service" | 8 | RPROVIDES_${PN} += "${PN}-systemd" |
9 | SYSTEMD_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 | ||
10 | SRC_URI += "file://add-systemd-support.patch" | 10 | SRC_URI += "file://add-systemd-support.patch" |
11 | 11 | ||
12 | SYSTEMD_PACKAGES = "${PN}-systemd" | 12 | SYSTEMD_PACKAGES = "${PN}" |
13 | SYSTEMD_SERVICE_${PN}-systemd = "udisks-daemon.service" | 13 | RPROVIDES_${PN} += "${PN}-systemd" |
14 | SYSTEMD_SERVICE_${PN} = "udisks-daemon.service" | ||
14 | SYSTEMD_AUTO_ENABLE = "disable" | 15 | SYSTEMD_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 | ||
3 | inherit systemd | 3 | inherit systemd |
4 | 4 | ||
5 | SYSTEMD_PACKAGES = "${PN}-systemd" | 5 | SYSTEMD_PACKAGES = "${PN}" |
6 | SYSTEMD_SERVICE = "avahi-daemon.service" | 6 | RPROVIDES_${PN} += "${PN}-systemd" |
7 | SYSTEMD_SERVICE_${PN} = "avahi-daemon.service" | ||
7 | SYSTEMD_AUTO_ENABLE = "enable" | 8 | SYSTEMD_AUTO_ENABLE = "enable" |
8 | 9 | ||
9 | FILES_${PN}-systemd += "${systemd_unitdir}/system/" | 10 | FILES_${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 | ||
5 | EXTRA_OECONF += "--with-systemdunitdir=${systemd_unitdir}/system/" | 5 | EXTRA_OECONF += "--with-systemdunitdir=${systemd_unitdir}/system/" |
6 | 6 | ||
7 | SYSTEMD_PACKAGES = "${PN}-systemd" | 7 | SYSTEMD_PACKAGES = "${PN}" |
8 | SYSTEMD_SERVICE = "bluetooth.service" | 8 | RPROVIDES_${PN} += "${PN}-systemd" |
9 | SYSTEMD_SERVICE_${PN} = "bluetooth.service" | ||
9 | SYSTEMD_AUTO_ENABLE = "disable" | 10 | 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 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 @@ | |||
1 | PRINC := "${@int(PRINC) + 1}" | 1 | PRINC := "${@int(PRINC) + 1}" |
2 | 2 | ||
3 | SYSTEMD_PACKAGES = "${PN}-systemd" | 3 | SYSTEMD_PACKAGES = "${PN}" |
4 | SYSTEMD_SERVICE_${PN}-systemd = "connman.service" | 4 | RPROVIDES_${PN} += "${PN}-systemd" |
5 | 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 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 | ||
6 | PRINC := "${@int(PRINC) + 1}" | 6 | PRINC := "${@int(PRINC) + 1}" |
7 | 7 | ||
8 | SYSTEMD_PACKAGES = "dhcp-server-systemd dhcp-relay-systemd dhcp-client-systemd" | 8 | SYSTEMD_PACKAGES = "dhcp-server dhcp-relay dhcp-client" |
9 | SYSTEMD_SERVICE_dhcp-server-systemd = "dhcpd.service" | 9 | SYSTEMD_SERVICE_dhcp-server = "dhcpd.service" |
10 | SYSTEMD_SERVICE_dhcp-relay-systemd = "dhcrelay.service" | 10 | SYSTEMD_SERVICE_dhcp-relay = "dhcrelay.service" |
11 | SYSTEMD_SERVICE_dhcp-client-systemd = "dhclient.service" | 11 | SYSTEMD_SERVICE_dhcp-client = "dhclient.service" |
12 | |||
13 | FILES_dhcp-server += "${systemd_unitdir}/system/dhcpd.service" | ||
14 | FILES_dhcp-relay += "${systemd_unitdir}/system/dhrelay.service" | ||
15 | FILES_dhcp-client += "${systemd_unitdir}/system/dhclient.service" | ||
16 | RPROVIDES_dhcp-server += "dhcp-server-systemd" | ||
17 | RPROVIDES_dhcp-relay += "dhcp-relay-systemd" | ||
18 | RPROVIDES_dhcp-client += "dhcp-client-systemd" | ||
12 | 19 | ||
13 | SRC_URI += "file://dhcpd.service \ | 20 | SRC_URI += "file://dhcpd.service \ |
14 | file://dhclient.service \ | 21 | file://dhclient.service \ |
15 | file://dhcrelay.service \ | 22 | file://dhcrelay.service \ |
16 | " | 23 | " |
24 | do_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 | ||
3 | inherit systemd | 3 | inherit systemd |
4 | 4 | ||
5 | SYSTEMD_PACKAGES = "${PN}-systemd" | 5 | SYSTEMD_PACKAGES = "${PN}" |
6 | SYSTEMD_SERVICE = "ofono.service" | 6 | RPROVIDES_${PN} += "${PN}-systemd" |
7 | SYSTEMD_SERVICE_${PN} = "ofono.service" | ||
7 | SYSTEMD_AUTO_ENABLE = "disable" | 8 | 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 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 | ||
3 | PRINC := "${@int(PRINC) + 1}" | 3 | PRINC := "${@int(PRINC) + 1}" |
4 | 4 | ||
5 | SYSTEMD_PACKAGES = "openssh-sshd-systemd" | 5 | SYSTEMD_PACKAGES = "openssh-sshd" |
6 | SYSTEMD_SERVICE = "sshd.socket" | 6 | SYSTEMD_SERVICE_openssh-sshd = "sshd.socket" |
7 | FILES_openssh-sshd += "${systemd_unitdir}/system/sshd.socket" | ||
8 | RPROVIDES_openssh-sshd += "openssh-sshd-systemd" | ||
7 | 9 | ||
8 | inherit systemd | 10 | inherit systemd |
9 | 11 | ||
10 | SRC_URI += "file://sshd.socket file://sshd@.service file://sshdgenkeys.service" | 12 | SRC_URI += "file://sshd.socket file://sshd@.service file://sshdgenkeys.service" |
13 | do_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 | ||
5 | inherit systemd | 5 | inherit systemd |
6 | 6 | ||
7 | SYSTEMD_PACKAGES = "${PN}-systemd" | 7 | SYSTEMD_PACKAGES = "${PN}" |
8 | SYSTEMD_SERVICE = "portmap.service" | 8 | RPROVIDES_${PN} += "${PN}-systemd" |
9 | SYSTEMD_SERVICE_${PN} = "portmap.service" | ||
9 | SYSTEMD_AUTO_ENABLE = "disable" | 10 | SYSTEMD_AUTO_ENABLE = "disable" |
10 | 11 | ||
11 | SRC_URI_append = " file://portmap.service" | 12 | SRC_URI_append = " file://portmap.service" |
13 | do_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 @@ | |||
1 | PRINC := "${@int(PRINC) + 2}" | 1 | PRINC := "${@int(PRINC) + 3}" |
2 | 2 | ||
3 | inherit systemd | 3 | RPROVIDES_${PN} += "${PN}-systemd" |
4 | |||
5 | SYSTEMD_PACKAGES = "${PN}-systemd" | ||
6 | SYSTEMD_SERVICE = "wpa_supplicant.service" | ||
7 | SYSTEMD_AUTO_ENABLE = "disable" | ||
8 | |||
9 | do_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 | ||
15 | FILES_${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 | ||
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 | SYSTEMD_PACKAGES = "${PN}-systemd" | 7 | SYSTEMD_PACKAGES = "${PN}" |
8 | SYSTEMD_SERVICE = "uuidd.socket" | 8 | RPROVIDES_${PN} += "${PN}-systemd" |
9 | SYSTEMD_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 | |||
7 | SRC_URI += "file://lighttpd.service" | 7 | SRC_URI += "file://lighttpd.service" |
8 | 8 | ||
9 | SYSTEMD_PACKAGES = "${PN}" | 9 | SYSTEMD_PACKAGES = "${PN}" |
10 | RPROVIDES_${PN} += "${PN}-systemd" | ||
10 | SYSTEMD_SERVICE_${PN} = "lighttpd.service" | 11 | SYSTEMD_SERVICE_${PN} = "lighttpd.service" |
12 | |||
13 | do_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}" | |||
8 | PR = "r1" | 8 | PR = "r1" |
9 | 9 | ||
10 | inherit systemd | 10 | inherit systemd |
11 | SYSTEMD_SERVICE = "" | 11 | SYSTEMD_SERVICE_${PN} = "" |
12 | SYSTEMD_PACKAGES = "${PN}" | 12 | SYSTEMD_PACKAGES = "${PN}" |
13 | NATIVE_SYSTEMD_SUPPORT = "1" | 13 | NATIVE_SYSTEMD_SUPPORT = "1" |
14 | ALLOW_EMPTY_${PN} = "1" | 14 | ALLOW_EMPTY_${PN} = "1" |