From: Josep Orga Date: Tue, 16 Nov 2021 17:34:11 +0000 (+0100) Subject: meta-somdevices: busybox: Changed syslog.conf file to store /var/log/somdevices.log... X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=33dd773cd04eb9e7d0c8e413b0c5d63d032806a7;p=meta-somdevices.git meta-somdevices: busybox: Changed syslog.conf file to store /var/log/somdevices.log for local0 facility. Signed-off-by: Josep Orga --- diff --git a/recipes-somdevices/busybox/busybox/syslog.conf b/recipes-somdevices/busybox/busybox/syslog.conf new file mode 100644 index 0000000..46a81bf --- /dev/null +++ b/recipes-somdevices/busybox/busybox/syslog.conf @@ -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 index 0000000..14dea8d --- /dev/null +++ b/recipes-somdevices/busybox/busybox_%.bbappend @@ -0,0 +1,10 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" +PR = "somdevices.0" +MAINTAINER = "SomDevices " + +SRC_URI += " file://syslog.conf \ +" + +do_install_append () { + install -m 0644 ${WORKDIR}/syslog.conf ${D}/etc/ +}