]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
package.bbclass: check packages name conflict in do_package
authorFawzi KHABER <fawzi.khaber@smile.fr>
Wed, 29 Mar 2023 08:57:56 +0000 (10:57 +0200)
committerSteve Sakoman <steve@sakoman.com>
Wed, 5 Apr 2023 16:24:00 +0000 (06:24 -1000)
commitc6cdb13c8cf31dd2613817b0dab9599f77f59921
treef50677d7fa79f1b4eb6aa1eb6bb6e7f0b6405525
parent8362859236d7b9f312f2d36f2437f4abbdeb5716
package.bbclass: check packages name conflict in do_package

It is possible to rename packages with the macro PKG:${PN} and result in
a package name conflict if the target name exists already.

Add a fatal check to prevent this issue to go unnoticed.

Fix [Yocto #12060]

Reviewed-by: Yoann CONGAL <yoann.congal@smile.fr>
Signed-off-by: Fawzi KHABER <fawzi.khaber@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f6cb63d3a871c4eef52d981131a56bf41aa1dcdf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes-global/package.bbclass