Skip to contentSkip to conversation

meta-cgl-common: fix ParseError

PATCH Applied [email protected] 2 participants 2 messages Oct 12, 2023 – Oct 17, 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 fe81bcc..2a280e4 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 langdale mickledore"
 
Signature · 1 line
2.25.1
#1 lore raw

Merged, thanks! Make sure to put the repo in the subject when submitting.

Quoted 49 lines · Changqing Li

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 -2
index fe81bcc..2a280e4 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 langdale mickledore"
 
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#61324): https://lists.yoctoproject.org/g/yocto/message/61324
Mute This Topic: https://lists.yoctoproject.org/mt/101912916/2167262
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 2 lines
Jeremy Puhlman
[email protected]