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

This commit is contained in:
Alexandre Bard 2023-08-07 17:08:24 +02:00
parent 375fad72ec
commit 0c5aba38fa
4 changed files with 10 additions and 0 deletions

View File

@ -34,5 +34,6 @@ DISTRO_FEATURES_BACKFILL_CONSIDERED = "ldconfig pulseaudio gobject-introspection
DISTRO_FEATURES:remove = "ptest virtualization"
PACKAGECONFIG:pn-systemd = "usrmerge rfkill kmod timedated vconsole"
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,6 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
do_install:append() {
# Remove default network configurations
rm -rf ${D}${systemd_unitdir}/network
}