meta-somdevices: busybox: Changed syslog.conf file to store /var/log/somdevices.log...
authorJosep Orga <jorga@somdevices.com>
Tue, 16 Nov 2021 17:34:11 +0000 (18:34 +0100)
committerJosep Orga <jorga@somdevices.com>
Tue, 16 Nov 2021 17:34:11 +0000 (18:34 +0100)
Signed-off-by: Josep Orga <jorga@somdevices.com>
recipes-somdevices/busybox/busybox/syslog.conf [new file with mode: 0644]
recipes-somdevices/busybox/busybox_%.bbappend [new file with mode: 0644]

diff --git a/recipes-somdevices/busybox/busybox/syslog.conf b/recipes-somdevices/busybox/busybox/syslog.conf
new file mode 100644 (file)
index 0000000..46a81bf
--- /dev/null
@@ -0,0 +1,2 @@
+#  /etc/syslog.conf    Configuration file for busybox's syslogd utility
+local0.*                                             /var/log/somdevices.log
diff --git a/recipes-somdevices/busybox/busybox_%.bbappend b/recipes-somdevices/busybox/busybox_%.bbappend
new file mode 100644 (file)
index 0000000..14dea8d
--- /dev/null
@@ -0,0 +1,10 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+PR = "somdevices.0"
+MAINTAINER = "SomDevices <somdevices@somdevices.com>"
+
+SRC_URI += " file://syslog.conf \
+"
+
+do_install_append () {
+    install -m 0644 ${WORKDIR}/syslog.conf ${D}/etc/
+}