diff options
Diffstat (limited to 'meta-systemd/oe-core')
10 files changed, 62 insertions, 33 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 d41ca93bfc..ec0f08d93b 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 8945a6da79..004c4945a9 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 b94f84b2f9..37c0d29198 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 fde2426593..aec1dfbe94 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 a061b52c58..9923708019 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 a4590657d8..fe5c919063 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 c0276a391b..281c44043b 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 a94b00725a..d0ce87eb03 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 809a554390..e0b1abaf73 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 0e08358b29..89079dcae1 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 | |||
