All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-webserver][PATCH v2 0/2] add support of cockpit-machines
@ 2024-01-19 10:20 Paul Le Guen de Kerneizon
  2024-01-19 10:20 ` [meta-webserver][PATCH v2 1/2] cockpit-machines: add recipe Paul Le Guen de Kerneizon
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Paul Le Guen de Kerneizon @ 2024-01-19 10:20 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Paul Le Guen de Kerneizon

Hello community,

Since version 242 of Cockpit package, plugin `cockpit-machines` has been moved
to a dedicated repository. This cockpit plugin is used to manage in web UI
virtual machines. There is currently no support of the new cockpit-machines
package in any Yocto meta and the following patches bring it:
  - Patch 1 adds the recipe of cockpit-machines
  - Patch 2 remove all the old occurences of cockpit-machines package inside
    cockpit recipe.

Waiting for your review, feel free to ask any questions or remarks.
Regards,
Paul Le Guen de Kerneizon, Savoir-faire Linux

V2 changelog:
- add needed distro features to match cockpit recipe constraints
- add needed compatible host to match cockpit recipe constraints

V1 patch: https://lists.openembedded.org/g/openembedded-devel/message/108327
Paul Le Guen de Kerneizon (2):
  cockpit-machines: add recipe
  cockpit: remove occurences of machines package

 .../cockpit-machines/cockpit-machines_304.bb  | 28 +++++++++++++++++++
 .../recipes-webadmin/cockpit/cockpit_304.bb   |  5 ----
 2 files changed, 28 insertions(+), 5 deletions(-)
 create mode 100644 meta-webserver/recipes-webadmin/cockpit-machines/cockpit-machines_304.bb

--
2.34.1


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

* [meta-webserver][PATCH v2 1/2] cockpit-machines: add recipe
  2024-01-19 10:20 [meta-webserver][PATCH v2 0/2] add support of cockpit-machines Paul Le Guen de Kerneizon
@ 2024-01-19 10:20 ` Paul Le Guen de Kerneizon
  2024-01-19 10:20 ` [meta-webserver][PATCH v2 2/2] cockpit: remove occurences of machines package Paul Le Guen de Kerneizon
  2024-01-21  6:14 ` [oe] [meta-webserver][PATCH v2 0/2] add support of cockpit-machines Khem Raj
  2 siblings, 0 replies; 6+ messages in thread
From: Paul Le Guen de Kerneizon @ 2024-01-19 10:20 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Paul Le Guen de Kerneizon

`cockpit-machines` is a Cockpit plugin used to provide a web interface
to manage virtual machines. Since Cockpit version 242, cockpit-machines
has been moved to a dedicated repository.

Signed-off-by: Paul Le Guen de Kerneizon <paul.leguendekerneizon@savoirfairelinux.com>
---
 .../cockpit-machines/cockpit-machines_304.bb  | 28 +++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 meta-webserver/recipes-webadmin/cockpit-machines/cockpit-machines_304.bb

diff --git a/meta-webserver/recipes-webadmin/cockpit-machines/cockpit-machines_304.bb b/meta-webserver/recipes-webadmin/cockpit-machines/cockpit-machines_304.bb
new file mode 100644
index 000000000..927b2c943
--- /dev/null
+++ b/meta-webserver/recipes-webadmin/cockpit-machines/cockpit-machines_304.bb
@@ -0,0 +1,28 @@
+SUMMARY = "Cockpit UI for virtual machines"
+DESCRIPTION = "Cockpit-machines provides a user interface to manage virtual machines"
+
+LICENSE = "LGPL-2.1-only"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c"
+
+DEPENDS += "cockpit"
+
+SRC_URI = "https://github.com/cockpit-project/cockpit-machines/releases/download/${PV}/cockpit-machines-${PV}.tar.xz"
+SRC_URI[sha256sum] = "b9b41d728d68ae9d21c229765e00793ad018231903c84ed653c21d25444714e3"
+
+S = "${WORKDIR}/${PN}"
+
+inherit autotools-brokensep features_check gettext
+
+COMPATIBLE_HOST:libc-musl = "null"
+
+RDEPENDS:${PN} += "cockpit libvirt-dbus pciutils virt-install"
+
+REQUIRED_DISTRO_FEATURES = "systemd pam"
+
+# Default installation path of cockpit-machines is /usr/local/
+FILES:${PN} = "\
+    ${prefix}/local/ \
+    ${datadir}/metainfo/org.cockpit-project.cockpit-machines.metainfo.xml \
+"
+
+BUGTRACKER = "github.com/cockpit-project/cockpit-machines/issues"
-- 
2.34.1



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

