summaryrefslogtreecommitdiffstats
path: root/meta-systemd/oe-core
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2014-10-10 03:20:04 +0200
committerTudor Florea <tudor.florea@enea.com>2014-10-10 03:20:04 +0200
commit1b8dfe266937a37a4c642f96ceb2347bf4c00a17 (patch)
tree0c6aab146bb3c82efd9c7846a9a4e70dcb0ec84f /meta-systemd/oe-core
downloadmeta-openembedded-daisy-140929.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')
-rw-r--r--meta-systemd/oe-core/recipes-bsp/keymaps/keymaps/keymaps.service9
-rw-r--r--meta-systemd/oe-core/recipes-bsp/keymaps/keymaps_1.0.bbappend15
-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
-rw-r--r--meta-systemd/oe-core/recipes-core/busybox/busybox/busybox-klogd.service.in8
-rw-r--r--meta-systemd/oe-core/recipes-core/busybox/busybox/busybox-syslog.service.in13
-rw-r--r--meta-systemd/oe-core/recipes-core/busybox/busybox_%.bbappend25
-rw-r--r--meta-systemd/oe-core/recipes-core/dbus/dbus_%.bbappend3
-rw-r--r--meta-systemd/oe-core/recipes-core/dropbear/dropbear/dropbear.socket10
-rw-r--r--meta-systemd/oe-core/recipes-core/dropbear/dropbear/dropbear@.service11
-rw-r--r--meta-systemd/oe-core/recipes-core/dropbear/dropbear/dropbearkey.service10
-rw-r--r--meta-systemd/oe-core/recipes-core/dropbear/dropbear_%.bbappend21
-rw-r--r--meta-systemd/oe-core/recipes-core/systemd/systemd_%.bbappend3
-rw-r--r--meta-systemd/oe-core/recipes-core/util-linux/util-linux_%.bbappend3
-rw-r--r--meta-systemd/oe-core/recipes-extended/at/at/atd.service9
-rw-r--r--meta-systemd/oe-core/recipes-extended/at/at_3.1.14.bbappend16
-rw-r--r--meta-systemd/oe-core/recipes-extended/cronie/cronie/crond.service10
-rw-r--r--meta-systemd/oe-core/recipes-extended/cronie/cronie_1.4.11.bbappend17
-rw-r--r--meta-systemd/oe-core/recipes-extended/lighttpd/lighttpd_%.bbappend3
-rw-r--r--meta-systemd/oe-core/recipes-extended/pam/libpam_1.1.6.bbappend4
-rw-r--r--meta-systemd/oe-core/recipes-extended/rpcbind/rpcbind_%.bbappend3
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]
2Description=Loads custom keymap if available
3ConditionPathExists=/etc/keymap-2.6.map
4
5[Service]
6ExecStart=/usr/bin/loadkeys /etc/keymap-2.6.map
7
8[Install]
9WantedBy=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 @@
1FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
2
3SRC_URI += " file://keymaps.service"
4
5inherit systemd
6RPROVIDES_${PN} += "${PN}-systemd"
7RREPLACES_${PN} += "${PN}-systemd"
8RCONFLICTS_${PN} += "${PN}-systemd"
9SYSTEMD_SERVICE_${PN} = "${PN}.service"
10
11do_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 @@
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 000000000..da01b0583
--- /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 000000000..f006b3fb5
--- /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 000000000..c9620cf09
--- /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 000000000..70beee92e
--- /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 000000000..f68f468ee
--- /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 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
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 000000000..17a312459
--- /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 000000000..dadbc1499
--- /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 000000000..cffb56c1d
--- /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 000000000..765f4b328
--- /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 000000000..f006b3fb5
--- /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"
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]
2Description=Kernel Logging Service
3
4[Service]
5ExecStart=@base_sbindir@/klogd -n
6
7[Install]
8WantedBy=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]
2Description=System Logging Service
3Wants=busybox-klogd.service
4
5[Service]
6EnvironmentFile=-/etc/default/busybox-syslog
7ExecStart=@base_sbindir@/syslogd -n $OPTIONS
8Sockets=syslog.socket
9
10[Install]
11WantedBy=multi-user.target
12Also=busybox-klogd.service
13Alias=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 @@
1inherit systemd
2
3# look for files in the layer first
4FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
5
6SRC_URI += "file://busybox-syslog.service.in \
7 file://busybox-klogd.service.in"
8
9SYSTEMD_PACKAGES = "${PN}-syslog"
10SYSTEMD_SERVICE_${PN}-syslog = "busybox-syslog.service"
11
12do_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}
21FILES_${PN}-syslog += "${systemd_unitdir}/system/syslog.service"
22
23RPROVIDES_${PN}-syslog += "${PN}-syslog-systemd"
24RREPLACES_${PN}-syslog += "${PN}-syslog-systemd"
25RCONFLICTS_${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 @@
1RPROVIDES_${PN} += "${PN}-systemd"
2RREPLACES_${PN} += "${PN}-systemd"
3RCONFLICTS_${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]
2Conflicts=dropbear.service
3
4[Socket]
5ListenStream=22
6Accept=yes
7
8[Install]
9WantedBy=sockets.target
10Also=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]
2Description=SSH Per-Connection Server
3Requires=dropbearkey.service
4After=syslog.target dropbearkey.service
5
6[Service]
7EnvironmentFile=-/etc/default/dropbear
8ExecStart=-/usr/sbin/dropbear -i -r /etc/dropbear/dropbear_rsa_host_key -p 22 $DROPBEAR_EXTRA_ARGS
9ExecReload=/bin/kill -HUP $MAINPID
10StandardInput=socket
11KillMode=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]
2Description=SSH Key Generation
3ConditionPathExists=|!/etc/dropbear/dropbear_rsa_host_key
4
5[Service]
6ExecStart=/usr/sbin/dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key
7RemainAfterExit=yes
8
9[Install]
10WantedBy=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 @@
1inherit systemd
2
3# look for files in the layer first
4FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
5
6SRC_URI += "file://dropbearkey.service \
7 file://dropbear@.service \
8 file://dropbear.socket"
9
10RPROVIDES_${PN} += "${PN}-systemd"
11RREPLACES_${PN} += "${PN}-systemd"
12RCONFLICTS_${PN} += "${PN}-systemd"
13SYSTEMD_SERVICE_${PN} = "dropbear.socket"
14
15do_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 @@
1RPROVIDES_udev += "udev-systemd"
2RREPLACES_udev += "udev-systemd"
3RCONFLICTS_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 @@
1RPROVIDES_${PN} += "${PN}-systemd"
2RREPLACES_${PN} += "${PN}-systemd"
3RCONFLICTS_${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]
2Description=Job spooling tools
3After=syslog.target
4
5[Service]
6ExecStart=/usr/sbin/atd -f
7
8[Install]
9WantedBy=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 @@
1inherit systemd
2
3# look for files in the layer first
4FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
5
6SRC_URI += "file://atd.service"
7
8RPROVIDES_${PN} += "${PN}-systemd"
9RREPLACES_${PN} += "${PN}-systemd"
10RCONFLICTS_${PN} += "${PN}-systemd"
11SYSTEMD_SERVICE_${PN} = "atd.service"
12do_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]
2Description=Periodic Command Scheduler
3
4[Service]
5ExecStart=/usr/sbin/crond -n
6ExecReload=/bin/kill -HUP $MAINPID
7Restart=always
8
9[Install]
10WantedBy=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
2FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
3
4inherit systemd
5
6RPROVIDES_${PN} += "${PN}-systemd"
7RREPLACES_${PN} += "${PN}-systemd"
8RCONFLICTS_${PN} += "${PN}-systemd"
9SYSTEMD_SERVICE_${PN} = "crond.service"
10
11SRC_URI += "file://crond.service"
12
13do_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 @@
1RPROVIDES_${PN} += "${PN}-systemd"
2RREPLACES_${PN} += "${PN}-systemd"
3RCONFLICTS_${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
2do_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 @@
1RPROVIDES_${PN} += "${PN}-systemd"
2RREPLACES_${PN} += "${PN}-systemd"
3RCONFLICTS_${PN} += "${PN}-systemd"