Message ID | 20230210064503.706699-2-felix.moessbauer@siemens.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | Rework image classes | expand |
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 --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"
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(+)