From 21054f23adf37881a8ecae65da5ce0ebd5948b96 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Wed, 11 Mar 2026 19:51:40 +0000 Subject: 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 --- recipes-extended/cockpit-machines/cockpit-machines_346.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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" SRC_URI = "https://github.com/cockpit-project/cockpit-machines/releases/download/${PV}/cockpit-machines-${PV}.tar.xz" SRC_URI[sha256sum] = "c9d80357da2bf3ecda9698f0dc6fcb46675b3b76da9150a22178071fe982fcb0" -S = "${WORKDIR}/${PN}" +S = "${UNPACKDIR}/${PN}" inherit autotools-brokensep features_check gettext @@ -29,3 +29,6 @@ FILES:${PN} = "\ ${prefix}/local/ \ ${datadir}/metainfo/org.cockpit-project.cockpit-machines.metainfo.xml \ " + +SKIP_RECIPE[cockpit-machines] ?= "${@bb.utils.contains('BBFILE_COLLECTIONS', 'webserver', '', 'Depends on meta-webserver which is not included', d)}" + -- cgit v1.2.3-54-g00ecf