diff options
Diffstat (limited to 'meta-phosphor/common/recipes-core')
-rw-r--r-- | meta-phosphor/common/recipes-core/systemd/systemd/shutdown-watchdog.conf | 15 | ||||
-rw-r--r-- | meta-phosphor/common/recipes-core/systemd/systemd_%.bbappend | 3 |
2 files changed, 18 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-core/systemd/systemd/shutdown-watchdog.conf b/meta-phosphor/common/recipes-core/systemd/systemd/shutdown-watchdog.conf new file mode 100644 index 000000000..a956f8374 --- /dev/null +++ b/meta-phosphor/common/recipes-core/systemd/systemd/shutdown-watchdog.conf @@ -0,0 +1,15 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. +# +# Entries in this file show the compile time defaults. +# You can change settings by editing this file. +# Defaults can be restored by simply deleting this file. +# +# See systemd-system.conf(5) for details. + +[Manager] +ShutdownWatchdogSec=20min diff --git a/meta-phosphor/common/recipes-core/systemd/systemd_%.bbappend b/meta-phosphor/common/recipes-core/systemd/systemd_%.bbappend index a93de86cc..5cc25db78 100644 --- a/meta-phosphor/common/recipes-core/systemd/systemd_%.bbappend +++ b/meta-phosphor/common/recipes-core/systemd/systemd_%.bbappend @@ -6,16 +6,19 @@ PACKAGECONFIG_remove = "machined hibernate ldconfig binfmt backlight localed \ quotacheck kdbus ima smack polkit logind bootchart utmp" FILESEXTRAPATHS_append := "${THISDIR}/${PN}:" SRC_URI += "file://default.network" +SRC_URI += "file://shutdown-watchdog.conf" SRC_URI += "file://0001-Export-message_append_cmdline.patch" SRC_URI += "file://0002-systemd-Make-pam-compile-shared-library.patch" RRECOMMENDS_${PN} += "obmc-targets" FILES_${PN} += "${libdir}/systemd/network/default.network" +FILES_${PN} += "${libdir}/systemd/system.conf.d/shutdown-watchdog.conf" EXTRA_OECONF += " --disable-hwdb" do_install_append() { install -m 644 ${WORKDIR}/default.network ${D}${libdir}/systemd/network/ + install -m 644 -D ${WORKDIR}/shutdown-watchdog.conf ${D}${libdir}/systemd/system.conf.d/shutdown-watchdog.conf #TODO Remove after this issue is resolved #https://github.com/openbmc/openbmc/issues/152 |