1 FILESEXTRAPATHS:prepend := "${THISDIR}/systemd:"
5 file://wait-disable.conf \
9 # Enable networkd/resolved support if using systemd for network management
10 PACKAGECONFIG:append = " \
11 ${@bb.utils.contains('VIRTUAL-RUNTIME_net_manager','systemd','networkd resolved','',d)} \
15 # SPEC-737: connmand also has a NTP client which races with systemd-timesyncd
16 PACKAGECONFIG:remove = "timesyncd"
18 # Enable systemd-coredump when agl-devel is set on
19 PACKAGECONFIG:append:agl-devel = " coredump"
22 # Install /etc/e2fsck.conf to avoid boot stuck by wrong clock time
23 install -m 644 -p -D ${WORKDIR}/e2fsck.conf ${D}${sysconfdir}/e2fsck.conf
25 if [ "${VIRTUAL-RUNTIME_net_manager}" = "systemd" ]; then
26 # Install DHCP configuration for Ethernet adapters
27 install -m 644 ${WORKDIR}/wired.network ${D}${sysconfdir}/systemd/network
28 elif [ "${VIRTUAL-RUNTIME_net_manager}" = "connman" ]; then
29 # Disable systemd-networkd-wait-online by default
30 install -d ${D}${systemd_system_unitdir}/systemd-networkd-wait-online.service.d
31 install -m 0644 ${WORKDIR}/wait-disable.conf ${D}${systemd_system_unitdir}/systemd-networkd-wait-online.service.d/
35 FILES:${PN} += "${sysconfdir}/e2fsck.conf "