* [meta-webserver][PATCH v2 2/2] cockpit: remove occurences of machines package
  2024-01-19 10:20 [meta-webserver][PATCH v2 0/2] add support of cockpit-machines Paul Le Guen de Kerneizon
  2024-01-19 10:20 ` [meta-webserver][PATCH v2 1/2] cockpit-machines: add recipe Paul Le Guen de Kerneizon
@ 2024-01-19 10:20 ` Paul Le Guen de Kerneizon
  2024-01-21  6:14 ` [oe] [meta-webserver][PATCH v2 0/2] add support of cockpit-machines Khem Raj
  2 siblings, 0 replies; 6+ messages in thread
From: Paul Le Guen de Kerneizon @ 2024-01-19 10:20 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Paul Le Guen de Kerneizon

Since Cockpit version 242, `cockpit-machines` has been moved in a
dedicated repository. So it is not needed anymore to keep the old
cockpit-machines package in the cockpit recipe.

Thus, this commit removes all occurences of `cockpit-machines` in
cockpit recipe.

Signed-off-by: Paul Le Guen de Kerneizon <paul.leguendekerneizon@savoirfairelinux.com>
---
 meta-webserver/recipes-webadmin/cockpit/cockpit_304.bb | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/meta-webserver/recipes-webadmin/cockpit/cockpit_304.bb b/meta-webserver/recipes-webadmin/cockpit/cockpit_304.bb
index df7f47a11..ad512c04c 100644
--- a/meta-webserver/recipes-webadmin/cockpit/cockpit_304.bb
+++ b/meta-webserver/recipes-webadmin/cockpit/cockpit_304.bb
@@ -59,7 +59,6 @@ PACKAGES =+ " \
     ${PN}-sosreport \
     ${PN}-storaged \
     ${PN}-networkmanager \
-    ${PN}-machines \
     ${PN}-selinux \
     ${PN}-playground \
     ${PN}-docker \
@@ -102,10 +101,6 @@ FILES:${PN}-networkmanager = " \
 "
 RDEPENDS:${PN}-networkmanager = "networkmanager"
 
-FILES:${PN}-machines = " \
-    ${datadir}/cockpit/machines \
-    ${datadir}/metainfo/org.cockpit-project.cockpit-machines.metainfo.xml \
-"
 FILES:${PN}-selinux = " \
     ${datadir}/cockpit/selinux \
     ${datadir}/metainfo/org.cockpit-project.cockpit-selinux.metainfo.xml \
-- 
2.34.1



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

* Re: [oe] [meta-webserver][PATCH v2 0/2] add support of cockpit-machines
  2024-01-19 10:20 [meta-webserver][PATCH v2 0/2] add support of cockpit-machines Paul Le Guen de Kerneizon
  2024-01-19 10:20 ` [meta-webserver][PATCH v2 1/2] cockpit-machines: add recipe Paul Le Guen de Kerneizon
  2024-01-19 10:20 ` [meta-webserver][PATCH v2 2/2] cockpit: remove occurences of machines package Paul Le Guen de Kerneizon
@ 2024-01-21  6:14 ` Khem Raj
  2024-01-21  6:22   ` Khem Raj
  2 siblings, 1 reply; 6+ messages in thread
From: Khem Raj @ 2024-01-21  6:14 UTC (permalink / raw)
  To: Paul Le Guen de Kerneizon; +Cc: openembedded-devel

I am seeing some more missing deps

ERROR: Nothing RPROVIDES 'virt-install' (but
/mnt/b/yoe/master/sources/meta-openembedded/meta-webserver/recipes-webadmin/cockpit-machines/cockpit-machines_304.bb
RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'virt-install' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['virt-install']
ERROR: Required build target 'cockpit-machines' has no buildable providers.
Missing or unbuildable dependency chain was: ['cockpit-machines',
'virt-install']

On Fri, Jan 19, 2024 at 3:40 AM Paul Le Guen de Kerneizon
<paul.leguendekerneizon@savoirfairelinux.com> wrote:
>
> Hello community,
>
> Since version 242 of Cockpit package, plugin `cockpit-machines` has been moved
> to a dedicated repository. This cockpit plugin is used to manage in web UI
> virtual machines. There is currently no support of the new cockpit-machines
> package in any Yocto meta and the following patches bring it:
>   - Patch 1 adds the recipe of cockpit-machines
>   - Patch 2 remove all the old occurences of cockpit-machines package inside
>     cockpit recipe.
>
> Waiting for your review, feel free to ask any questions or remarks.
> Regards,
> Paul Le Guen de Kerneizon, Savoir-faire Linux
>
> V2 changelog:
> - add needed distro features to match cockpit recipe constraints
> - add needed compatible host to match cockpit recipe constraints
>
> V1 patch: https://lists.openembedded.org/g/openembedded-devel/message/108327
> Paul Le Guen de Kerneizon (2):
>   cockpit-machines: add recipe
>   cockpit: remove occurences of machines package
>
>  .../cockpit-machines/cockpit-machines_304.bb  | 28 +++++++++++++++++++
>  .../recipes-webadmin/cockpit/cockpit_304.bb   |  5 ----
>  2 files changed, 28 insertions(+), 5 deletions(-)
>  create mode 100644 meta-webserver/recipes-webadmin/cockpit-machines/cockpit-machines_304.bb
>
> --
> 2.34.1
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#108358): https://lists.openembedded.org/g/openembedded-devel/message/108358
> Mute This Topic: https://lists.openembedded.org/mt/103828014/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


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

* Re: [oe] [meta-webserver][PATCH v2 0/2] add support of cockpit-machines
  2024-01-21  6:14 ` [oe] [meta-webserver][PATCH v2 0/2] add support of cockpit-machines Khem Raj
