From 33dd773cd04eb9e7d0c8e413b0c5d63d032806a7 Mon Sep 17 00:00:00 2001 From: Josep Orga Date: Tue, 16 Nov 2021 18:34:11 +0100 Subject: [PATCH] meta-somdevices: busybox: Changed syslog.conf file to store /var/log/somdevices.log for local0 facility. Signed-off-by: Josep Orga --- recipes-somdevices/busybox/busybox/syslog.conf | 2 ++ recipes-somdevices/busybox/busybox_%.bbappend | 10 ++++++++++ 2 files changed, 12 insertions(+) create mode 100644 recipes-somdevices/busybox/busybox/syslog.conf create mode 100644 recipes-somdevices/busybox/busybox_%.bbappend 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/ +} -- 2.17.1