From patchwork Fri Dec 4 18:40:08 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Denys Dmytriyenko X-Patchwork-Id: 107467 X-Patchwork-Delegate: reatmon@ti.com Received: from mailout4.zoneedit.com (mailout4.zoneedit.com [64.68.198.64]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.4052.1796409612028317393 for ; Fri, 04 Dec 2026 10:40:13 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: denix.org, ip: 64.68.198.64, mailfrom: denis@denix.org) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id 3415240B13; Fri, 4 Dec 2026 18:40:11 +0000 (UTC) Received: from mailout4.zoneedit.com ([127.0.0.1]) by localhost (zmo14-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lTg6FMWLoUWP; Fri, 4 Dec 2026 18:40:11 +0000 (UTC) Received: from mail.denix.org (pool-100-15-87-159.washdc.fios.verizon.net [100.15.87.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout4.zoneedit.com (Postfix) with ESMTPSA id 0551740865; Fri, 4 Dec 2026 18:40:09 +0000 (UTC) Received: from gimli.cabin (argonath.cabin [172.31.1.2]) by mail.denix.org (Postfix) with ESMTP id 4785517622B; Fri, 4 Dec 2026 13:40:09 -0500 (EST) From: Denys Dmytriyenko To: meta-arago@lists.yoctoproject.org Cc: "Denys Dmytriyenko (TI)" Subject: [master][PATCH v2] meta-arago: migrate to the new layer config format Date: Fri, 4 Dec 2026 13:40:08 -0500 Message-Id: <20261204184008.13349-1-denis@denix.org> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 04 Dec 2026 18:40:19 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/17787 From: "Denys Dmytriyenko (TI)" The new layer configuration format being introduced in "garburn" release series simplifies and changes how layer gets setup, by making things more automated, predictable, but also more restrictive. * There's a limited pre-defined set of variables that can be set or changed inside the layer.conf * Arbitrary variables can be set in the layervars.conf, but those are local to the corresponding layer only * Dynamic layers are handled automatically, but the directory got renamed to dynamic-recipes/ * Layer-specific HOSTTOOLS adjustments need to be converted to recipe-specific RECIPE_HOSTTOOLS * Layer names are also being standardized to some degree Specific changes in meta-arago: * Handle commercial licenses for the Distro * Drop proxy-specific host tools * Point to standard TI licenses in meta-ti-bsp Signed-off-by: Denys Dmytriyenko (TI) --- v2 changes: * use addfragments in the arago.conf * previous mesa-demos patch applied meta-arago-distro/conf/distro/arago.conf | 4 ++- meta-arago-distro/conf/layer.conf | 41 ++++++++---------------- meta-arago-extras/conf/layer.conf | 31 ++++++------------ meta-arago-extras/conf/layervars.conf | 1 + 4 files changed, 26 insertions(+), 51 deletions(-) create mode 100644 meta-arago-extras/conf/layervars.conf diff --git a/meta-arago-distro/conf/distro/arago.conf b/meta-arago-distro/conf/distro/arago.conf index 7bd4be3f..8049cdce 100644 --- a/meta-arago-distro/conf/distro/arago.conf +++ b/meta-arago-distro/conf/distro/arago.conf @@ -146,4 +146,6 @@ SKIP_META_VIRT_SANITY_CHECK = "1" # Codecs in libav and ffmpeg with questionable patent statuses are not # included by default. If you enable any of those codecs you should check # if the below acceptance flags still work for your software distribution -LICENSE_FLAGS_ACCEPTED = "commercial_ffmpeg commercial_gstreamer1.0-libav" +LICENSE_FLAGS_ACCEPTED += "commercial_ffmpeg commercial_gstreamer1.0-libav" +META_TI_TEST_FRAGMENT = "meta-ti-test/accept-commercial-license" +addfragments ${OE_FRAGMENTS_PREFIX} META_TI_TEST_FRAGMENT OE_FRAGMENTS_METADATA_VARS OE_FRAGMENTS_BUILTIN diff --git a/meta-arago-distro/conf/layer.conf b/meta-arago-distro/conf/layer.conf index cc3d421a..d80c0b73 100644 --- a/meta-arago-distro/conf/layer.conf +++ b/meta-arago-distro/conf/layer.conf @@ -1,41 +1,26 @@ -# We have a conf and classes directory, append to BBPATH -BBPATH .= ":${LAYERDIR}" +LAYERNAME = "meta-arago-distro" +LAYERVERSION = "2" +LAYERSERIES_COMPAT = "garburn" -# We have a recipes directory, add to BBFILES -BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend" - -BBFILE_COLLECTIONS += "meta-arago-distro" -BBFILE_PATTERN_meta-arago-distro := "^${LAYERDIR}/" -BBFILE_PRIORITY_meta-arago-distro = "10" - -LAYERSERIES_COMPAT_meta-arago-distro = "wrynose blacksail" - -LAYERDEPENDS_meta-arago-distro = " \ - core \ +LAYERDEPENDS = " \ + oe-core \ meta-ti-bsp \ meta-ti-extras \ meta-ti-test \ - openembedded-layer \ - networking-layer \ - multimedia-layer \ - meta-python \ - virtualization-layer \ + meta-oe \ + meta-oe-python \ + meta-oe-networking \ + meta-oe-multimedia \ + meta-virtualization \ meta-arago-extras \ " -LAYERRECOMMENDS_meta-arago-distro = " \ - chromium-browser-layer \ - selinux \ -" - -BBFILES_DYNAMIC += " \ - chromium-browser-layer:${LAYERDIR}/dynamic-layers/chromium-browser-layer/recipes*/*/*.bbappend \ - selinux:${LAYERDIR}/dynamic-layers/selinux/recipes*/*/*.bbappend \ +LAYERRECOMMENDS = " \ + meta-browser-chromium \ + meta-selinux \ " SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \ weston-init->weston \ weston-init->kbd \ " - -HOSTTOOLS_NONFATAL += "corkscrew getent socket" diff --git a/meta-arago-extras/conf/layer.conf b/meta-arago-extras/conf/layer.conf index 3644c174..0272548e 100644 --- a/meta-arago-extras/conf/layer.conf +++ b/meta-arago-extras/conf/layer.conf @@ -1,28 +1,15 @@ -# We have a conf and classes directory, append to BBPATH -BBPATH .= ":${LAYERDIR}" +LAYERNAME = "meta-arago-extras" +LAYERVERSION = "2" +LAYERSERIES_COMPAT = "garburn" -# We have a recipes directory, add to BBFILES -BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend" - -BBFILE_COLLECTIONS += "meta-arago-extras" -BBFILE_PATTERN_meta-arago-extras := "^${LAYERDIR}/" -BBFILE_PRIORITY_meta-arago-extras = "10" - -LAYERSERIES_COMPAT_meta-arago-extras = "wrynose blacksail" - -# Set a variable to get to the top of the metadata location -ARAGOBASE := '${@os.path.normpath("${LAYERDIR}/../")}' - -LICENSE_PATH += "${LAYERDIR}/licenses" - -LAYERDEPENDS_meta-arago-extras = " \ - core \ +LAYERDEPENDS = " \ + oe-core \ meta-ti-bsp \ meta-ti-extras \ - networking-layer \ - openembedded-layer \ + meta-oe \ + meta-oe-networking \ " -BBFILES_DYNAMIC += " \ - qt6-layer:${LAYERDIR}/dynamic-layers/qt6-layer/recipes*/*/*.bbappend \ +LAYERRECOMMENDS = " \ + meta-qt6 \ " diff --git a/meta-arago-extras/conf/layervars.conf b/meta-arago-extras/conf/layervars.conf new file mode 100644 index 00000000..b98ddb23 --- /dev/null +++ b/meta-arago-extras/conf/layervars.conf @@ -0,0 +1 @@ +LICENSE_PATH += "${LAYERDIR_meta-ti-bsp}/licenses"