Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] systemd: change syntax for SRC_URI append
@ 2022-10-31 21:09 Peter Bergin
  2022-10-31 21:24 ` [OE-core] " Alexander Kanavin
  0 siblings, 1 reply; 8+ messages in thread
From: Peter Bergin @ 2022-10-31 21:09 UTC (permalink / raw)
  To: openembedded-core; +Cc: Peter Bergin

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 <peter@berginkonsult.se>
---
 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



^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-11-01  9:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-31 21:09 [PATCH] systemd: change syntax for SRC_URI append Peter Bergin
2022-10-31 21:24 ` [OE-core] " Alexander Kanavin
2022-10-31 21:32   ` Peter Bergin
2022-10-31 21:54     ` Alexander Kanavin
2022-11-01  8:12       ` Peter Bergin
2022-11-01  9:10         ` Alexander Kanavin
2022-11-01  9:34           ` Martin Jansa
2022-11-01  9:39           ` Mikko Rapeli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox