diff mbox series

[meta-arago,scarthgap/master,2/3] ti-demos: Remove this packagegroup

Message ID 20241217210206.47052-2-afd@ti.com
State New
Headers show
Series [meta-arago,scarthgap/master,1/3] ti-demos: Add pdm-anomaly-detection for all platforms | expand

Commit Message

Andrew Davis Dec. 17, 2024, 9:02 p.m. UTC
Having a packagegroup for a single package isn't really needed.
If we end up with more demos and want to collect them we can do
that when needed.

Signed-off-by: Andrew Davis <afd@ti.com>
---
 .../recipes-core/images/tisdk-default-image.bb         |  2 +-
 .../recipes-core/packagegroups/ti-demos.bb             | 10 ----------
 .../recipes-core/packagegroups/ti-world.bb             |  2 +-
 3 files changed, 2 insertions(+), 12 deletions(-)
 delete mode 100644 meta-arago-distro/recipes-core/packagegroups/ti-demos.bb
diff mbox series

Patch

diff --git a/meta-arago-distro/recipes-core/images/tisdk-default-image.bb b/meta-arago-distro/recipes-core/images/tisdk-default-image.bb
index faae53d3..ce3c3879 100644
--- a/meta-arago-distro/recipes-core/images/tisdk-default-image.bb
+++ b/meta-arago-distro/recipes-core/images/tisdk-default-image.bb
@@ -24,7 +24,7 @@  IMAGE_INSTALL += "\
     packagegroup-arago-tisdk-addons \
     packagegroup-arago-tisdk-addons-extra \
     ${@bb.utils.contains('DISTRO_FEATURES','opengl','packagegroup-arago-tisdk-hmi','packagegroup-arago-base-tisdk-server-extra',d)} \
-    ti-demos \
+    ${@bb.utils.contains('DISTRO_FEATURES','opengl','pdm-anomaly-detection','', d)} \
     ${ARAGO_DEFAULT_IMAGE_EXTRA_INSTALL} \
     packagegroup-arago-tisdk-sysrepo \
 "
diff --git a/meta-arago-distro/recipes-core/packagegroups/ti-demos.bb b/meta-arago-distro/recipes-core/packagegroups/ti-demos.bb
deleted file mode 100644
index 91e469e7..00000000
--- a/meta-arago-distro/recipes-core/packagegroups/ti-demos.bb
+++ /dev/null
@@ -1,10 +0,0 @@ 
-SUMMARY = "TI World packagegroup"
-LICENSE = "MIT"
-
-inherit packagegroup
-
-PDM_ANOMALY = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'pdm-anomaly-detection', '', d)}"
-
-RDEPENDS:${PN} = "\
-    ${PDM_ANOMALY} \
-"
diff --git a/meta-arago-distro/recipes-core/packagegroups/ti-world.bb b/meta-arago-distro/recipes-core/packagegroups/ti-world.bb
index 438dd8d0..96bfcac8 100644
--- a/meta-arago-distro/recipes-core/packagegroups/ti-world.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/ti-world.bb
@@ -50,6 +50,6 @@  RDEPENDS:${PN} = "\
     ${DEVTOOLS} \
     ${@bb.utils.contains('TUNE_FEATURES', 'armv7a', 'valgrind', '', d)} \
     packagegroup-arago-misc \
-    ti-demos \
+    ${@bb.utils.contains('DISTRO_FEATURES','opengl','pdm-anomaly-detection','', d)} \
     ${PREFERRED_PROVIDER_virtual/docker} \
 "