diff mbox series

[master] meta-arago: migrate to the new layer config format

Message ID 20261204165343.33091-1-denis@denix.org
State Superseded
Delegated to: Ryan Eatmon
Headers show
Series [master] meta-arago: migrate to the new layer config format | expand

Commit Message

Denys Dmytriyenko Dec. 4, 2026, 4:53 p.m. UTC
From: "Denys Dmytriyenko (TI)" <denys@konsulko.com>

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) <denys@konsulko.com>
---
 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

Comments

PRC Automation Dec. 4, 2026, 4:56 p.m. UTC | #1
meta-arago / na / 20261204165343.33091-1-denis

PRC Results: PASS

=========================================================
  check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
WARN - [master][PATCH] meta-arago: migrate to the new layer config format
    WARN: Missing Signed-off-by by sender in commit message. (SIGNED-OFF-BY-2)
        patch
    
    For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887



=========================================================
  apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [master][PATCH] meta-arago: migrate to the new layer config format
- Submitter: From: Denys Dmytriyenko <denis@denix.org>
From: "Denys Dmytriyenko (TI)" <denys@konsulko.com>
- Date: Date: Fri,  4 Dec 2026 11:53:43 -0500
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: c39de586e445c76afe4532274f72285bc3190c0a

Applied to:
- Repository: lcpd-prc-meta-arago
- Base Branch: master-next
- Commit Author: Andrew Davis <afd@ti.com>
- Commit Subject: wayland-protocols: Do not add wayland-drm protocol
- Commit SHA: e9590d8729ba5982bd2f9da36d56c1a52ce5ef21

Patches
----------------------------------------
All patches applied



=========================================================
  check-yocto-repo: PASS
=========================================================
master
=====================
PASS



=========================================================
  yocto-check-layers: PASS
=========================================================
master - PASS
=====================
All checks passed
diff mbox series

Patch

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"