summaryrefslogtreecommitdiffstats
path: root/recipes-extended
diff options
context:
space:
mode:
authorTanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>2026-04-13 13:47:00 +0200
committerBruce Ashfield <bruce.ashfield@gmail.com>2026-04-13 13:56:20 +0000
commitb9b7e17eae46c6e3e561f3675870be94eea69332 (patch)
treea69759067b4c43eec1554a519b103ccbe28d911d /recipes-extended
parentd57c511ccf8d478f86b2d5f04bde5a3f69ea46f2 (diff)
downloadmeta-virtualization-b9b7e17eae46c6e3e561f3675870be94eea69332.tar.gz
cockpit-machines: remove autotools inheritance
The commit [1] from openembedded-core, removes the possibility to use autotools bbclass when the configure script is missing. Because the cockpit-machines release tarball always ships pre-built assets in dist/, there is no need to use autotools to build the package. This commit fixes the following build error: ERROR: cockpit-machines-346-r0 do_configure: no configure script found at ./configure [1]: autotools: require that a configure script exists SHA: 6d327a39befae44a88a812bdf4acde800dcee57b Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-extended')
-rw-r--r--recipes-extended/cockpit-machines/cockpit-machines_346.bb18
1 files changed, 14 insertions, 4 deletions
diff --git a/recipes-extended/cockpit-machines/cockpit-machines_346.bb b/recipes-extended/cockpit-machines/cockpit-machines_346.bb
index 8aaac4c5..d23c39b2 100644
--- a/recipes-extended/cockpit-machines/cockpit-machines_346.bb
+++ b/recipes-extended/cockpit-machines/cockpit-machines_346.bb
@@ -15,7 +15,7 @@ SRC_URI[sha256sum] = "c9d80357da2bf3ecda9698f0dc6fcb46675b3b76da9150a22178071fe9
15 15
16S = "${UNPACKDIR}/${PN}" 16S = "${UNPACKDIR}/${PN}"
17 17
18inherit autotools-brokensep features_check gettext 18inherit features_check
19 19
20# systemd, which cockpit is dependent, is not compatible with musl lib 20# systemd, which cockpit is dependent, is not compatible with musl lib
21COMPATIBLE_HOST:libc-musl = "null" 21COMPATIBLE_HOST:libc-musl = "null"
@@ -24,10 +24,20 @@ RDEPENDS:${PN} += "cockpit libvirt-dbus pciutils virt-manager-install"
24 24
25REQUIRED_DISTRO_FEATURES = "systemd pam" 25REQUIRED_DISTRO_FEATURES = "systemd pam"
26 26
27# Default installation path of cockpit-machines is /usr/local/ 27do_configure[noexec] = "1"
28do_compile[noexec] = "1"
29
30do_install() {
31 install -d ${D}${datadir}/cockpit/machines
32 cp -r ${S}/dist/* ${D}${datadir}/cockpit/machines/
33
34 install -d ${D}${datadir}/metainfo
35 install -m 0644 ${S}/org.cockpit_project.machines.metainfo.xml ${D}${datadir}/metainfo/
36}
37
28FILES:${PN} = "\ 38FILES:${PN} = "\
29 ${prefix}/local/ \ 39 ${datadir}/cockpit/machines/ \
30 ${datadir}/metainfo/org.cockpit-project.cockpit-machines.metainfo.xml \ 40 ${datadir}/metainfo/org.cockpit_project.machines.metainfo.xml \
31" 41"
32 42
33SKIP_RECIPE[cockpit-machines] ?= "${@bb.utils.contains('BBFILE_COLLECTIONS', 'webserver', '', 'Depends on meta-webserver which is not included', d)}" 43SKIP_RECIPE[cockpit-machines] ?= "${@bb.utils.contains('BBFILE_COLLECTIONS', 'webserver', '', 'Depends on meta-webserver which is not included', d)}"