summaryrefslogtreecommitdiffstats
path: root/recipes-extended/cockpit-machines
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-extended/cockpit-machines')
-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)}"