]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 30 Mar 2023 11:32:22 +0000 (12:32 +0100)
commitf6cb63d3a871c4eef52d981131a56bf41aa1dcdf
tree8767eeb190797314e29e426653464d38d7c27184
parent7d00f6ec578084a0a0e5caf36241d53036d996c4
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>
meta/classes-global/package.bbclass