Skip to contentSkip to conversation

meta-cgl-common: fix ParseError

PATCH New [email protected] 1 participant 1 message Oct 12, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 meta-cgl-common: fix ParseError

From: Changqing Li <[email protected]>

Layeindex update.py report warning:
WARNING: Error parsing distro configuration file /meta-cgl/meta-cgl-common/conf/distro/poky-cgl.conf: ParseError at /meta-cgl/meta-cgl-common/conf/distro/poky-cgl.conf:1: Could not include required file conf/distro/poky-lsb.conf

Refer meta-yocto commit: 00fdefff55717331a220fe624f29c387970d31d7 [poky-altcfg: Replace poky-lsb with poky-altcfg]

replace poky-lsb with poky-altcfg here, and also add layer yocto as LAYERDEPENDS for fixing above warning

---
 meta-cgl-common/conf/distro/poky-cgl.conf | 2 +-
 meta-cgl-common/conf/layer.conf           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta-cgl-common/conf/distro/poky-cgl.conf +1 -1
index 10feab9..2932dcf 100644
@@ -1,4 +1,4 @@
-require conf/distro/poky-lsb.conf
+require conf/distro/poky-altcfg.conf
 
 DISTRO = "poky-cgl"
 DISTROOVERRIDES .= ":poky-cgl"
meta-cgl-common/conf/layer.conf +1 -1
index 2e21879..59ee224 100644
@@ -9,7 +9,7 @@ BBFILE_COLLECTIONS += "cgl-common"
 BBFILE_PATTERN_cgl-common = "^${LAYERDIR}/"
 BBFILE_PRIORITY_cgl-common = "7"
 
-LAYERDEPENDS_cgl-common = "core openembedded-layer networking-layer perl-layer filesystems-layer security selinux"
+LAYERDEPENDS_cgl-common = "core openembedded-layer networking-layer perl-layer filesystems-layer security selinux yocto"
 
 LAYERSERIES_COMPAT_cgl-common = "honister kirkstone"
 
Signature · 1 line
2.25.1