summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-core/systemd/systemd_257.1.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-core/systemd/systemd_257.1.bb b/meta/recipes-core/systemd/systemd_257.1.bb
index 170c54f6c9..9f9c83a7c3 100644
--- a/meta/recipes-core/systemd/systemd_257.1.bb
+++ b/meta/recipes-core/systemd/systemd_257.1.bb
@@ -245,7 +245,6 @@ EXTRA_OEMESON += "-Dnobody-user=nobody \
245 -Dsystem-uid-max=999 \ 245 -Dsystem-uid-max=999 \
246 -Dsystem-alloc-gid-min=101 \ 246 -Dsystem-alloc-gid-min=101 \
247 -Dsystem-gid-max=999 \ 247 -Dsystem-gid-max=999 \
248 -Dcreate-log-dirs=false \
249 ${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', '-Ddefault-mdns=no -Ddefault-llmnr=no', '', d)} \ 248 ${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', '-Ddefault-mdns=no -Ddefault-llmnr=no', '', d)} \
250 " 249 "
251 250
@@ -394,6 +393,10 @@ do_install() {
394 # Actively disable Predictable Network Interface Names 393 # Actively disable Predictable Network Interface Names
395 sed -i 's/^NamePolicy=.*/NamePolicy=/;s/^AlternativeNamesPolicy=.*/AlternativeNamesPolicy=/' ${D}${nonarch_libdir}/systemd/network/99-default.link 394 sed -i 's/^NamePolicy=.*/NamePolicy=/;s/^AlternativeNamesPolicy=.*/AlternativeNamesPolicy=/' ${D}${nonarch_libdir}/systemd/network/99-default.link
396 fi 395 fi
396
397 if [ -e ${D}${nonarch_libdir}/tmpfiles.d/legacy.conf ];then
398 sed -i -e '/^L \/var\/log\/README/d' ${D}${nonarch_libdir}/tmpfiles.d/legacy.conf
399 fi
397} 400}
398 401
399python populate_packages:prepend (){ 402python populate_packages:prepend (){