meta-google: gbmc-systemd-config: Enable dumping all cores

Change-Id: I634dc095e0ef6602c67192e8ce7424716ef7e2dd
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/meta-google/recipes-google/systemd/files/40-gbmc-sysctl.conf b/meta-google/recipes-google/systemd/files/40-gbmc-sysctl.conf
new file mode 100644
index 0000000..ee4b485
--- /dev/null
+++ b/meta-google/recipes-google/systemd/files/40-gbmc-sysctl.conf
@@ -0,0 +1 @@
+kernel.oops_all_cpu_backtrace = 1
diff --git a/meta-google/recipes-google/systemd/gbmc-systemd-config.bb b/meta-google/recipes-google/systemd/gbmc-systemd-config.bb
index 68052e9..1e6ce2e 100644
--- a/meta-google/recipes-google/systemd/gbmc-systemd-config.bb
+++ b/meta-google/recipes-google/systemd/gbmc-systemd-config.bb
@@ -12,6 +12,7 @@
   file://firmware-updates-pre.target \
   file://gbmc-log-ramoops.service \
   file://40-gbmc-forward.conf \
+  file://40-gbmc-sysctl.conf \
   file://40-gbmc-time.conf \
   "
 
@@ -19,6 +20,7 @@
   ${systemd_unitdir}/coredump.conf.d/40-gbmc-coredump.conf \
   ${systemd_unitdir}/resolved.conf.d/40-gbmc-nomdns.conf \
   ${systemd_unitdir}/timesyncd.conf.d/40-gbmc-time.conf \
+  ${libdir}/sysctl.d/40-gbmc-sysctl.conf \
   ${libdir}/sysctl.d/40-gbmc-forward.conf \
   "
 
@@ -53,6 +55,7 @@
 
   install -d -m0755 ${D}${libdir}/sysctl.d
   install -m 0644 ${WORKDIR}/40-gbmc-forward.conf ${D}${libdir}/sysctl.d/
+  install -m 0644 ${WORKDIR}/40-gbmc-sysctl.conf ${D}${libdir}/sysctl.d/
 
   install -d -m 0755 ${D}${systemd_unitdir}/timesyncd.conf.d/
   install -D -m0644 ${WORKDIR}/40-gbmc-time.conf ${D}${systemd_unitdir}/timesyncd.conf.d/