diff mbox series

[v2] license.bbclass: prefere plus singnal over append on IMAGE_CLASSES

Message ID 20231030185421.1950019-2-jose.quaresma@foundries.io
State New
Headers show
Series [v2] license.bbclass: prefere plus singnal over append on IMAGE_CLASSES | expand

Commit Message

Jose Quaresma Oct. 30, 2023, 6:54 p.m. UTC
The append override is much harder to remove so change that.

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
---

 v2: fix typo in 'change'

 meta/classes-global/license.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Fabio Estevam Oct. 30, 2023, 6:58 p.m. UTC | #1
On Mon, Oct 30, 2023 at 3:54 PM Jose Quaresma <quaresma.jose@gmail.com> wrote:
>
> The append override is much harder to remove so change that.
>
> Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
> ---
>
>  v2: fix typo in 'change'

There is another typo in the Subject in the word "signal".
diff mbox series

Patch

diff --git a/meta/classes-global/license.bbclass b/meta/classes-global/license.bbclass
index b2e0d3faba..b915d39acd 100644
--- a/meta/classes-global/license.bbclass
+++ b/meta/classes-global/license.bbclass
@@ -418,7 +418,7 @@  SSTATETASKS += "do_populate_lic"
 do_populate_lic[sstate-inputdirs] = "${LICSSTATEDIR}"
 do_populate_lic[sstate-outputdirs] = "${LICENSE_DIRECTORY}/"
 
-IMAGE_CLASSES:append = " license_image"
+IMAGE_CLASSES += "license_image"
 
 python do_populate_lic_setscene () {
     sstate_setscene(d)