All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/1] add support of cockpit-machines
@ 2025-12-17 15:35 Paul Le Guen de Kerneizon
  2025-12-17 15:35 ` [PATCH v2 1/1] cockpit-machines: add recipe Paul Le Guen de Kerneizon
  2026-01-06 19:33 ` [meta-virtualization] [PATCH v2 0/1] add support of cockpit-machines Bruce Ashfield
  0 siblings, 2 replies; 3+ messages in thread
From: Paul Le Guen de Kerneizon @ 2025-12-17 15:35 UTC (permalink / raw)
  To: meta-virtualization; +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 patch bring it.
This recipe is suggested to be added in the meta-virtualization in
order to fulfill the needed dependencies on `virt-manager` and
`libvirt-dbus` recipes. As the cockpit recipe is available in the meta-webserver
layer, cockpit-machines recipe depends on it.

V2:
* Add a comment in layer.conf regarding meta-webserver dependency
* Add a comment in cockpit-machines_346.bb about musl compatibility
* Edit commit message to give explanations about how to test the recipe on
target

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

Paul Le Guen de Kerneizon (1):
  cockpit-machines: add recipe

 conf/layer.conf                               |  4 ++-
 .../cockpit-machines/cockpit-machines_346.bb  | 31 +++++++++++++++++++
 2 files changed, 34 insertions(+), 1 deletion(-)
 create mode 100644 recipes-extended/cockpit-machines/cockpit-machines_346.bb

--
2.34.1


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

* [PATCH v2 1/1] cockpit-machines: add recipe
  2025-12-17 15:35 [PATCH v2 0/1] add support of cockpit-machines Paul Le Guen de Kerneizon
@ 2025-12-17 15:35 ` Paul Le Guen de Kerneizon
  2026-01-06 19:33 ` [meta-virtualization] [PATCH v2 0/1] add support of cockpit-machines Bruce Ashfield
  1 sibling, 0 replies; 3+ messages in thread
From: Paul Le Guen de Kerneizon @ 2025-12-17 15:35 UTC (permalink / raw)
  To: meta-virtualization; +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. This package is dependent on
cockpit package from meta-webserver layer.

To test it, access the cockpit-machines UI on the tested target at
`https://127.0.0.1:9090/machines`.

Signed-off-by: Paul Le Guen de Kerneizon <paul.leguendekerneizon@savoirfairelinux.com>
---
 conf/layer.conf                               |  4 ++-
 .../cockpit-machines/cockpit-machines_346.bb  | 31 +++++++++++++++++++
 2 files changed, 34 insertions(+), 1 deletion(-)
 create mode 100644 recipes-extended/cockpit-machines/cockpit-machines_346.bb

diff --git a/conf/layer.conf b/conf/layer.conf
index dbe66d8c..5ec45ee0 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -30,7 +30,9 @@ LAYERDEPENDS_virtualization-layer = " \
     meta-python \
 "

-# webserver: naigos requires apache2
+# webserver:
+# - naigos requires apache2
+# - cockpit-machines requires cockpit
 LAYERRECOMMENDS_virtualization-layer = " \
     webserver \
     selinux \
diff --git a/recipes-extended/cockpit-machines/cockpit-machines_346.bb b/recipes-extended/cockpit-machines/cockpit-machines_346.bb
new file mode 100644
index 00000000..feb7a97a
--- /dev/null
+++ b/recipes-extended/cockpit-machines/cockpit-machines_346.bb
@@ -0,0 +1,31 @@
+# Copyright (C) 2024-2025 Savoir-faire Linux, Inc
+
+SUMMARY = "Cockpit UI for virtual machines"
+DESCRIPTION = "Cockpit-machines provides a user interface to manage virtual machines"
+
+BUGTRACKER = "github.com/cockpit-project/cockpit-machines/issues"
+
+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] = "c9d80357da2bf3ecda9698f0dc6fcb46675b3b76da9150a22178071fe982fcb0"
+
+S = "${WORKDIR}/${PN}"
+
+inherit autotools-brokensep features_check gettext
+
+# systemd, which cockpit is dependent, is not compatible with musl lib
+COMPATIBLE_HOST:libc-musl = "null"
+
+RDEPENDS:${PN} += "cockpit libvirt-dbus pciutils virt-manager-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 \
+"
--
2.34.1


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

* Re: [meta-virtualization] [PATCH v2 0/1] add support of cockpit-machines
  2025-12-17 15:35 [PATCH v2 0/1] add support of cockpit-machines Paul Le Guen de Kerneizon
  2025-12-17 15:35 ` [PATCH v2 1/1] cockpit-machines: add recipe Paul Le Guen de Kerneizon
@ 2026-01-06 19:33 ` Bruce Ashfield
  1 sibling, 0 replies; 3+ messages in thread
From: Bruce Ashfield @ 2026-01-06 19:33 UTC (permalink / raw)
  To: paul.leguendekerneizon; +Cc: meta-virtualization

Sorry for the delay, this is now merged.

Bruce

In message: [meta-virtualization] [PATCH v2 0/1] add support of cockpit-machines
on 17/12/2025 Paul Le Guen de Kerneizon via lists.yoctoproject.org 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 patch bring it.
> This recipe is suggested to be added in the meta-virtualization in
> order to fulfill the needed dependencies on `virt-manager` and
> `libvirt-dbus` recipes. As the cockpit recipe is available in the meta-webserver
> layer, cockpit-machines recipe depends on it.
> 
> V2:
> * Add a comment in layer.conf regarding meta-webserver dependency
> * Add a comment in cockpit-machines_346.bb about musl compatibility
> * Edit commit message to give explanations about how to test the recipe on
> target
> 
> Waiting for your review, feel free to ask any questions or remarks.
> Regards,
> Paul Le Guen de Kerneizon, Savoir-faire Linux
> 
> Paul Le Guen de Kerneizon (1):
>   cockpit-machines: add recipe
> 
>  conf/layer.conf                               |  4 ++-
>  .../cockpit-machines/cockpit-machines_346.bb  | 31 +++++++++++++++++++
>  2 files changed, 34 insertions(+), 1 deletion(-)
>  create mode 100644 recipes-extended/cockpit-machines/cockpit-machines_346.bb
> 
> --
> 2.34.1

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#9491): https://lists.yoctoproject.org/g/meta-virtualization/message/9491
> Mute This Topic: https://lists.yoctoproject.org/mt/116827734/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] 3+ messages in thread

end of thread, other threads:[~2026-01-06 19:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-17 15:35 [PATCH v2 0/1] add support of cockpit-machines Paul Le Guen de Kerneizon
2025-12-17 15:35 ` [PATCH v2 1/1] cockpit-machines: add recipe Paul Le Guen de Kerneizon
2026-01-06 19:33 ` [meta-virtualization] [PATCH v2 0/1] add support of cockpit-machines 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.