diff mbox series

[isar-cip-core,v2,1/5] register image classes via layer.conf

Message ID 20230210064503.706699-2-felix.moessbauer@siemens.com (mailing list archive)
State Superseded
Headers show
Series Rework image classes | expand

Commit Message

MOESSBAUER, Felix Feb. 10, 2023, 6:44 a.m. UTC
This patch registers the provided image classes via the bblayer.conf
file. By that, no manual additions of these classes via kas is required
and erronous implementations are detected early (e.g. mandatory inputs
without defaults).

Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
 conf/layer.conf | 2 ++
 1 file changed, 2 insertions(+)

Comments

MOESSBAUER, Felix Feb. 10, 2023, 8:29 a.m. UTC | #1
On Fri, 2023-02-10 at 09:18 +0100, Gylstorff Quirin wrote:
> 
> 
> On 2/10/23 07:44, Felix Moessbauer wrote:
> > This patch registers the provided image classes via the
> > bblayer.conf
> > file. By that, no manual additions of these classes via kas is
> > required
> > and erronous implementations are detected early (e.g. mandatory
> > inputs
> > without defaults).
> > 
> > Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
> > ---
> >   conf/layer.conf | 2 ++
> >   1 file changed, 2 insertions(+)
> > 
> > diff --git a/conf/layer.conf b/conf/layer.conf
> > index 0c5fd39..2c888b2 100644
> > --- a/conf/layer.conf
> > +++ b/conf/layer.conf
> > @@ -22,3 +22,5 @@ LAYERSERIES_COMPAT_cip-core = "next"
> >   
> >   LAYERDIR_cip-core = "${LAYERDIR}"
> >   LAYERDIR_cip-core[vardepvalue] = "isar-cip-core"
> > +
> > +IMAGE_CLASSES += "squashfs verity swupdate"
> The Class swupdate is only available after patch 2 if I see it
> correctly.
> Quirin

Why do you think so? The swupdate class existed before. I just moved
parts over to it, but the core logic has long been in the
swupdate.bbclass.

Felix
diff mbox series

Patch

diff --git a/conf/layer.conf b/conf/layer.conf
index 0c5fd39..2c888b2 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -22,3 +22,5 @@  LAYERSERIES_COMPAT_cip-core = "next"
 
 LAYERDIR_cip-core = "${LAYERDIR}"
 LAYERDIR_cip-core[vardepvalue] = "isar-cip-core"
+
+IMAGE_CLASSES += "squashfs verity swupdate"