From patchwork Fri Dec 4 16:53:43 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Denys Dmytriyenko X-Patchwork-Id: 107345 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.msgproc01-g2.1442.1796403226976220919 for ; Fri, 04 Dec 2026 08:53:47 -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 9964D40B13; Fri, 4 Dec 2026 16:53:45 +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 CDfhUz_dC9qX; Fri, 4 Dec 2026 16:53:45 +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 5B94940865; Fri, 4 Dec 2026 16:53:44 +0000 (UTC) Received: from gimli.cabin (argonath.cabin [172.31.1.2]) by mail.denix.org (Postfix) with ESMTP id EE28517622B; Fri, 4 Dec 2026 11:53:43 -0500 (EST) From: Denys Dmytriyenko To: meta-arago@lists.yoctoproject.org Cc: "Denys Dmytriyenko (TI)" Subject: [master][PATCH] meta-arago: migrate to the new layer config format Date: Fri, 4 Dec 2026 11:53:43 -0500 Message-Id: <20261204165343.33091-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 16:53:53 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/17785 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) --- meta-arago-distro/conf/distro/arago.conf | 3 +- meta-arago-distro/conf/layer.conf | 43 +++++++----------------- meta-arago-extras/conf/layer.conf | 31 +++++------------ meta-arago-extras/conf/layervars.conf | 1 + 4 files changed, 25 insertions(+), 53 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 a5a906cd..4ccd3e2e 100644 --- a/meta-arago-distro/conf/distro/arago.conf +++ b/meta-arago-distro/conf/distro/arago.conf @@ -149,4 +149,5 @@ 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" +OE_FRAGMENTS += "meta-ti-test/accept-commercial-license" diff --git a/meta-arago-distro/conf/layer.conf b/meta-arago-distro/conf/layer.conf index e1843a53..d80c0b73 100644 --- a/meta-arago-distro/conf/layer.conf +++ b/meta-arago-distro/conf/layer.conf @@ -1,43 +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" - -PREFERRED_VERSION_mesa-demos = "9.0.0" 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"