All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] cockpit-machines: move to dynamic layer for meta-webserver
@ 2026-03-10 13:58 martin.jansa
  2026-03-10 13:58 ` [PATCH 2/2] example-xen-guest-bundle: require xen and x11 in DISTRO_FEATURES martin.jansa
  2026-03-10 22:38 ` [meta-virtualization] [PATCH 1/2] cockpit-machines: move to dynamic layer for meta-webserver Bruce Ashfield
  0 siblings, 2 replies; 7+ messages in thread
From: martin.jansa @ 2026-03-10 13:58 UTC (permalink / raw)
  To: meta-virtualization; +Cc: Martin Jansa

From: Martin Jansa <martin.jansa@gmail.com>

it depends on cockpit recipe from there, fixes:
ERROR: Nothing PROVIDES 'cockpit' (but meta-virtualization/recipes-extended/cockpit-machines/cockpit-machines_346.bb DEPENDS on or otherwise requires it)
in bitbake world builds

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
---
 conf/layer.conf                                                 | 2 ++
 .../recipes-extended}/cockpit-machines/cockpit-machines_346.bb  | 0
 2 files changed, 2 insertions(+)
 rename {recipes-extended => dynamic-layers/webserver/recipes-extended}/cockpit-machines/cockpit-machines_346.bb (100%)

diff --git a/conf/layer.conf b/conf/layer.conf
index 6eadc87f..a0f13f01 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -16,6 +16,8 @@ BBFILES_DYNAMIC += " \
     raspberrypi:${LAYERDIR}/dynamic-layers/raspberrypi/*/*/*.bbappend \
     xilinx:${LAYERDIR}/dynamic-layers/xilinx/*/*/*.bb \
     xilinx:${LAYERDIR}/dynamic-layers/xilinx/*/*/*.bbappend \
+    webserver:${LAYERDIR}/dynamic-layers/webserver/*/*/*.bb \
+    webserver:${LAYERDIR}/dynamic-layers/webserver/*/*/*.bbappend \
 "
 
 # This should only be incremented on significant changes that will
diff --git a/recipes-extended/cockpit-machines/cockpit-machines_346.bb b/dynamic-layers/webserver/recipes-extended/cockpit-machines/cockpit-machines_346.bb
similarity index 100%
rename from recipes-extended/cockpit-machines/cockpit-machines_346.bb
rename to dynamic-layers/webserver/recipes-extended/cockpit-machines/cockpit-machines_346.bb


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 2/2] example-xen-guest-bundle: require xen and x11 in DISTRO_FEATURES
  2026-03-10 13:58 [PATCH 1/2] cockpit-machines: move to dynamic layer for meta-webserver martin.jansa
@ 2026-03-10 13:58 ` martin.jansa
  2026-03-10 14:04   ` [meta-virtualization] " Bruce Ashfield
  2026-03-10 22:38 ` [meta-virtualization] [PATCH 1/2] cockpit-machines: move to dynamic layer for meta-webserver Bruce Ashfield
  1 sibling, 1 reply; 7+ messages in thread
From: martin.jansa @ 2026-03-10 13:58 UTC (permalink / raw)
  To: meta-virtualization; +Cc: Martin Jansa

From: Martin Jansa <martin.jansa@gmail.com>

to match the image recipe from XEN_GUEST_BUNDLES

Fixes:
ERROR: Nothing PROVIDES 'xen-guest-image-minimal'
xen-guest-image-minimal was skipped: using DISTRO 'distro', which is missing required DISTRO_FEATURES: 'xen'
in bitbake world builds

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
---
 .../xen-guest-bundles/example-xen-guest-bundle_1.0.bb        | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/recipes-extended/xen-guest-bundles/example-xen-guest-bundle_1.0.bb b/recipes-extended/xen-guest-bundles/example-xen-guest-bundle_1.0.bb
index 96e17275..70f12492 100644
--- a/recipes-extended/xen-guest-bundles/example-xen-guest-bundle_1.0.bb
+++ b/recipes-extended/xen-guest-bundles/example-xen-guest-bundle_1.0.bb
@@ -26,7 +26,10 @@ DESCRIPTION = "Demonstrates xen-guest-bundle.bbclass by bundling the \
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
 
-inherit xen-guest-bundle
+inherit xen-guest-bundle features_check
+
+# matches xen-guest-image-minimal recipe
+REQUIRED_DISTRO_FEATURES += "${@bb.utils.contains('IMAGE_FEATURES', 'x11', ' x11', '', d)} xen"
 
 # Define guests to bundle
 # Format: recipe-name[:autostart][:external]


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [meta-virtualization] [PATCH 2/2] example-xen-guest-bundle: require xen and x11 in DISTRO_FEATURES
  2026-03-10 13:58 ` [PATCH 2/2] example-xen-guest-bundle: require xen and x11 in DISTRO_FEATURES martin.jansa
