diff options
Diffstat (limited to 'recipes-extended/cockpit-machines')
| -rw-r--r-- | recipes-extended/cockpit-machines/cockpit-machines_346.bb | 18 |
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 | ||
| 16 | S = "${UNPACKDIR}/${PN}" | 16 | S = "${UNPACKDIR}/${PN}" |
| 17 | 17 | ||
| 18 | inherit autotools-brokensep features_check gettext | 18 | inherit 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 |
| 21 | COMPATIBLE_HOST:libc-musl = "null" | 21 | COMPATIBLE_HOST:libc-musl = "null" |
| @@ -24,10 +24,20 @@ RDEPENDS:${PN} += "cockpit libvirt-dbus pciutils virt-manager-install" | |||
| 24 | 24 | ||
| 25 | REQUIRED_DISTRO_FEATURES = "systemd pam" | 25 | REQUIRED_DISTRO_FEATURES = "systemd pam" |
| 26 | 26 | ||
| 27 | # Default installation path of cockpit-machines is /usr/local/ | 27 | do_configure[noexec] = "1" |
| 28 | do_compile[noexec] = "1" | ||
| 29 | |||
| 30 | do_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 | |||
| 28 | FILES:${PN} = "\ | 38 | FILES:${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 | ||
| 33 | SKIP_RECIPE[cockpit-machines] ?= "${@bb.utils.contains('BBFILE_COLLECTIONS', 'webserver', '', 'Depends on meta-webserver which is not included', d)}" | 43 | SKIP_RECIPE[cockpit-machines] ?= "${@bb.utils.contains('BBFILE_COLLECTIONS', 'webserver', '', 'Depends on meta-webserver which is not included', d)}" |
