diff --git a/meta/recipes-core/systemd/systemd_255.13.bb b/meta/recipes-core/systemd/systemd_255.13.bb index fa3ad1d2cd..8f5170929f 100644 --- a/meta/recipes-core/systemd/systemd_255.13.bb +++ b/meta/recipes-core/systemd/systemd_255.13.bb @@ -248,7 +248,6 @@ EXTRA_OEMESON += "-Dnobody-user=nobody \ -Dsystem-uid-max=999 \ -Dsystem-alloc-gid-min=101 \ -Dsystem-gid-max=999 \ - -Dcreate-log-dirs=false \ ${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', '-Ddefault-mdns=no -Ddefault-llmnr=no', '', d)} \ " @@ -401,6 +400,10 @@ do_install() { sed -i '/AlternativeNamesPolicy=/s/$/ mac/' ${D}${rootlibexecdir}/systemd/network/99-default.link fi fi + + if [ -e ${D}${nonarch_libdir}/tmpfiles.d/legacy.conf ];then + sed -i -e '/^L \/var\/log\/README/d' ${D}${nonarch_libdir}/tmpfiles.d/legacy.conf + fi } python populate_packages:prepend (){