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=ef926953c09c37b91cfe630775e19a7447647c68;hp=29b7d1d7e0ad7fae92d681e87e20f70ef9337949;hb=91f7784cfd26ca7d26e1006d78c067e74c7dc92a;hpb=9dfddcc8bfc9ba13e24c264305f0cdc0194b38b8 diff --git a/meta-agl/recipes-core/systemd/systemd_%.bbappend b/meta-agl/recipes-core/systemd/systemd_%.bbappend index 29b7d1d7e..ef926953c 100644 --- a/meta-agl/recipes-core/systemd/systemd_%.bbappend +++ b/meta-agl/recipes-core/systemd/systemd_%.bbappend @@ -1,3 +1,13 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI += " file://e2fsck.conf " + # enable networkd support PACKAGECONFIG_append_pn-systemd = " networkd" +do_install_append() { + # Install /etc/e2fsck.conf to avoid boot stuck by wrong clock time + install -p -D ${WORKDIR}/e2fsck.conf ${D}/etc/e2fsck.conf +} + +FILES_${PN} += " /etc/e2fsck.conf "