diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
commit | 1b8dfe266937a37a4c642f96ceb2347bf4c00a17 (patch) | |
tree | 0c6aab146bb3c82efd9c7846a9a4e70dcb0ec84f /meta-systemd/oe-core | |
download | meta-openembedded-1b8dfe266937a37a4c642f96ceb2347bf4c00a17.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-systemd/oe-core')
31 files changed, 321 insertions, 0 deletions
diff --git a/meta-systemd/oe-core/recipes-bsp/keymaps/keymaps/keymaps.service b/meta-systemd/oe-core/recipes-bsp/keymaps/keymaps/keymaps.service new file mode 100644 index 000000000..414ad0cf0 --- /dev/null +++ b/meta-systemd/oe-core/recipes-bsp/keymaps/keymaps/keymaps.service | |||
@@ -0,0 +1,9 @@ | |||
1 | [Unit] | ||
2 | Description=Loads custom keymap if available | ||
3 | ConditionPathExists=/etc/keymap-2.6.map | ||
4 | |||
5 | [Service] | ||
6 | ExecStart=/usr/bin/loadkeys /etc/keymap-2.6.map | ||
7 | |||
8 | [Install] | ||
9 | WantedBy=multi-user.target | ||
diff --git a/meta-systemd/oe-core/recipes-bsp/keymaps/keymaps_1.0.bbappend b/meta-systemd/oe-core/recipes-bsp/keymaps/keymaps_1.0.bbappend new file mode 100644 index 000000000..bc40c6022 --- /dev/null +++ b/meta-systemd/oe-core/recipes-bsp/keymaps/keymaps_1.0.bbappend | |||
@@ -0,0 +1,15 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
2 | |||
3 | SRC_URI += " file://keymaps.service" | ||
4 | |||
5 | inherit systemd | ||
6 | RPROVIDES_${PN} += "${PN}-systemd" | ||
7 | RREPLACES_${PN} += "${PN}-systemd" | ||
8 | RCONFLICTS_${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/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 000000000..5b6e559cc --- /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 000000000..da01b0583 --- /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 000000000..f006b3fb5 --- /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 000000000..c9620cf09 --- /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 000000000..70beee92e --- /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 000000000..f68f468ee --- /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 000000000..1dd6d58eb --- /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 000000000..17a312459 --- /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 000000000..dadbc1499 --- /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 000000000..cffb56c1d --- /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 000000000..765f4b328 --- /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 000000000..f006b3fb5 --- /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" | ||
diff --git a/meta-systemd/oe-core/recipes-core/busybox/busybox/busybox-klogd.service.in b/meta-systemd/oe-core/recipes-core/busybox/busybox/busybox-klogd.service.in new file mode 100644 index 000000000..d7c77558f --- /dev/null +++ b/meta-systemd/oe-core/recipes-core/busybox/busybox/busybox-klogd.service.in | |||
@@ -0,0 +1,8 @@ | |||
1 | [Unit] | ||
2 | Description=Kernel Logging Service | ||
3 | |||
4 | [Service] | ||
5 | ExecStart=@base_sbindir@/klogd -n | ||
6 | |||
7 | [Install] | ||
8 | WantedBy=multi-user.target | ||
diff --git a/meta-systemd/oe-core/recipes-core/busybox/busybox/busybox-syslog.service.in b/meta-systemd/oe-core/recipes-core/busybox/busybox/busybox-syslog.service.in new file mode 100644 index 000000000..2e0432138 --- /dev/null +++ b/meta-systemd/oe-core/recipes-core/busybox/busybox/busybox-syslog.service.in | |||
@@ -0,0 +1,13 @@ | |||
1 | [Unit] | ||
2 | Description=System Logging Service | ||
3 | Wants=busybox-klogd.service | ||
4 | |||
5 | [Service] | ||
6 | EnvironmentFile=-/etc/default/busybox-syslog | ||
7 | ExecStart=@base_sbindir@/syslogd -n $OPTIONS | ||
8 | Sockets=syslog.socket | ||
9 | |||
10 | [Install] | ||
11 | WantedBy=multi-user.target | ||
12 | Also=busybox-klogd.service | ||
13 | Alias=syslog.service | ||
diff --git a/meta-systemd/oe-core/recipes-core/busybox/busybox_%.bbappend b/meta-systemd/oe-core/recipes-core/busybox/busybox_%.bbappend new file mode 100644 index 000000000..6362bdba6 --- /dev/null +++ b/meta-systemd/oe-core/recipes-core/busybox/busybox_%.bbappend | |||
@@ -0,0 +1,25 @@ | |||
1 | inherit systemd | ||
2 | |||
3 | # look for files in the layer first | ||
4 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
5 | |||
6 | SRC_URI += "file://busybox-syslog.service.in \ | ||
7 | file://busybox-klogd.service.in" | ||
8 | |||
9 | SYSTEMD_PACKAGES = "${PN}-syslog" | ||
10 | SYSTEMD_SERVICE_${PN}-syslog = "busybox-syslog.service" | ||
11 | |||
12 | do_install_append() { | ||
13 | install -d ${D}${systemd_unitdir}/system | ||
14 | sed 's,@base_sbindir@,${base_sbindir},g' < ${WORKDIR}/busybox-syslog.service.in \ | ||
15 | > ${D}${systemd_unitdir}/system/busybox-syslog.service | ||
16 | sed 's,@base_sbindir@,${base_sbindir},g' < ${WORKDIR}/busybox-klogd.service.in \ | ||
17 | > ${D}${systemd_unitdir}/system/busybox-klogd.service | ||
18 | |||
19 | ln -sf /dev/null ${D}${systemd_unitdir}/system/syslog.service | ||
20 | } | ||
21 | FILES_${PN}-syslog += "${systemd_unitdir}/system/syslog.service" | ||
22 | |||
23 | RPROVIDES_${PN}-syslog += "${PN}-syslog-systemd" | ||
24 | RREPLACES_${PN}-syslog += "${PN}-syslog-systemd" | ||
25 | RCONFLICTS_${PN}-syslog += "${PN}-syslog-systemd" | ||
diff --git a/meta-systemd/oe-core/recipes-core/dbus/dbus_%.bbappend b/meta-systemd/oe-core/recipes-core/dbus/dbus_%.bbappend new file mode 100644 index 000000000..f006b3fb5 --- /dev/null +++ b/meta-systemd/oe-core/recipes-core/dbus/dbus_%.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-core/dropbear/dropbear/dropbear.socket b/meta-systemd/oe-core/recipes-core/dropbear/dropbear/dropbear.socket new file mode 100644 index 000000000..e5c61b755 --- /dev/null +++ b/meta-systemd/oe-core/recipes-core/dropbear/dropbear/dropbear.socket | |||
@@ -0,0 +1,10 @@ | |||
1 | [Unit] | ||
2 | Conflicts=dropbear.service | ||
3 | |||
4 | [Socket] | ||
5 | ListenStream=22 | ||
6 | Accept=yes | ||
7 | |||
8 | [Install] | ||
9 | WantedBy=sockets.target | ||
10 | Also=dropbearkey.service | ||
diff --git a/meta-systemd/oe-core/recipes-core/dropbear/dropbear/dropbear@.service b/meta-systemd/oe-core/recipes-core/dropbear/dropbear/dropbear@.service new file mode 100644 index 000000000..59ed07b6d --- /dev/null +++ b/meta-systemd/oe-core/recipes-core/dropbear/dropbear/dropbear@.service | |||
@@ -0,0 +1,11 @@ | |||
1 | [Unit] | ||
2 | Description=SSH Per-Connection Server | ||
3 | Requires=dropbearkey.service | ||
4 | After=syslog.target dropbearkey.service | ||
5 | |||
6 | [Service] | ||
7 | EnvironmentFile=-/etc/default/dropbear | ||
8 | ExecStart=-/usr/sbin/dropbear -i -r /etc/dropbear/dropbear_rsa_host_key -p 22 $DROPBEAR_EXTRA_ARGS | ||
9 | ExecReload=/bin/kill -HUP $MAINPID | ||
10 | StandardInput=socket | ||
11 | KillMode=process | ||
diff --git a/meta-systemd/oe-core/recipes-core/dropbear/dropbear/dropbearkey.service b/meta-systemd/oe-core/recipes-core/dropbear/dropbear/dropbearkey.service new file mode 100644 index 000000000..7f03000eb --- /dev/null +++ b/meta-systemd/oe-core/recipes-core/dropbear/dropbear/dropbearkey.service | |||
@@ -0,0 +1,10 @@ | |||
1 | [Unit] | ||
2 | Description=SSH Key Generation | ||
3 | ConditionPathExists=|!/etc/dropbear/dropbear_rsa_host_key | ||
4 | |||
5 | [Service] | ||
6 | ExecStart=/usr/sbin/dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key | ||
7 | RemainAfterExit=yes | ||
8 | |||
9 | [Install] | ||
10 | WantedBy=multi-user.target | ||
diff --git a/meta-systemd/oe-core/recipes-core/dropbear/dropbear_%.bbappend b/meta-systemd/oe-core/recipes-core/dropbear/dropbear_%.bbappend new file mode 100644 index 000000000..fc18ea8e3 --- /dev/null +++ b/meta-systemd/oe-core/recipes-core/dropbear/dropbear_%.bbappend | |||
@@ -0,0 +1,21 @@ | |||
1 | inherit systemd | ||
2 | |||
3 | # look for files in the layer first | ||
4 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
5 | |||
6 | SRC_URI += "file://dropbearkey.service \ | ||
7 | file://dropbear@.service \ | ||
8 | file://dropbear.socket" | ||
9 | |||
10 | RPROVIDES_${PN} += "${PN}-systemd" | ||
11 | RREPLACES_${PN} += "${PN}-systemd" | ||
12 | RCONFLICTS_${PN} += "${PN}-systemd" | ||
13 | SYSTEMD_SERVICE_${PN} = "dropbear.socket" | ||
14 | |||
15 | do_install_append() { | ||
16 | install -d ${D}${systemd_unitdir}/system | ||
17 | install -m 0644 ${WORKDIR}/dropbearkey.service ${D}${systemd_unitdir}/system | ||
18 | install -m 0644 ${WORKDIR}/dropbear@.service ${D}${systemd_unitdir}/system | ||
19 | install -m 0644 ${WORKDIR}/dropbear.socket ${D}${systemd_unitdir}/system | ||
20 | ln -sf /dev/null ${D}${systemd_unitdir}/system/dropbear.service | ||
21 | } | ||
diff --git a/meta-systemd/oe-core/recipes-core/systemd/systemd_%.bbappend b/meta-systemd/oe-core/recipes-core/systemd/systemd_%.bbappend new file mode 100644 index 000000000..f5aa547f1 --- /dev/null +++ b/meta-systemd/oe-core/recipes-core/systemd/systemd_%.bbappend | |||
@@ -0,0 +1,3 @@ | |||
1 | RPROVIDES_udev += "udev-systemd" | ||
2 | RREPLACES_udev += "udev-systemd" | ||
3 | RCONFLICTS_udev += "udev-systemd" | ||
diff --git a/meta-systemd/oe-core/recipes-core/util-linux/util-linux_%.bbappend b/meta-systemd/oe-core/recipes-core/util-linux/util-linux_%.bbappend new file mode 100644 index 000000000..f006b3fb5 --- /dev/null +++ b/meta-systemd/oe-core/recipes-core/util-linux/util-linux_%.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-extended/at/at/atd.service b/meta-systemd/oe-core/recipes-extended/at/at/atd.service new file mode 100644 index 000000000..64a901550 --- /dev/null +++ b/meta-systemd/oe-core/recipes-extended/at/at/atd.service | |||
@@ -0,0 +1,9 @@ | |||
1 | [Unit] | ||
2 | Description=Job spooling tools | ||
3 | After=syslog.target | ||
4 | |||
5 | [Service] | ||
6 | ExecStart=/usr/sbin/atd -f | ||
7 | |||
8 | [Install] | ||
9 | WantedBy=multi-user.target | ||
diff --git a/meta-systemd/oe-core/recipes-extended/at/at_3.1.14.bbappend b/meta-systemd/oe-core/recipes-extended/at/at_3.1.14.bbappend new file mode 100644 index 000000000..3a22fe3bd --- /dev/null +++ b/meta-systemd/oe-core/recipes-extended/at/at_3.1.14.bbappend | |||
@@ -0,0 +1,16 @@ | |||
1 | inherit systemd | ||
2 | |||
3 | # look for files in the layer first | ||
4 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
5 | |||
6 | SRC_URI += "file://atd.service" | ||
7 | |||
8 | RPROVIDES_${PN} += "${PN}-systemd" | ||
9 | RREPLACES_${PN} += "${PN}-systemd" | ||
10 | RCONFLICTS_${PN} += "${PN}-systemd" | ||
11 | SYSTEMD_SERVICE_${PN} = "atd.service" | ||
12 | do_install_append() { | ||
13 | install -d ${D}${systemd_unitdir}/system | ||
14 | install -m 0644 ${WORKDIR}/atd.service ${D}${systemd_unitdir}/system | ||
15 | } | ||
16 | |||
diff --git a/meta-systemd/oe-core/recipes-extended/cronie/cronie/crond.service b/meta-systemd/oe-core/recipes-extended/cronie/cronie/crond.service new file mode 100644 index 000000000..5ae193bfc --- /dev/null +++ b/meta-systemd/oe-core/recipes-extended/cronie/cronie/crond.service | |||
@@ -0,0 +1,10 @@ | |||
1 | [Unit] | ||
2 | Description=Periodic Command Scheduler | ||
3 | |||
4 | [Service] | ||
5 | ExecStart=/usr/sbin/crond -n | ||
6 | ExecReload=/bin/kill -HUP $MAINPID | ||
7 | Restart=always | ||
8 | |||
9 | [Install] | ||
10 | WantedBy=multi-user.target | ||
diff --git a/meta-systemd/oe-core/recipes-extended/cronie/cronie_1.4.11.bbappend b/meta-systemd/oe-core/recipes-extended/cronie/cronie_1.4.11.bbappend new file mode 100644 index 000000000..8f45f3ee5 --- /dev/null +++ b/meta-systemd/oe-core/recipes-extended/cronie/cronie_1.4.11.bbappend | |||
@@ -0,0 +1,17 @@ | |||
1 | # look for files in the layer first | ||
2 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
3 | |||
4 | inherit systemd | ||
5 | |||
6 | RPROVIDES_${PN} += "${PN}-systemd" | ||
7 | RREPLACES_${PN} += "${PN}-systemd" | ||
8 | RCONFLICTS_${PN} += "${PN}-systemd" | ||
9 | SYSTEMD_SERVICE_${PN} = "crond.service" | ||
10 | |||
11 | SRC_URI += "file://crond.service" | ||
12 | |||
13 | do_install_append() { | ||
14 | install -d ${D}${systemd_unitdir}/system | ||
15 | install -m 0644 ${WORKDIR}/crond.service ${D}${systemd_unitdir}/system | ||
16 | } | ||
17 | |||
diff --git a/meta-systemd/oe-core/recipes-extended/lighttpd/lighttpd_%.bbappend b/meta-systemd/oe-core/recipes-extended/lighttpd/lighttpd_%.bbappend new file mode 100644 index 000000000..f006b3fb5 --- /dev/null +++ b/meta-systemd/oe-core/recipes-extended/lighttpd/lighttpd_%.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-extended/pam/libpam_1.1.6.bbappend b/meta-systemd/oe-core/recipes-extended/pam/libpam_1.1.6.bbappend new file mode 100644 index 000000000..db5508209 --- /dev/null +++ b/meta-systemd/oe-core/recipes-extended/pam/libpam_1.1.6.bbappend | |||
@@ -0,0 +1,4 @@ | |||
1 | # Register with logind to make screen/tmux/etc work | ||
2 | do_install_append() { | ||
3 | echo "session required pam_systemd.so" >> ${D}${sysconfdir}/pam.d/common-session | ||
4 | } | ||
diff --git a/meta-systemd/oe-core/recipes-extended/rpcbind/rpcbind_%.bbappend b/meta-systemd/oe-core/recipes-extended/rpcbind/rpcbind_%.bbappend new file mode 100644 index 000000000..f006b3fb5 --- /dev/null +++ b/meta-systemd/oe-core/recipes-extended/rpcbind/rpcbind_%.bbappend | |||
@@ -0,0 +1,3 @@ | |||
1 | RPROVIDES_${PN} += "${PN}-systemd" | ||
2 | RREPLACES_${PN} += "${PN}-systemd" | ||
3 | RCONFLICTS_${PN} += "${PN}-systemd" | ||