diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-03-11 19:51:40 +0000 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-03-11 19:51:40 +0000 |
| commit | 21054f23adf37881a8ecae65da5ce0ebd5948b96 (patch) | |
| tree | 48706e8144c74c14cf9e152a4d5c10094ee1dcd9 | |
| parent | 5f6b41e41d35507985f562315eea165469df3e6b (diff) | |
| download | meta-virtualization-21054f23adf37881a8ecae65da5ce0ebd5948b96.tar.gz | |
cockpit-machines: fix source specification and conditionally skip
This recipe can't be built without the main recipe, which is
in meta-oe meta-webserver.
Fix a S assigment, so it'll parse
And then skip if meta-webserver isn't in bblayers (not in
collections).
This will ensure that world builds don't try and pick it up
when processing meta-virt.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
| -rw-r--r-- | recipes-extended/cockpit-machines/cockpit-machines_346.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/recipes-extended/cockpit-machines/cockpit-machines_346.bb b/recipes-extended/cockpit-machines/cockpit-machines_346.bb index feb7a97a..8aaac4c5 100644 --- a/recipes-extended/cockpit-machines/cockpit-machines_346.bb +++ b/recipes-extended/cockpit-machines/cockpit-machines_346.bb | |||
| @@ -13,7 +13,7 @@ DEPENDS += "cockpit" | |||
| 13 | SRC_URI = "https://github.com/cockpit-project/cockpit-machines/releases/download/${PV}/cockpit-machines-${PV}.tar.xz" | 13 | SRC_URI = "https://github.com/cockpit-project/cockpit-machines/releases/download/${PV}/cockpit-machines-${PV}.tar.xz" |
| 14 | SRC_URI[sha256sum] = "c9d80357da2bf3ecda9698f0dc6fcb46675b3b76da9150a22178071fe982fcb0" | 14 | SRC_URI[sha256sum] = "c9d80357da2bf3ecda9698f0dc6fcb46675b3b76da9150a22178071fe982fcb0" |
| 15 | 15 | ||
| 16 | S = "${WORKDIR}/${PN}" | 16 | S = "${UNPACKDIR}/${PN}" |
| 17 | 17 | ||
| 18 | inherit autotools-brokensep features_check gettext | 18 | inherit autotools-brokensep features_check gettext |
| 19 | 19 | ||
| @@ -29,3 +29,6 @@ FILES:${PN} = "\ | |||
| 29 | ${prefix}/local/ \ | 29 | ${prefix}/local/ \ |
| 30 | ${datadir}/metainfo/org.cockpit-project.cockpit-machines.metainfo.xml \ | 30 | ${datadir}/metainfo/org.cockpit-project.cockpit-machines.metainfo.xml \ |
| 31 | " | 31 | " |
| 32 | |||
| 33 | SKIP_RECIPE[cockpit-machines] ?= "${@bb.utils.contains('BBFILE_COLLECTIONS', 'webserver', '', 'Depends on meta-webserver which is not included', d)}" | ||
| 34 | |||
