In order to be able to override the git repo used in a bbappend file the additions of files to SRC_URI needs to be done with :append instead of +=, otherwise those will not be added.
My use case for this change is to try to build latest systemd that is located in another repo than the one used by the recipe (systemd.git instead of systemd-stable.git). With this change this is possible to do by having SRC_URI, SRCREV and SRCBRANCH in a bbappend. Signed-off-by: Peter Bergin <[email protected]> --- meta/recipes-core/systemd/systemd_251.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/systemd/systemd_251.4.bb b/meta/recipes-core/systemd/systemd_251.4.bb index 87668cadc7..f6c9640823 100644 --- a/meta/recipes-core/systemd/systemd_251.4.bb +++ b/meta/recipes-core/systemd/systemd_251.4.bb @@ -14,7 +14,7 @@ inherit useradd pkgconfig meson perlnative update-rc.d update-alternatives qemu # that we don't build both udev and systemd in world builds. REQUIRED_DISTRO_FEATURES = "systemd" -SRC_URI += " \ +SRC_URI:append = " \ file://touchscreen.rules \ file://00-create-volatile.conf \ ${@bb.utils.contains('PACKAGECONFIG', 'polkit_hostnamed_fallback', 'file://org.freedesktop.hostname1_no_polkit.conf', '', d)} \ -- 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#172335): https://lists.openembedded.org/g/openembedded-core/message/172335 Mute This Topic: https://lists.openembedded.org/mt/94696056/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