@ 2026-03-10 14:04   ` Bruce Ashfield
  2026-03-10 15:22     ` Martin Jansa
  0 siblings, 1 reply; 7+ messages in thread
From: Bruce Ashfield @ 2026-03-10 14:04 UTC (permalink / raw)
  To: martin.jansa; +Cc: meta-virtualization

[-- Attachment #1: Type: text/plain, Size: 2281 bytes --]

On Tue, Mar 10, 2026 at 9:58 AM Martin Jansa via lists.yoctoproject.org
<martin.jansa=gmail.com@lists.yoctoproject.org> wrote:

> From: Martin Jansa <martin.jansa@gmail.com>
>
> to match the image recipe from XEN_GUEST_BUNDLES
>
> Fixes:
> ERROR: Nothing PROVIDES 'xen-guest-image-minimal'
> xen-guest-image-minimal was skipped: using DISTRO 'distro', which is
> missing required DISTRO_FEATURES: 'xen'
> in bitbake world builds
>

I was quite literally just doing this!

But your patch is where I wanted it (versus the bbclass one I got earlier),
so I'll just grab this instead.

Bruce


> Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
> ---
>  .../xen-guest-bundles/example-xen-guest-bundle_1.0.bb        | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/recipes-extended/xen-guest-bundles/
> example-xen-guest-bundle_1.0.bb b/recipes-extended/xen-guest-bundles/
> example-xen-guest-bundle_1.0.bb
> index 96e17275..70f12492 100644
> --- a/recipes-extended/xen-guest-bundles/example-xen-guest-bundle_1.0.bb
> +++ b/recipes-extended/xen-guest-bundles/example-xen-guest-bundle_1.0.bb
> @@ -26,7 +26,10 @@ DESCRIPTION = "Demonstrates xen-guest-bundle.bbclass by
> bundling the \
>  LICENSE = "MIT"
>  LIC_FILES_CHKSUM =
> "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
>
> -inherit xen-guest-bundle
> +inherit xen-guest-bundle features_check
> +
> +# matches xen-guest-image-minimal recipe
> +REQUIRED_DISTRO_FEATURES += "${@bb.utils.contains('IMAGE_FEATURES',
> 'x11', ' x11', '', d)} xen"
>
>  # Define guests to bundle
>  # Format: recipe-name[:autostart][:external]
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#9634):
> https://lists.yoctoproject.org/g/meta-virtualization/message/9634
> Mute This Topic: https://lists.yoctoproject.org/mt/118241118/1050810
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [
> bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>

-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II

[-- Attachment #2: Type: text/html, Size: 4547 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [meta-virtualization] [PATCH 2/2] example-xen-guest-bundle: require xen and x11 in DISTRO_FEATURES
  2026-03-10 14:04   ` [meta-virtualization] " Bruce Ashfield
@ 2026-03-10 15:22     ` Martin Jansa
  0 siblings, 0 replies; 7+ messages in thread
From: Martin Jansa @ 2026-03-10 15:22 UTC (permalink / raw)
  To: Bruce Ashfield; +Cc: meta-virtualization

On Tue, Mar 10, 2026 at 3:04 PM Bruce Ashfield <bruce.ashfield@gmail.com> wrote:
>
>
>
> On Tue, Mar 10, 2026 at 9:58 AM Martin Jansa via lists.yoctoproject.org <martin.jansa=gmail.com@lists.yoctoproject.org> wrote:
>>
>> From: Martin Jansa <martin.jansa@gmail.com>
>>
>> to match the image recipe from XEN_GUEST_BUNDLES
>>
>> Fixes:
>> ERROR: Nothing PROVIDES 'xen-guest-image-minimal'
>> xen-guest-image-minimal was skipped: using DISTRO 'distro', which is missing required DISTRO_FEATURES: 'xen'
>> in bitbake world builds
>
>
> I was quite literally just doing this!
>
> But your patch is where I wanted it (versus the bbclass one I got earlier), so I'll just grab this instead.

Cool, I was wondering whether to add it in the bbclass, but as there
weren't any other XEN_GUEST_BUNDLES examples I've added it to recipe
and now I'm glad I did :).


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [meta-virtualization] [PATCH 1/2] cockpit-machines: move to dynamic layer for meta-webserver
  2026-03-10 13:58 [PATCH 1/2] cockpit-machines: move to dynamic layer for meta-webserver martin.jansa
  2026-03-10 13:58 ` [PATCH 2/2] example-xen-guest-bundle: require xen and x11 in DISTRO_FEATURES martin.jansa
@ 2026-03-10 22:38 ` Bruce Ashfield
  2026-03-11  6:21   ` Martin Jansa
  1 sibling, 1 reply; 7+ messages in thread
From: Bruce Ashfield @ 2026-03-10 22:38 UTC (permalink / raw)
  To: martin.jansa; +Cc: meta-virtualization

In message: [meta-virtualization] [PATCH 1/2] cockpit-machines: move to dynamic layer for meta-webserver
on 10/03/2026 Martin Jansa via lists.yoctoproject.org wrote:

> From: Martin Jansa <martin.jansa@gmail.com>
> 
> it depends on cockpit recipe from there, fixes:
> ERROR: Nothing PROVIDES 'cockpit' (but meta-virtualization/recipes-extended/cockpit-machines/cockpit-machines_346.bb DEPENDS on or otherwise requires it)
> in bitbake world builds

I guess alternatively, could a skiprecipe be raised if webserver
isn't in the collections ?

Or meta-weberver becomes a dependency (which I do not want).

Bruce

> 
> Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
> ---
>  conf/layer.conf                                                 | 2 ++
>  .../recipes-extended}/cockpit-machines/cockpit-machines_346.bb  | 0
>  2 files changed, 2 insertions(+)
>  rename {recipes-extended => dynamic-layers/webserver/recipes-extended}/cockpit-machines/cockpit-machines_346.bb (100%)
> 
> diff --git a/conf/layer.conf b/conf/layer.conf
> index 6eadc87f..a0f13f01 100644
> --- a/conf/layer.conf
> +++ b/conf/layer.conf
> @@ -16,6 +16,8 @@ BBFILES_DYNAMIC += " \
>      raspberrypi:${LAYERDIR}/dynamic-layers/raspberrypi/*/*/*.bbappend \
>      xilinx:${LAYERDIR}/dynamic-layers/xilinx/*/*/*.bb \
>      xilinx:${LAYERDIR}/dynamic-layers/xilinx/*/*/*.bbappend \
> +    webserver:${LAYERDIR}/dynamic-layers/webserver/*/*/*.bb \
> +    webserver:${LAYERDIR}/dynamic-layers/webserver/*/*/*.bbappend \
>  "
>  
>  # This should only be incremented on significant changes that will
> diff --git a/recipes-extended/cockpit-machines/cockpit-machines_346.bb b/dynamic-layers/webserver/recipes-extended/cockpit-machines/cockpit-machines_346.bb
> similarity index 100%
> rename from recipes-extended/cockpit-machines/cockpit-machines_346.bb
> rename to dynamic-layers/webserver/recipes-extended/cockpit-machines/cockpit-machines_346.bb

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#9633): https://lists.yoctoproject.org/g/meta-virtualization/message/9633
> Mute This Topic: https://lists.yoctoproject.org/mt/118241115/1050810
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [meta-virtualization] [PATCH 1/2] cockpit-machines: move to dynamic layer for meta-webserver
  2026-03-10 22:38 ` [meta-virtualization] [PATCH 1/2] cockpit-machines: move to dynamic layer for meta-webserver Bruce Ashfield
@ 2026-03-11  6:21   ` Martin Jansa
  2026-03-11 13:08     ` Bruce Ashfield
  0 siblings, 1 reply; 7+ messages in thread
From: Martin Jansa @ 2026-03-11  6:21 UTC (permalink / raw)
  To: Bruce Ashfield; +Cc: meta-virtualization

On Tue, Mar 10, 2026 at 11:38 PM Bruce Ashfield
<bruce.ashfield@gmail.com> wrote:
>
> In message: [meta-virtualization] [PATCH 1/2] cockpit-machines: move to dynamic layer for meta-webserver
> on 10/03/2026 Martin Jansa via lists.yoctoproject.org wrote:
>
> > From: Martin Jansa <martin.jansa@gmail.com>
> >
> > it depends on cockpit recipe from there, fixes:
> > ERROR: Nothing PROVIDES 'cockpit' (but meta-virtualization/recipes-extended/cockpit-machines/cockpit-machines_346.bb DEPENDS on or otherwise requires it)
> > in bitbake world builds
>
> I guess alternatively, could a skiprecipe be raised if webserver
> isn't in the collections ?

That would work as well, but dynamic layers looked better to me, your call.

> Or meta-weberver becomes a dependency (which I do not want).

It's also already listed in LAYERRECOMMENDS_virtualization-layer which
seems enough for this optional recipe (I don't even know what cockpit
recipe is, I've seen it for first time in the error message :)).

Cheers,


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [meta-virtualization] [PATCH 1/2] cockpit-machines: move to dynamic layer for meta-webserver
  2026-03-11  6:21   ` Martin Jansa
@ 2026-03-11 13:08     ` Bruce Ashfield
  0 siblings, 0 replies; 7+ messages in thread
From: Bruce Ashfield @ 2026-03-11 13:08 UTC (permalink / raw)
  To: Martin Jansa; +Cc: meta-virtualization

[-- Attachment #1: Type: text/plain, Size: 1615 bytes --]

On Wed, Mar 11, 2026 at 2:21 AM Martin Jansa <martin.jansa@gmail.com> wrote:

> On Tue, Mar 10, 2026 at 11:38 PM Bruce Ashfield
> <bruce.ashfield@gmail.com> wrote:
> >
> > In message: [meta-virtualization] [PATCH 1/2] cockpit-machines: move to
> dynamic layer for meta-webserver
> > on 10/03/2026 Martin Jansa via lists.yoctoproject.org wrote:
> >
> > > From: Martin Jansa <martin.jansa@gmail.com>
> > >
> > > it depends on cockpit recipe from there, fixes:
> > > ERROR: Nothing PROVIDES 'cockpit' (but
> meta-virtualization/recipes-extended/cockpit-machines/
> cockpit-machines_346.bb DEPENDS on or otherwise requires it)
> > > in bitbake world builds
> >
> > I guess alternatively, could a skiprecipe be raised if webserver
> > isn't in the collections ?
>
> That would work as well, but dynamic layers looked better to me, your call.
>

I'll ponder it.

I'm just thinking that I'll forget about ever upgrading it if it isn't
where I can
see it (it is important to recognize one's limitations :)) .. but since it
was
a contribution, hopefully the contributor would send me those updates
anyway.



>
> > Or meta-weberver becomes a dependency (which I do not want).
>
> It's also already listed in LAYERRECOMMENDS_virtualization-layer which
> seems enough for this optional recipe (I don't even know what cockpit
> recipe is, I've seen it for first time in the error message :)).
>
>
Agreed.

Bruce



> Cheers,
>


-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II

[-- Attachment #2: Type: text/html, Size: 3356 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-03-11 13:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-10 13:58 [PATCH 1/2] cockpit-machines: move to dynamic layer for meta-webserver martin.jansa
2026-03-10 13:58 ` [PATCH 2/2] example-xen-guest-bundle: require xen and x11 in DISTRO_FEATURES martin.jansa
2026-03-10 14:04   ` [meta-virtualization] " Bruce Ashfield
2026-03-10 15:22     ` Martin Jansa
2026-03-10 22:38 ` [meta-virtualization] [PATCH 1/2] cockpit-machines: move to dynamic layer for meta-webserver Bruce Ashfield
2026-03-11  6:21   ` Martin Jansa
2026-03-11 13:08     ` Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.