diff options
Diffstat (limited to 'meta-systemd/oe-core/recipes-connectivity')
12 files changed, 128 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 new file mode 100644 index 0000000000..5b6e559cc8 --- /dev/null +++ b/meta-systemd/oe-core/recipes-connectivity/avahi/avahi_0.6.31.bbappend | |||
@@ -0,0 +1,9 @@ | |||
1 | inherit systemd | ||
2 | |||
3 | RPROVIDES_${PN} += "${PN}-systemd" | ||
4 | RREPLACES_${PN} += "${PN}-systemd" | ||
5 | RCONFLICTS_${PN} += "${PN}-systemd" | ||
6 | SYSTEMD_SERVICE_${PN} = "avahi-daemon.service" | ||
7 | SYSTEMD_AUTO_ENABLE = "enable" | ||
8 | |||
9 | 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 new file mode 100644 index 0000000000..da01b0583b --- /dev/null +++ b/meta-systemd/oe-core/recipes-connectivity/bluez/bluez4_4.101.bbappend | |||
@@ -0,0 +1,9 @@ | |||
1 | inherit systemd | ||
2 | |||
3 | EXTRA_OECONF += "--with-systemdunitdir=${systemd_unitdir}/system/" | ||
4 | |||
5 | RPROVIDES_${PN} += "${PN}-systemd" | ||
6 | RREPLACES_${PN} += "${PN}-systemd" | ||
7 | RCONFLICTS_${PN} += "${PN}-systemd" | ||
8 | SYSTEMD_SERVICE_${PN} = "bluetooth.service" | ||
9 | SYSTEMD_AUTO_ENABLE = "disable" | ||
diff --git a/meta-systemd/oe-core/recipes-connectivity/connman/connman_%.bbappend b/meta-systemd/oe-core/recipes-connectivity/connman/connman_%.bbappend new file mode 100644 index 0000000000..f006b3fb5b --- /dev/null +++ b/meta-systemd/oe-core/recipes-connectivity/connman/connman_%.bbappend | |||
@@ -0,0 +1,3 @@ | |||
1 | RPROVIDES_${PN} += "${PN}-systemd" | ||
2 | RREPLACES_${PN} += "${PN}-systemd" | ||
3 | RCONFLICTS_${PN} += "${PN}-systemd" | ||
diff --git a/meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp/dhclient.service b/meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp/dhclient.service new file mode 100644 index 0000000000..c9620cf09b --- /dev/null +++ b/meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp/dhclient.service | |||
@@ -0,0 +1,13 @@ | |||
1 | [Unit] | ||
2 | Description=Dynamic Host Configuration Protocol (DHCP) | ||
3 | After=syslog.target network.target | ||
4 | |||
5 | [Service] | ||
6 | Type=forking | ||
7 | PIDFile=/var/run/dhclient.pid | ||
8 | EnvironmentFile=-/etc/default/dhcp-client | ||
9 | ExecStart=/sbin/dhclient -cf /etc/dhcp/dhclient.conf -q -lf /var/lib/dhcp/dhclient.leases $INTERFACES | ||
10 | |||
11 | [Install] | ||
12 | WantedBy=multi-user.target | ||
13 | |||
diff --git a/meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp/dhcpd.service b/meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp/dhcpd.service new file mode 100644 index 0000000000..70beee92e6 --- /dev/null +++ b/meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp/dhcpd.service | |||
@@ -0,0 +1,12 @@ | |||
1 | [Unit] | ||
2 | Description=Dynamic Host Configuration Protocol (DHCP) | ||
3 | After=syslog.target network.target | ||
4 | |||
5 | [Service] | ||
6 | Type=forking | ||
7 | PIDFile=/var/run/dhcpd.pid | ||
8 | EnvironmentFile=-/etc/default/dhcp-server | ||
9 | ExecStart=/usr/sbin/dhcpd -cf /etc/dhcp/dhcpd.conf -q $INTERFACES | ||
10 | |||
11 | [Install] | ||
12 | WantedBy=multi-user.target | ||
diff --git a/meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp/dhcrelay.service b/meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp/dhcrelay.service new file mode 100644 index 0000000000..f68f468eef --- /dev/null +++ b/meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp/dhcrelay.service | |||
@@ -0,0 +1,10 @@ | |||
1 | [Unit] | ||
2 | Description=DHCP Relay Agent Daemon | ||
3 | After=syslog.target network.target | ||
4 | |||
5 | [Service] | ||
6 | EnvironmentFile=/etc/default/dhcp-relay | ||
7 | ExecStart=/usr/sbin/dhcrelay -d $DHCRELAYARGS | ||
8 | |||
9 | [Install] | ||
10 | WantedBy=multi-user.target | ||
diff --git a/meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp_%.bbappend b/meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp_%.bbappend new file mode 100644 index 0000000000..1dd6d58eb6 --- /dev/null +++ b/meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp_%.bbappend | |||
@@ -0,0 +1,35 @@ | |||
1 | # look for files in the layer first | ||
2 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
3 | |||
4 | inherit systemd | ||
5 | |||
6 | SYSTEMD_PACKAGES = "dhcp-server dhcp-relay dhcp-client" | ||
7 | SYSTEMD_SERVICE_dhcp-server = "dhcpd.service" | ||
8 | SYSTEMD_SERVICE_dhcp-relay = "dhcrelay.service" | ||
9 | SYSTEMD_SERVICE_dhcp-client = "dhclient.service" | ||
10 | SYSTEMD_AUTO_ENABLE_dhcp-client = "disable" | ||
11 | |||
12 | FILES_dhcp-server += "${systemd_unitdir}/system/dhcpd.service" | ||
13 | FILES_dhcp-relay += "${systemd_unitdir}/system/dhrelay.service" | ||
14 | FILES_dhcp-client += "${systemd_unitdir}/system/dhclient.service" | ||
15 | RPROVIDES_dhcp-server += "dhcp-server-systemd" | ||
16 | RREPLACES_dhcp-server += "dhcp-server-systemd" | ||
17 | RCONFLICTS_dhcp-server += "dhcp-server-systemd" | ||
18 | RPROVIDES_dhcp-relay += "dhcp-relay-systemd" | ||
19 | RREPLACES_dhcp-relay += "dhcp-relay-systemd" | ||
20 | RCONFLICTS_dhcp-relay += "dhcp-relay-systemd" | ||
21 | RPROVIDES_dhcp-client += "dhcp-client-systemd" | ||
22 | RREPLACES_dhcp-client += "dhcp-client-systemd" | ||
23 | RCONFLICTS_dhcp-client += "dhcp-client-systemd" | ||
24 | |||
25 | SRC_URI += "file://dhcpd.service \ | ||
26 | file://dhclient.service \ | ||
27 | file://dhcrelay.service \ | ||
28 | " | ||
29 | do_install_append() { | ||
30 | install -d ${D}${systemd_unitdir}/system | ||
31 | install -m 0644 ${WORKDIR}/dhcpd.service ${D}${systemd_unitdir}/system | ||
32 | install -m 0644 ${WORKDIR}/dhclient.service ${D}${systemd_unitdir}/system | ||
33 | install -m 0644 ${WORKDIR}/dhcrelay.service ${D}${systemd_unitdir}/system | ||
34 | } | ||
35 | |||
diff --git a/meta-systemd/oe-core/recipes-connectivity/ofono/ofono_%.bbappend b/meta-systemd/oe-core/recipes-connectivity/ofono/ofono_%.bbappend new file mode 100644 index 0000000000..17a3124599 --- /dev/null +++ b/meta-systemd/oe-core/recipes-connectivity/ofono/ofono_%.bbappend | |||
@@ -0,0 +1,5 @@ | |||
1 | RPROVIDES_${PN} += "${PN}-systemd" | ||
2 | RREPLACES_${PN} += "${PN}-systemd" | ||
3 | RCONFLICTS_${PN} += "${PN}-systemd" | ||
4 | |||
5 | SYSTEMD_AUTO_ENABLE = "disable" | ||
diff --git a/meta-systemd/oe-core/recipes-connectivity/openssh/openssh_%.bbappend b/meta-systemd/oe-core/recipes-connectivity/openssh/openssh_%.bbappend new file mode 100644 index 0000000000..dadbc14991 --- /dev/null +++ b/meta-systemd/oe-core/recipes-connectivity/openssh/openssh_%.bbappend | |||
@@ -0,0 +1,3 @@ | |||
1 | RPROVIDES_${PN}-sshd += "${PN}-sshd-systemd" | ||
2 | RREPLACES_${PN}-sshd += "${PN}-sshd-systemd" | ||
3 | RCONFLICTS_${PN}-sshd += "${PN}-sshd-systemd" | ||
diff --git a/meta-systemd/oe-core/recipes-connectivity/portmap/portmap/portmap.service b/meta-systemd/oe-core/recipes-connectivity/portmap/portmap/portmap.service new file mode 100644 index 0000000000..cffb56c1d0 --- /dev/null +++ b/meta-systemd/oe-core/recipes-connectivity/portmap/portmap/portmap.service | |||
@@ -0,0 +1,10 @@ | |||
1 | [Unit] | ||
2 | Description=Portmap | ||
3 | |||
4 | [Service] | ||
5 | Type=oneshot | ||
6 | ExecStart=/sbin/portmap -l | ||
7 | RemainAfterExit=yes | ||
8 | |||
9 | [Install] | ||
10 | WantedBy=multi-user.target | ||
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 new file mode 100644 index 0000000000..765f4b3285 --- /dev/null +++ b/meta-systemd/oe-core/recipes-connectivity/portmap/portmap_6.0.bbappend | |||
@@ -0,0 +1,16 @@ | |||
1 | FILESEXTRAPATHS := "${THISDIR}/${PN}" | ||
2 | |||
3 | inherit systemd | ||
4 | |||
5 | RPROVIDES_${PN} += "${PN}-systemd" | ||
6 | RREPLACES_${PN} += "${PN}-systemd" | ||
7 | RCONFLICTS_${PN} += "${PN}-systemd" | ||
8 | SYSTEMD_SERVICE_${PN} = "portmap.service" | ||
9 | SYSTEMD_AUTO_ENABLE = "disable" | ||
10 | |||
11 | SRC_URI_append = " file://portmap.service" | ||
12 | do_install_append() { | ||
13 | install -d ${D}${systemd_unitdir}/system | ||
14 | install -m 0644 ${WORKDIR}/portmap.service ${D}${systemd_unitdir}/system | ||
15 | } | ||
16 | |||
diff --git a/meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_%.bbappend b/meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_%.bbappend new file mode 100644 index 0000000000..f006b3fb5b --- /dev/null +++ b/meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_%.bbappend | |||
@@ -0,0 +1,3 @@ | |||
1 | RPROVIDES_${PN} += "${PN}-systemd" | ||
2 | RREPLACES_${PN} += "${PN}-systemd" | ||
3 | RCONFLICTS_${PN} += "${PN}-systemd" | ||