Hi Alex,

On 2022-10-31 22:24, Alexander Kanavin wrote:
On Mon, 31 Oct 2022 at 22:09, Peter Bergin <pe...@berginkonsult.se> wrote:
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.
Sorry but overriding these three things in a bbappend is a horrible
idea, and should not be done. Copy and tweak the whole recipe please.

Sure, I can do that. My aim for override those in a bbappend is just for development purposes and nothing I plan to use in production or push in public. My way of working when I realized this was to build latest master of systemd that had a bunch of patches that I would like to test. To do that I needed to change git repo to systemd.git. When tested I plan to backport relevant patches that I need to add to current systemd version in oe-core to my local layer until next systemd release. Then I thought this could simplify things for more people. But I'm fine if this is not accepted for upstream and I can work around that.

Best regards,
/Peter


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#172339): 
https://lists.openembedded.org/g/openembedded-core/message/172339
Mute This Topic: https://lists.openembedded.org/mt/94696056/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to