meta-somdevices: busybox: Changed syslog.conf file to store /var/log/somdevices.log...
authorJosep Orga <jorga@somdevices.com>
Fri, 16 Apr 2021 14:53:14 +0000 (16:53 +0200)
committerJosep Orga <jorga@somdevices.com>
Fri, 16 Apr 2021 14:53:14 +0000 (16:53 +0200)
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..c3b3452
--- /dev/null
@@ -0,0 +1,2 @@
+#  /etc/syslog.conf    Configuration file for busybox's syslogd utility
+local0.*                                             /var/log/somdevices.log
\ No newline at end of file
diff --git a/recipes-somdevices/busybox/busybox_%.bbappend b/recipes-somdevices/busybox/busybox_%.bbappend
new file mode 100644 (file)
index 0000000..e0ba4d1
--- /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/
+}
\ No newline at end of file