distro/images/ramdisk-minimal: Add systemd-config to handle watchdog

The watchdog is enabled by the NRSW u-boot so we need to handle it in
linux otherwise it restarts the system.

id:413752
This commit is contained in:
Alexandre Bard 2023-08-07 17:08:24 +02:00
parent bb082fbba6
commit afa2da3bd1
4 changed files with 6 additions and 0 deletions

View File

@ -34,6 +34,8 @@ DISTRO_FEATURES_BACKFILL_CONSIDERED = "ldconfig pulseaudio gobject-introspection
DISTRO_FEATURES:remove = "ptest virtualization"
PACKAGECONFIG:pn-systemd = "usrmerge rfkill kmod timedated vconsole"
# systemd-conf provides a packageconfig for a default dhcp client that we don't need
PACKAGECONFIG:pn-systemd-conf = ""
PACKAGECONFIG:pn-networkmanager = "systemd nss gnutls wifi bluez5 nmcli"
PACKAGECONFIG:pn-bluez5 = "systemd udev"

View File

@ -14,4 +14,5 @@ COREOS_IMAGE_GENERATE_SWU = "0"
IMAGE_INSTALL:append = " \
networkmanager-nmcli \
systemd-conf \
"

View File

@ -0,0 +1,2 @@
[Manager]
RuntimeWatchdogSec=30s

View File

@ -0,0 +1 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"