From: Chen Qi Date: Thu, 15 Jan 2026 02:19:17 +0000 (+0800) Subject: systemd: do not let do_fetch depend on PACKAGECONFIG X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=587e5d5aad76fb18db8f671f1ae1fed5ef84422d;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git systemd: do not let do_fetch depend on PACKAGECONFIG It's unnecessary to make SRC_URI contains something like: ${@bb.utils.contains('PACKAGECONFIG', 'xxx', 'file://xxx', '', d)} This does not give us any benefit and it makes do_fetch depend on PACKAGECONFIG, which means changing of PACKAGECONFIG will result in rerunn of do_fetch. Besides, the related codes in do_install already does the necessary checks. Signed-off-by: Chen Qi Signed-off-by: Antonin Godard Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/systemd/systemd_258.1.bb b/meta/recipes-core/systemd/systemd_258.1.bb index 410396f308..41f1e756cb 100644 --- a/meta/recipes-core/systemd/systemd_258.1.bb +++ b/meta/recipes-core/systemd/systemd_258.1.bb @@ -21,8 +21,8 @@ REQUIRED_DISTRO_FEATURES += "systemd" SRC_URI += " \ file://touchscreen.rules \ file://00-create-volatile.conf \ - ${@bb.utils.contains('PACKAGECONFIG', 'polkit_hostnamed_fallback', 'file://org.freedesktop.hostname1_no_polkit.conf', '', d)} \ - ${@bb.utils.contains('PACKAGECONFIG', 'polkit_hostnamed_fallback', 'file://00-hostnamed-network-user.conf', '', d)} \ + file://org.freedesktop.hostname1_no_polkit.conf \ + file://00-hostnamed-network-user.conf \ file://init \ file://99-default.preset \ file://systemd-pager.sh \