X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=AGL%2Fmeta-agl.git;a=blobdiff_plain;f=meta-agl%2Frecipes-core%2Fsystemd%2Fsystemd_%25.bbappend;h=96ca6c69d54b86cdae17f4a36203934b3eaa38d1;hp=29b7d1d7e0ad7fae92d681e87e20f70ef9337949;hb=f59c808ae7f7e02dced00d56ef2cbb0acc8a4eb1;hpb=602320cacf1d9edaaf77bf4dcb9d13ea0ea5146d diff --git a/meta-agl/recipes-core/systemd/systemd_%.bbappend b/meta-agl/recipes-core/systemd/systemd_%.bbappend index 29b7d1d7e..96ca6c69d 100644 --- a/meta-agl/recipes-core/systemd/systemd_%.bbappend +++ b/meta-agl/recipes-core/systemd/systemd_%.bbappend @@ -1,3 +1,17 @@ -# enable networkd support -PACKAGECONFIG_append_pn-systemd = " networkd" +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" +SRC_URI += "file://e2fsck.conf \ + file://wired.network \ + " + +# enable networkd/resolved support +PACKAGECONFIG_append_pn-systemd = " networkd resolved" + +do_install_append() { + # Install /etc/e2fsck.conf to avoid boot stuck by wrong clock time + install -m 644 -p -D ${WORKDIR}/e2fsck.conf ${D}${sysconfdir}/e2fsck.conf + # Install DHCP configuration for Ethernet adapters + install -m 644 ${WORKDIR}/wired.network ${D}${sysconfdir}/systemd/network +} + +FILES_${PN} += "${sysconfdir}/e2fsck.conf "