cockpit-machines: move to dynamic layer for meta-webserver
PATCH 1/2 cockpit-machines: move to dynamic layer for meta-webserver
From: Martin Jansa <[email protected]>
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
---
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%)conf/layer.conf +2 -0
@@ -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
dynamic-layers/webserver/recipes-extended/cockpit-machines/cockpit-machines_346.bb renamed from recipes-extended/cockpit-machines/cockpit-machines_346.bb +0 -0
PATCH 2/2 example-xen-guest-bundle: require xen and x11 in DISTRO_FEATURES
From: Martin Jansa <[email protected]>
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
--- .../xen-guest-bundles/example-xen-guest-bundle_1.0.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
recipes-extended/xen-guest-bundles/example-xen-guest-bundle_1.0.bb +4 -1
@@ -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]
Re: [meta-virtualization] [PATCH 2/2] example-xen-guest-bundle: require xen and x11 in DISTRO_FEATURES
Quoted 10 lines · Martin Jansa via lists.yoctoproject.org
From: Martin Jansa <[email protected]>
to match the image recipe from
XEN_GUEST_BUNDLESFixes:
ERROR: Nothing PROVIDES 'xen-guest-image-minimal' xen-guest-image-minimal was skipped: using DISTRO 'distro', which is missing requiredDISTRO_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
Quoted 38 lines
Signed-off-by Martin Jansa <[email protected]>--- .../xen-guest-bundles/example-xen-guest-bundle_1.0.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)(quoted diff) +0
-0example-xen-guest-bundle_1.0.bb b/recipes-extended/xen-guest-bundles/ example-xen-guest-bundle_1.0.bb
index96e17275..70f12492100644recipes-extended/xen-guest-bundles/example-xen-guest-bundle_1.0.bb +0
-0@@ -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"
recipes-extended/xen-guest-bundles/example-xen-guest-bundle_1.0.bb +4
-1-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: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
Re: [meta-virtualization] [PATCH 2/2] example-xen-guest-bundle: require xen and x11 in DISTRO_FEATURES
Quoted 15 lines · Bruce Ashfield
Quoted 9 lines · Martin Jansa via lists.yoctoproject.org
From: Martin Jansa <[email protected]>
to match the image recipe from
XEN_GUEST_BUNDLESFixes:
ERROR: Nothing PROVIDES 'xen-guest-image-minimal'
xen-guest-image-minimal was skipped: using DISTRO 'distro', which is missing requiredDISTRO_FEATURES: 'xen' in bitbake world builds
Quoted 3 lines
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 :).
In message: [meta-virtualization] [PATCH 1/2] cockpit-machines: move to dynamic layer for meta-webserver
Quoted 5 lines · on 10/03/2026 Martin Jansa via lists.yoctoproject.org wrote:
From: Martin Jansa <[email protected]>
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
Quoted 35 lines
Signed-off-by Martin Jansa <[email protected]>--- 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%)conf/layer.conf +2
-0@@ -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 willdynamic-layers/webserver/recipes-extended/cockpit-machines/cockpit-machines_346.bb renamed from recipes-extended/cockpit-machines/cockpit-machines_346.bb +0
-1-=-=-=-=-=-=-=-=-=-=-=-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: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 4 lines · Bruce Ashfield
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:
Quoted 8 lines
Quoted 5 lines
From: Martin Jansa <[email protected]>
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 buildsI 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.
Quoted 1 line
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,
Quoted 11 lines · Martin Jansa
Quoted 2 lines · Bruce Ashfield
In message: [meta-virtualization] [PATCH 1/2] cockpit-machines: move to
dynamic layer for meta-webserver
Quoted 6 lines
Quoted 4 lines · on 10/03/2026 Martin Jansa via lists.yoctoproject.org wrote:
From: Martin Jansa <[email protected]>
it depends on cockpit recipe from there, fixes:
ERROR: Nothing PROVIDES 'cockpit' (but
Quoted 9 lines
meta-virtualization/recipes-extended/cockpit-machines/ cockpit-machines_346.bb DEPENDS on or otherwise requires it)
Quoted 4 lines
Quoted 1 line
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.
Quoted 8 lines
Quoted 2 lines
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
Quoted 2 lines
Cheers,
Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II