Skip to contentSkip to conversation

packagegroups: base-tisdk: Remove iperf from packagegroup

PATCH New Andrew Davis 1 participant 2 messages Oct 12, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 packagegroups: base-tisdk: Remove iperf from packagegroup

We want iperf3 which is already in this list, iperf is the older v2.0 that is only needed by some old test scripts. It is already included in the test packagegroups.

Without this patch we cannot build base or thinlinux images without the meta-arago-test layer. That layer is not listed in the LAYERDEPENDS and so should be considered optional for meta-arago-distro images.

---
 .../packagegroups/packagegroup-arago-base-tisdk.bb             | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk.bb +1 -2
index 00f6db61..65fc015b 100644
@@ -1,6 +1,6 @@
 DESCRIPTION = "Additional packages beyond console packages shared by TI SDKs"
 LICENSE = "MIT"
-PR = "r23"
+PR = "r24"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
@@ -20,7 +20,6 @@ RDEPENDS:${PN} = "\
     libxml2 \
     libpcre \
     iptables \
-    iperf \
     iperf3 \
     netperf \
     arago-gpl-notice \
Signature · 1 line
2.39.2
#1 lore raw

PATCH 2/2 packagegroups: base: Merge base-tisdk into base

Both contain packages for similar reasons, and every image using one also includes the other. Merge these two packagegroups.

---
 .../recipes-core/images/tisdk-base-image.bb   |  1 -
 .../images/tisdk-default-image.bb             |  1 -
 .../images/tisdk-thinlinux-image.bb           |  1 -
 .../packagegroup-arago-base-tisdk.bb          | 33 -------------------
 .../packagegroups/packagegroup-arago-base.bb  | 25 +++++++++++++-
 .../recipes-core/packagegroups/ti-world.bb    |  1 -
 6 files changed, 24 insertions(+), 38 deletions(-)
 delete mode 100644 meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk.bb
meta-arago-distro/recipes-core/images/tisdk-base-image.bb +0 -1
index a70a0201..83f1899b 100644
@@ -12,7 +12,6 @@ ARAGO_BASE_IMAGE_EXTRA_INSTALL ?= ""
 IMAGE_INSTALL += "\
     packagegroup-arago-base \
     packagegroup-arago-console \
-    packagegroup-arago-base-tisdk \
     ${@oe.utils.conditional('ARAGO_BRAND', 'mainline', 'ti-test', '', d)} \
     ${ARAGO_BASE_IMAGE_EXTRA_INSTALL} \
 "
meta-arago-distro/recipes-core/images/tisdk-default-image.bb +0 -1
index 787fac95..33ed0f57 100644
@@ -15,7 +15,6 @@ SYSTEMD_DEFAULT_TARGET = " \
 IMAGE_INSTALL += "\
     packagegroup-arago-base \
     packagegroup-arago-console \
-    packagegroup-arago-base-tisdk \
     ti-test \
     ti-test-extras \
     ${@bb.utils.contains('DISTRO_FEATURES','opengl','packagegroup-arago-tisdk-graphics','',d)} \
meta-arago-distro/recipes-core/images/tisdk-thinlinux-image.bb +0 -1
index a840b7a0..f266b14a 100644
@@ -16,7 +16,6 @@ SYSTEMD_DEFAULT_TARGET = " \
 IMAGE_INSTALL += "\
     packagegroup-arago-base \
     packagegroup-arago-console \
-    packagegroup-arago-base-tisdk \
     ${@bb.utils.contains('DISTRO_FEATURES','opengl','packagegroup-arago-tisdk-graphics','',d)} \
     packagegroup-arago-tisdk-connectivity \
     packagegroup-arago-tisdk-crypto \
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk.bb deleted +0 -33
deleted file mode 100644
index 65fc015b..00000000
@@ -1,33 +0,0 @@
-DESCRIPTION = "Additional packages beyond console packages shared by TI SDKs"
-LICENSE = "MIT"
-PR = "r24"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-inherit packagegroup
-
-OPTEE_PKGS = " \
-    optee-os \
-    optee-client \
-    optee-test \
-    optee-examples \
-"
-
-RDEPENDS:${PN} = "\
-    dbus-broker \
-    expat \
-    glib-2.0 \
-    libxml2 \
-    libpcre \
-    iptables \
-    iperf3 \
-    netperf \
-    arago-gpl-notice \
-    arago-feed-config \
-    nfs-utils-client \
-    cifs-utils \
-    phytool \
-    ${@bb.utils.contains_any('OPTEEOUTPUTMACHINE', 'ti', "${OPTEE_PKGS}", "", d)} \
-"
-
-RDEPENDS:${PN}:append:k3 = " ${OPTEE_PKGS}"
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb +24 -1
index 1f63a7d0..d143f4f3 100644
@@ -1,6 +1,6 @@
 SUMMARY = "Base tools that are recommended for most images"
 LICENSE = "MIT"
-PR = "r9"
+PR = "r10"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
@@ -36,6 +36,26 @@ ARAGO_EXTRA = "\
     kms++-python \
     can-utils \
     docker \
+    dbus-broker \
+    expat \
+    glib-2.0 \
+    libxml2 \
+    libpcre \
+    iptables \
+    iperf3 \
+    netperf \
+    arago-gpl-notice \
+    arago-feed-config \
+    nfs-utils-client \
+    cifs-utils \
+    phytool \
+"
+
+OPTEE_PKGS = " \
+    optee-os \
+    optee-client \
+    optee-test \
+    optee-examples \
 "
 
 # minimal set of packages - needed to boot
@@ -44,4 +64,7 @@ RDEPENDS:${PN} = "\
     ${@bb.utils.contains('MACHINE_FEATURES', 'alsa', '${ARAGO_ALSA_BASE}', '',d)} \
     ${ARAGO_BASE} \
     ${ARAGO_EXTRA} \
+    ${@bb.utils.contains_any('OPTEEOUTPUTMACHINE', 'ti', "${OPTEE_PKGS}", "", d)} \
 "
+
+RDEPENDS:${PN}:append:k3 = " ${OPTEE_PKGS}"
meta-arago-distro/recipes-core/packagegroups/ti-world.bb +0 -1
index 4a7a5e3f..50cf2552 100644
@@ -41,7 +41,6 @@ OPENCL = " \
 RDEPENDS:${PN} = "\
     packagegroup-arago-base \
     packagegroup-arago-console \
-    packagegroup-arago-base-tisdk \
     ti-test \
     ${@bb.utils.contains('DISTRO_FEATURES','opengl','packagegroup-arago-tisdk-graphics','',d)} \
     ${@bb.utils.contains('DISTRO_FEATURES','opengl','packagegroup-arago-tisdk-gtk','',d)} \
Signature · 1 line
2.39.2