summaryrefslogtreecommitdiffstats
path: root/meta-systemd/oe-core/recipes-connectivity
diff options
context:
space:
mode:
Diffstat (limited to 'meta-systemd/oe-core/recipes-connectivity')
-rw-r--r--meta-systemd/oe-core/recipes-connectivity/avahi/avahi_0.6.31.bbappend9
-rw-r--r--meta-systemd/oe-core/recipes-connectivity/bluez/bluez4_4.101.bbappend9
-rw-r--r--meta-systemd/oe-core/recipes-connectivity/connman/connman_%.bbappend3
-rw-r--r--meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp/dhclient.service13
-rw-r--r--meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp/dhcpd.service12
-rw-r--r--meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp/dhcrelay.service10
-rw-r--r--meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp_%.bbappend35
-rw-r--r--meta-systemd/oe-core/recipes-connectivity/ofono/ofono_%.bbappend5
-rw-r--r--meta-systemd/oe-core/recipes-connectivity/openssh/openssh_%.bbappend3
-rw-r--r--meta-systemd/oe-core/recipes-connectivity/portmap/portmap/portmap.service10
-rw-r--r--meta-systemd/oe-core/recipes-connectivity/portmap/portmap_6.0.bbappend16
-rw-r--r--meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_%.bbappend3
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 @@
1inherit systemd
2
3RPROVIDES_${PN} += "${PN}-systemd"
4RREPLACES_${PN} += "${PN}-systemd"
5RCONFLICTS_${PN} += "${PN}-systemd"
6SYSTEMD_SERVICE_${PN} = "avahi-daemon.service"
7SYSTEMD_AUTO_ENABLE = "enable"
8
9FILES_${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 @@
1inherit systemd
2
3EXTRA_OECONF += "--with-systemdunitdir=${systemd_unitdir}/system/"
4
5RPROVIDES_${PN} += "${PN}-systemd"
6RREPLACES_${PN} += "${PN}-systemd"
7RCONFLICTS_${PN} += "${PN}-systemd"
8SYSTEMD_SERVICE_${PN} = "bluetooth.service"
9SYSTEMD_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 @@
1RPROVIDES_${PN} += "${PN}-systemd"
2RREPLACES_${PN} += "${PN}-systemd"
3RCONFLICTS_${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]
2Description=Dynamic Host Configuration Protocol (DHCP)
3After=syslog.target network.target
4
5[Service]
6Type=forking
7PIDFile=/var/run/dhclient.pid
8EnvironmentFile=-/etc/default/dhcp-client
9ExecStart=/sbin/dhclient -cf /etc/dhcp/dhclient.conf -q -lf /var/lib/dhcp/dhclient.leases $INTERFACES
10
11[Install]
12WantedBy=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]
2Description=Dynamic Host Configuration Protocol (DHCP)
3After=syslog.target network.target
4
5[Service]
6Type=forking
7PIDFile=/var/run/dhcpd.pid
8EnvironmentFile=-/etc/default/dhcp-server
9ExecStart=/usr/sbin/dhcpd -cf /etc/dhcp/dhcpd.conf -q $INTERFACES
10
11[Install]
12WantedBy=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]
2Description=DHCP Relay Agent Daemon
3After=syslog.target network.target
4
5[Service]
6EnvironmentFile=/etc/default/dhcp-relay
7ExecStart=/usr/sbin/dhcrelay -d $DHCRELAYARGS
8
9[Install]
10WantedBy=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
2FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
3
4inherit systemd
5
6SYSTEMD_PACKAGES = "dhcp-server dhcp-relay dhcp-client"
7SYSTEMD_SERVICE_dhcp-server = "dhcpd.service"
8SYSTEMD_SERVICE_dhcp-relay = "dhcrelay.service"
9SYSTEMD_SERVICE_dhcp-client = "dhclient.service"
10SYSTEMD_AUTO_ENABLE_dhcp-client = "disable"
11
12FILES_dhcp-server += "${systemd_unitdir}/system/dhcpd.service"
13FILES_dhcp-relay += "${systemd_unitdir}/system/dhrelay.service"
14FILES_dhcp-client += "${systemd_unitdir}/system/dhclient.service"
15RPROVIDES_dhcp-server += "dhcp-server-systemd"
16RREPLACES_dhcp-server += "dhcp-server-systemd"
17RCONFLICTS_dhcp-server += "dhcp-server-systemd"
18RPROVIDES_dhcp-relay += "dhcp-relay-systemd"
19RREPLACES_dhcp-relay += "dhcp-relay-systemd"
20RCONFLICTS_dhcp-relay += "dhcp-relay-systemd"
21RPROVIDES_dhcp-client += "dhcp-client-systemd"
22RREPLACES_dhcp-client += "dhcp-client-systemd"
23RCONFLICTS_dhcp-client += "dhcp-client-systemd"
24
25SRC_URI += "file://dhcpd.service \
26 file://dhclient.service \
27 file://dhcrelay.service \
28"
29do_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 @@
1RPROVIDES_${PN} += "${PN}-systemd"
2RREPLACES_${PN} += "${PN}-systemd"
3RCONFLICTS_${PN} += "${PN}-systemd"
4
5SYSTEMD_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 @@
1RPROVIDES_${PN}-sshd += "${PN}-sshd-systemd"
2RREPLACES_${PN}-sshd += "${PN}-sshd-systemd"
3RCONFLICTS_${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]
2Description=Portmap
3
4[Service]
5Type=oneshot
6ExecStart=/sbin/portmap -l
7RemainAfterExit=yes
8
9[Install]
10WantedBy=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 @@
1FILESEXTRAPATHS := "${THISDIR}/${PN}"
2
3inherit systemd
4
5RPROVIDES_${PN} += "${PN}-systemd"
6RREPLACES_${PN} += "${PN}-systemd"
7RCONFLICTS_${PN} += "${PN}-systemd"
8SYSTEMD_SERVICE_${PN} = "portmap.service"
9SYSTEMD_AUTO_ENABLE = "disable"
10
11SRC_URI_append = " file://portmap.service"
12do_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 @@
1RPROVIDES_${PN} += "${PN}-systemd"
2RREPLACES_${PN} += "${PN}-systemd"
3RCONFLICTS_${PN} += "${PN}-systemd"