SYSTEMD: use generic bb file

Change-Id: Ie8f2934be96790b7b1e4cd94e8141421c64a480e
This commit is contained in:
Romuald JEANNE 2020-06-17 16:48:15 +02:00
parent 2338ba594d
commit 0789e57e89
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ do_install_append_stm32mpcommon() {
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 "RuntimeWatchdogSec=32" >> ${D}${systemd_unitdir}/system.conf.d/01-watchdog.conf
echo "ShutdownWatchdogSec=2min" >> ${D}${systemd_unitdir}/system.conf.d/01-watchdog.conf
fi
}