Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id A6B4FC0218B for ; Tue, 21 Jan 2025 15:16:13 +0000 (UTC) Received: from fllvem-ot03.ext.ti.com (fllvem-ot03.ext.ti.com [198.47.19.245]) by mx.groups.io with SMTP id smtpd.web11.17927.1737472570564597206 for ; Tue, 21 Jan 2025 07:16:10 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=YNvHS9r7; spf=pass (domain: ti.com, ip: 198.47.19.245, mailfrom: reatmon@ti.com) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllvem-ot03.ext.ti.com (8.15.2/8.15.2) with ESMTPS id 50LFG3CC825750 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 21 Jan 2025 09:16:04 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1737472564; bh=PA8ICMkQqa2LzYlCz1DCRSPjTzJjS51RPxzT/z1rheE=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=YNvHS9r7GVVli52Jij+t56f0Q5eTz39Jt27rnJcxAN/VIvZHJMsJQEL/z5FigwydF 9KSOFSuPOVLKHh2OyS322hqc9YavTCwDTs9d8PYnhGRZ0HId8cjQLlPri6fpWa8P/C GzTOPRs1DfDjjSDvcOC0+BY/kjd7euWUbCYWNltM= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 50LFG36o023960 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 21 Jan 2025 09:16:03 -0600 Received: from DFLE108.ent.ti.com (10.64.6.29) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 21 Jan 2025 09:16:03 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 21 Jan 2025 09:16:03 -0600 Received: from [10.249.32.65] ([10.249.32.65]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 50LFG3b8028626; Tue, 21 Jan 2025 09:16:03 -0600 Message-ID: Date: Tue, 21 Jan 2025 09:16:03 -0600 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [meta-arago][master][PATCH] meta-arago: break dependency on meta-arago-demos To: Denys Dmytriyenko , CC: , References: <20250116192950.3391293-2-rs@ti.com> <20250120211347.GK21836@denix.org> Content-Language: en-US From: Ryan Eatmon In-Reply-To: <20250120211347.GK21836@denix.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 21 Jan 2025 15:16:13 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/15717 On 1/20/2025 3:13 PM, Denys Dmytriyenko wrote: > On Thu, Jan 16, 2025 at 01:29:51PM -0600, Randolph Sapp via lists.yoctoproject.org wrote: >> From: Randolph Sapp >> >> Remove any explicit dependencies on meta-arago-demos. These were the >> last of the "demos" in this layer and they were only being built for >> legacy devices. Demos should primarily be in layers above this unless >> they are used for functionality testing. > > Why not move those pieces to meta-arago-demos then? > > E.g. move the packagegroups there and add bbappends for the default image and > world recipes, etc. Basically make meta-arago-demos an island unto itself. If you include it, then you get it, if you don't then no harm. Make sense. > >> Signed-off-by: Randolph Sapp >> --- >> >> Trying to do this gracefully. Break the dependency first, then update the >> oe-layersetup configs, then drop the layer entirely. >> >> .../images/tisdk-default-image.bb | 14 +------- >> ...kagegroup-arago-tisdk-addons-sdk-target.bb | 17 --------- >> .../packagegroup-arago-tisdk-addons.bb | 2 -- >> .../packagegroup-arago-tisdk-hmi.bb | 36 ------------------- >> .../recipes-core/packagegroups/ti-demos.bb | 18 ---------- >> .../recipes-core/packagegroups/ti-world.bb | 10 +----- >> 6 files changed, 2 insertions(+), 95 deletions(-) >> delete mode 100644 meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi.bb >> delete mode 100644 meta-arago-distro/recipes-core/packagegroups/ti-demos.bb >> >> 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 6c46c423..10493415 100644 >> --- a/meta-arago-distro/recipes-core/images/tisdk-default-image.bb >> +++ b/meta-arago-distro/recipes-core/images/tisdk-default-image.bb >> @@ -23,24 +23,13 @@ IMAGE_INSTALL += "\ >> packagegroup-arago-tisdk-multimedia \ >> 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','','packagegroup-arago-base-tisdk-server-extra',d)} \ >> ${ARAGO_DEFAULT_IMAGE_EXTRA_INSTALL} \ >> packagegroup-arago-tisdk-sysrepo \ >> " >> >> export IMAGE_BASENAME = "tisdk-default-image${ARAGO_IMAGE_SUFFIX}" >> >> -EXTRABROWSERS = " \ >> - qtwebbrowser-examples \ >> - qtwebengine-qmlplugins \ >> - qtwebengine-examples \ >> -" >> - >> -PYTHON2APPS = " \ >> - ${@bb.utils.contains('DISTRO_FEATURES','opengl',"${EXTRABROWSERS}",'',d)} \ >> -" >> - >> DEVTOOLS = " \ >> linux-libc-headers-dev \ >> build-essential \ >> @@ -50,7 +39,6 @@ DEVTOOLS = " \ >> " >> >> IMAGE_INSTALL += "\ >> - ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "${PYTHON2APPS}", "", d)} \ >> ${DEVTOOLS} \ >> ${@bb.utils.contains('TUNE_FEATURES', 'armv7a', 'valgrind', '', d)} \ >> docker \ >> diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bb >> index 3e0a2720..8690a874 100644 >> --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bb >> +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bb >> @@ -31,24 +31,7 @@ EXTRA_LIBS:append:dra7xx = " libulm-dev \ >> gdbserver-c6x-dev \ >> " >> >> -PDM_ANOMALY_PKG_DEV = "\ >> - ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'pdm-anomaly-detection-dev', '', d)} \ >> -" >> - >> - >> EXTRA_PACKAGES = "" >> -#EXTRA_PACKAGES:append:ti33x = " \ >> -# ${PDM_ANOMALY_PKG_DEV} \ >> -#" >> -#EXTRA_PACKAGES:append:ti43x = " \ >> -# ${PDM_ANOMALY_PKG_DEV} \ >> -#" >> -#EXTRA_PACKAGES:append:omap-a15 = " \ >> -# ${PDM_ANOMALY_PKG_DEV} \ >> -#" >> -#EXTRA_PACKAGES:append:am65xx = " \ >> -# ${PDM_ANOMALY_PKG_DEV} \ >> -#" >> >> IPCDEV = " \ >> ti-ipc-dev \ >> diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb >> index 6b6533f5..b0d76b28 100644 >> --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb >> +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb >> @@ -85,10 +85,8 @@ EXTRA_PACKAGES:omapl138 = " \ >> protobuf \ >> " >> >> -# acontis-atemsys >> #EXTRA_PACKAGES:append:am335x-evm = " pruss-lld-apps" >> #EXTRA_PACKAGES:append:am437x-evm = " pruss-lld-apps" >> -# acontis-atemsys >> #EXTRA_PACKAGES:append:am57xx-evm = " pruss-lld-apps" >> >> RDEPENDS:${PN} = "\ >> diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi.bb >> deleted file mode 100644 >> index a8261bf2..00000000 >> --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi.bb >> +++ /dev/null >> @@ -1,36 +0,0 @@ >> -SUMMARY = "Task to add HMI related packages" >> -LICENSE = "MIT" >> -PR = "r0" >> - >> -PACKAGE_ARCH = "${MACHINE_ARCH}" >> - >> -inherit packagegroup >> - >> -HMI = " \ >> -" >> - >> - >> -HMI:append:ti33x = " \ >> - evse-hmi \ >> - protection-relays-hmi \ >> - mmwavegesture-hmi \ >> -" >> - >> -HMI:append:ti43x = " \ >> - evse-hmi \ >> - mmwavegesture-hmi \ >> -" >> - >> -HMI:append:omap-a15 = " \ >> - evse-hmi \ >> - mmwavegesture-hmi \ >> -" >> - >> -HMI:append:am65xx = " \ >> - evse-hmi \ >> - mmwavegesture-hmi \ >> -" >> - >> -RDEPENDS:${PN} = "\ >> - ${HMI} \ >> -" >> 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 7bccb4de..00000000 >> --- a/meta-arago-distro/recipes-core/packagegroups/ti-demos.bb >> +++ /dev/null >> @@ -1,18 +0,0 @@ >> -SUMMARY = "TI World packagegroup" >> -LICENSE = "MIT" >> - >> -PACKAGE_ARCH = "${MACHINE_ARCH}" >> - >> -inherit packagegroup >> - >> -PDM_ANOMALY_PKG = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'pdm-anomaly-detection', '', d)}" >> - >> -PDM_ANOMALY = "" >> -PDM_ANOMALY:ti33x = "${PDM_ANOMALY_PKG}" >> -PDM_ANOMALY:ti43x = "${PDM_ANOMALY_PKG}" >> -PDM_ANOMALY:omap-a15 = "${PDM_ANOMALY_PKG}" >> -PDM_ANOMALY:am65xx = "${PDM_ANOMALY_PKG}" >> - >> -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..fc3eac74 100644 >> --- a/meta-arago-distro/recipes-core/packagegroups/ti-world.bb >> +++ b/meta-arago-distro/recipes-core/packagegroups/ti-world.bb >> @@ -15,14 +15,7 @@ CHROMIUM:append:k3 = "\ >> chromium-ozone-wayland \ >> " >> >> -EXTRABROWSERS = " \ >> - qtwebbrowser-examples \ >> - qtwebengine-qmlplugins \ >> - qtwebengine-examples \ >> -" >> - >> PYTHON2APPS = " \ >> - ${@bb.utils.contains('DISTRO_FEATURES','opengl',"${EXTRABROWSERS}",'',d)} \ >> ${@bb.utils.contains("BBFILE_COLLECTIONS","browser-layer",bb.utils.contains('DISTRO_FEATURES','wayland',"${CHROMIUM}",'',d),'',d)} \ >> " >> >> @@ -45,11 +38,10 @@ RDEPENDS:${PN} = "\ >> packagegroup-arago-tisdk-multimedia \ >> 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)} \ >> + ${@bb.utils.contains('DISTRO_FEATURES','opengl','','packagegroup-arago-base-tisdk-server-extra',d)} \ >> ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "${PYTHON2APPS}", "", d)} \ >> ${DEVTOOLS} \ >> ${@bb.utils.contains('TUNE_FEATURES', 'armv7a', 'valgrind', '', d)} \ >> packagegroup-arago-misc \ >> - ti-demos \ >> ${PREFERRED_PROVIDER_virtual/docker} \ >> " >> -- >> 2.47.1 -- Ryan Eatmon reatmon@ti.com ----------------------------------------- Texas Instruments, Inc. - LCPD - MGTS