@ 2024-01-21  6:22   ` Khem Raj
  2024-01-23 14:36     ` Paul Le Guen de Kerneizon
  0 siblings, 1 reply; 6+ messages in thread
From: Khem Raj @ 2024-01-21  6:22 UTC (permalink / raw)
  To: Paul Le Guen de Kerneizon; +Cc: openembedded-devel

some more messages

Parsing of 3111 .bb files complete (0 cached, 3111 parsed). 4992
targets, 119 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'virt-install' (but
/mnt/jenkins/workspace/Yocto-world-clang/sources/meta-openembedded/meta-webserver/recipes-webadmin/cockpit-machines/cockpit-machines_304.bb
RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'virt-install' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['virt-install']
NOTE: Runtime target 'cockpit-machines' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['cockpit-machines',
'virt-install']
ERROR: Nothing RPROVIDES 'libvirt-dbus' (but
/mnt/jenkins/workspace/Yocto-world-clang/sources/meta-openembedded/meta-webserver/recipes-webadmin/cockpit-machines/cockpit-machines_304.bb
RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'libvirt-dbus' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['libvirt-dbus']
ERROR: Nothing RPROVIDES 'cockpit-machines-dev' (but
/mnt/jenkins/workspace/Yocto-world-clang/sources/meta-openembedded/meta-webserver/recipes-webadmin/cockpit-machines/cockpit-machines_304.bb
RDEPENDS on or otherwise requires it)
No eligible RPROVIDERs exist for 'cockpit-machines-dev'
NOTE: Runtime target 'cockpit-machines-dev' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['cockpit-machines-dev']

On Sat, Jan 20, 2024 at 10:14 PM Khem Raj <raj.khem@gmail.com> wrote:
>
> I am seeing some more missing deps
>
> ERROR: Nothing RPROVIDES 'virt-install' (but
> /mnt/b/yoe/master/sources/meta-openembedded/meta-webserver/recipes-webadmin/cockpit-machines/cockpit-machines_304.bb
> RDEPENDS on or otherwise requires it)
> NOTE: Runtime target 'virt-install' is unbuildable, removing...
> Missing or unbuildable dependency chain was: ['virt-install']
> ERROR: Required build target 'cockpit-machines' has no buildable providers.
> Missing or unbuildable dependency chain was: ['cockpit-machines',
> 'virt-install']
>
> On Fri, Jan 19, 2024 at 3:40 AM Paul Le Guen de Kerneizon
> <paul.leguendekerneizon@savoirfairelinux.com> wrote:
> >
> > Hello community,
> >
> > Since version 242 of Cockpit package, plugin `cockpit-machines` has been moved
> > to a dedicated repository. This cockpit plugin is used to manage in web UI
> > virtual machines. There is currently no support of the new cockpit-machines
> > package in any Yocto meta and the following patches bring it:
> >   - Patch 1 adds the recipe of cockpit-machines
> >   - Patch 2 remove all the old occurences of cockpit-machines package inside
> >     cockpit recipe.
> >
> > Waiting for your review, feel free to ask any questions or remarks.
> > Regards,
> > Paul Le Guen de Kerneizon, Savoir-faire Linux
> >
> > V2 changelog:
> > - add needed distro features to match cockpit recipe constraints
> > - add needed compatible host to match cockpit recipe constraints
> >
> > V1 patch: https://lists.openembedded.org/g/openembedded-devel/message/108327
> > Paul Le Guen de Kerneizon (2):
> >   cockpit-machines: add recipe
> >   cockpit: remove occurences of machines package
> >
> >  .../cockpit-machines/cockpit-machines_304.bb  | 28 +++++++++++++++++++
> >  .../recipes-webadmin/cockpit/cockpit_304.bb   |  5 ----
> >  2 files changed, 28 insertions(+), 5 deletions(-)
> >  create mode 100644 meta-webserver/recipes-webadmin/cockpit-machines/cockpit-machines_304.bb
> >
> > --
> > 2.34.1
> >
> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > View/Reply Online (#108358): https://lists.openembedded.org/g/openembedded-devel/message/108358
> > Mute This Topic: https://lists.openembedded.org/mt/103828014/1997914
> > Group Owner: openembedded-devel+owner@lists.openembedded.org
> > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >


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

* Re: [meta-webserver][PATCH v2 0/2] add support of cockpit-machines
  2024-01-21  6:22   ` Khem Raj
@ 2024-01-23 14:36     ` Paul Le Guen de Kerneizon
  0 siblings, 0 replies; 6+ messages in thread
From: Paul Le Guen de Kerneizon @ 2024-01-23 14:36 UTC (permalink / raw)
  To: openembedded-devel

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

Thanks,
My mistake, as you noticed the missing dependencies are recipes not packaged yet anywhere.
There are going to be contributed on the meta-virtualization, and so the recipe of cockpit-machines too, as it makes more sense in order to respect these dependencies.
Regards,
Paul Le Guen de Kerneizon

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

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

end of thread, other threads:[~2024-01-23 14:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-19 10:20 [meta-webserver][PATCH v2 0/2] add support of cockpit-machines Paul Le Guen de Kerneizon
2024-01-19 10:20 ` [meta-webserver][PATCH v2 1/2] cockpit-machines: add recipe Paul Le Guen de Kerneizon
2024-01-19 10:20 ` [meta-webserver][PATCH v2 2/2] cockpit: remove occurences of machines package Paul Le Guen de Kerneizon
2024-01-21  6:14 ` [oe] [meta-webserver][PATCH v2 0/2] add support of cockpit-machines Khem Raj
2024-01-21  6:22   ` Khem Raj
2024-01-23 14:36     ` Paul Le Guen de Kerneizon

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.