Skip to content

Instantly share code, notes, and snippets.

@avinash-palleti
Created May 22, 2017 08:34
Show Gist options
  • Select an option

  • Save avinash-palleti/056616b0bbe50f8b27ec24ca2505b3df to your computer and use it in GitHub Desktop.

Select an option

Save avinash-palleti/056616b0bbe50f8b27ec24ca2505b3df to your computer and use it in GitHub Desktop.
diff
diff --git a/recipes-core/busybox/busybox/fragment.cfg b/recipes-core/busybox/busybox/fragment.cfg
new file mode 100644
index 0000000..ea60d95
--- /dev/null
+++ b/recipes-core/busybox/busybox/fragment.cfg
@@ -0,0 +1,14 @@
+# Mon May 22 10:31:17 2017
+# CONFIG_SYSLOGD is not set
+# CONFIG_FEATURE_ROTATE_LOGFILE is not set
+# CONFIG_FEATURE_REMOTE_LOG is not set
+# CONFIG_FEATURE_SYSLOGD_DUP is not set
+# CONFIG_FEATURE_SYSLOGD_CFG is not set
+CONFIG_FEATURE_SYSLOGD_READ_BUFFER_SIZE=0
+# CONFIG_FEATURE_IPC_SYSLOG is not set
+CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=0
+# CONFIG_LOGREAD is not set
+# CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING is not set
+# CONFIG_FEATURE_KMSG_SYSLOG is not set
+# CONFIG_KLOGD is not set
+# CONFIG_FEATURE_KLOGD_KLOGCTL is not set
diff --git a/recipes-core/busybox/busybox_%.bbappend b/recipes-core/busybox/busybox_%.bbappend
new file mode 100644
index 0000000..fba693e
--- /dev/null
+++ b/recipes-core/busybox/busybox_%.bbappend
@@ -0,0 +1,4 @@
+SRC_URI += "file://fragment.cfg;subdir=busybox-1.24.1"
+
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
diff --git a/recipes-core/systemd/systemd_%.bbappend b/recipes-core/systemd/systemd_%.bbappend
index 48a6d7e..d491a37 100644
--- a/recipes-core/systemd/systemd_%.bbappend
+++ b/recipes-core/systemd/systemd_%.bbappend
@@ -6,4 +6,5 @@ SRC_URI += "file://99-usb0.network"
do_install_append() {
install -D -m 0644 ${WORKDIR}/99-usb0.network ${D}${sysconfdir}/systemd/network/99-usb0.network
+ sed -i -e 's/ForwardToSyslog=yes/#ForwardToSyslog=yes/' ${D}${sysconfdir}/systemd/journald.conf
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment