From 3658279ab4cabeb107e560314b3ce01ac01bf035 Mon Sep 17 00:00:00 2001 From: Josep Orga Date: Fri, 16 Apr 2021 16:53:14 +0200 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..c3b3452 --- /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 \ No newline at end of file diff --git a/recipes-somdevices/busybox/busybox_%.bbappend b/recipes-somdevices/busybox/busybox_%.bbappend new file mode 100644 index 0000000..e0ba4d1 --- /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/ +} \ No newline at end of file -- 2.17.1