]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
recipeutils: bbappend_recipe: remove old srcuri entry if parameters are different
authorJulien Stephan <jstephan@baylibre.com>
Tue, 5 Dec 2023 14:56:31 +0000 (15:56 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 6 Dec 2023 22:55:46 +0000 (22:55 +0000)
commita4628fffcfecb5cd95dc2558dfd39ebd71121eab
tree2c22c6ac579b325bfaf136fec5887b3e7fce9ced
parente7bc09e5c9d7a0f4f8f4eba40730b68857b00677
recipeutils: bbappend_recipe: remove old srcuri entry if parameters are different

Currently we do not add a new src_ury entry if the entry already exists
AND the parameters are the same.

I believe that when an entry already exist with different parameters,
we should remove it and add the new entry otherwise we end up with two
entries with different parameters

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/recipeutils.py