SYSTEMD: use generic bb file
Change-Id: Ie8f2934be96790b7b1e4cd94e8141421c64a480e
This commit is contained in:
1 parent
2338ba594d
commit
0789e57e89
1 file changed
+1
-1
+1
-1
@@ -3,7 +3,7 @@ do_install_append_stm32mpcommon() {
|
|||||||
if ${@bb.utils.contains('MACHINE_FEATURES','watchdog','true','false',d)}; then
|
if ${@bb.utils.contains('MACHINE_FEATURES','watchdog','true','false',d)}; then
|
||||||
install -d ${D}${systemd_unitdir}/system.conf.d/
|
install -d ${D}${systemd_unitdir}/system.conf.d/
|
||||||
echo "[Manager]" > ${D}${systemd_unitdir}/system.conf.d/01-watchdog.conf
|
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
|
echo "ShutdownWatchdogSec=2min" >> ${D}${systemd_unitdir}/system.conf.d/01-watchdog.conf
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user