mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2026-01-27 10:41:26 +01:00
cockpit-machines: add recipe
`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> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
980ef86fd2
commit
9d98a3a8e9
|
|
@ -30,7 +30,9 @@ LAYERDEPENDS_virtualization-layer = " \
|
||||||
meta-python \
|
meta-python \
|
||||||
"
|
"
|
||||||
|
|
||||||
# webserver: naigos requires apache2
|
# webserver:
|
||||||
|
# - naigos requires apache2
|
||||||
|
# - cockpit-machines requires cockpit
|
||||||
LAYERRECOMMENDS_virtualization-layer = " \
|
LAYERRECOMMENDS_virtualization-layer = " \
|
||||||
webserver \
|
webserver \
|
||||||
selinux \
|
selinux \
|
||||||
|
|
|
||||||
31
recipes-extended/cockpit-machines/cockpit-machines_346.bb
Normal file
31
recipes-extended/cockpit-machines/cockpit-machines_346.bb
Normal file
|
|
@ -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 \
|
||||||
|
"
|
||||||
Loading…
Reference in New Issue
Block a user