systemd-conf: renamed bbappend to match upstream poky zeus

Signed-off-by: Matthias Schoepfer <matthias.schoepfer@ithinx.io>
This commit is contained in:
Matthias Schoepfer authored and Christophe Priouzeau committed 2020-06-09 09:09:58 +02:00
1 parent e288613857
commit 0660d5d265
1 file changed
@@ -0,0 +1,9 @@
do_install_append_stm32mpcommon() {
# enable watchdog on systemd configuration
if ${@bb.utils.contains('MACHINE_FEATURES','watchdog','true','false',d)}; then
install -d ${D}${systemd_unitdir}/system.conf.d/
echo "[Manager]" > ${D}${systemd_unitdir}/system.conf.d/01-watchdog.conf
echo "RuntimeWatchdogSec=120" >> ${D}${systemd_unitdir}/system.conf.d/01-watchdog.conf
echo "ShutdownWatchdogSec=2min" >> ${D}${systemd_unitdir}/system.conf.d/01-watchdog.conf
fi
}