From: Chen Qi <[email protected]> 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 <[email protected]> --- meta/recipes-core/systemd/systemd_258.1.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 \ -- 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#229381): https://lists.openembedded.org/g/openembedded-core/message/229381 Mute This Topic: https://lists.openembedded.org/mt/117273304/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
