summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta-google/recipes-google/systemd/gbmc-systemd-config.bb5
-rw-r--r--meta-phosphor/recipes-core/systemd/systemd/40-hardware-watchdog.conf (renamed from meta-google/recipes-google/systemd/files/40-system.conf)1
-rw-r--r--meta-phosphor/recipes-core/systemd/systemd_%.bbappend13
3 files changed, 13 insertions, 6 deletions
diff --git a/meta-google/recipes-google/systemd/gbmc-systemd-config.bb b/meta-google/recipes-google/systemd/gbmc-systemd-config.bb
index feb023bebb..4a6f194740 100644
--- a/meta-google/recipes-google/systemd/gbmc-systemd-config.bb
+++ b/meta-google/recipes-google/systemd/gbmc-systemd-config.bb
@@ -11,14 +11,12 @@ SRC_URI:append = " \
file://firmware-updates.target \
file://firmware-updates-pre.target \
file://40-gbmc-forward.conf \
- file://40-system.conf \
file://40-gbmc-time.conf \
"
FILES:${PN}:append = " \
${systemd_unitdir}/coredump.conf.d/40-gbmc-coredump.conf \
${systemd_unitdir}/resolved.conf.d/40-gbmc-nomdns.conf \
- ${systemd_unitdir}/system.conf.d/40-system.conf \
${systemd_unitdir}/timesyncd.conf.d/40-gbmc-time.conf \
${libdir}/sysctl.d/40-gbmc-forward.conf \
"
@@ -49,9 +47,6 @@ do_install() {
install -d -m0755 ${D}${libdir}/sysctl.d
install -m 0644 ${WORKDIR}/40-gbmc-forward.conf ${D}${libdir}/sysctl.d/
- install -d -m 0755 ${D}${systemd_unitdir}/system.conf.d/
- install -D -m0644 ${WORKDIR}/40-system.conf ${D}${systemd_unitdir}/system.conf.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/
}
diff --git a/meta-google/recipes-google/systemd/files/40-system.conf b/meta-phosphor/recipes-core/systemd/systemd/40-hardware-watchdog.conf
index 19347e90aa..c323a22d7c 100644
--- a/meta-google/recipes-google/systemd/files/40-system.conf
+++ b/meta-phosphor/recipes-core/systemd/systemd/40-hardware-watchdog.conf
@@ -1,4 +1,3 @@
[Manager]
-DefaultMemoryAccounting=yes
RuntimeWatchdogSec=120s
WatchdogDevice=/dev/watchdog
diff --git a/meta-phosphor/recipes-core/systemd/systemd_%.bbappend b/meta-phosphor/recipes-core/systemd/systemd_%.bbappend
index 847d3248e5..eab2ad4cd5 100644
--- a/meta-phosphor/recipes-core/systemd/systemd_%.bbappend
+++ b/meta-phosphor/recipes-core/systemd/systemd_%.bbappend
@@ -25,6 +25,19 @@ FILES:${PN}-catalog-extralocales = "\
${exec_prefix}/lib/systemd/catalog/*.*.catalog \
"
+SRC_URI:append = " \
+ file://40-hardware-watchdog.conf \
+ "
+
+FILES:${PN}:append = " \
+ ${systemd_unitdir}/system.conf.d/40-hardware-watchdog.conf \
+ "
+
+do_install:append() {
+ install -d -m 0755 ${D}${systemd_unitdir}/system.conf.d/
+ install -m 0644 ${WORKDIR}/40-hardware-watchdog.conf ${D}${systemd_unitdir}/system.conf.d/
+}
+
# udev is added to the USERADD_PACKAGES due to some 'render' group
# being necessary to create for /dev/dri handling, which we don't
# have to worry about. A side-effect of this is udev would RDEPEND on