On 8/16/22 22:55, Christopher Larson wrote:
This class functionality isn't limited to images.
If not, it may need to move to classes-global. Otherwise it fails to parse:
ERROR: ParseError in configuration INHERITs: Could not inherit file
classes/distrooverrides.bbclass
On Tue, Aug 16, 2022 at 12:54 AM kai <[email protected]> wrote:
From: Kai Kang <[email protected]>
Update comment in distrooverrides.bbclass to use IMAGE_CLASSES rather
than globally with INHERIT.
Signed-off-by: Kai Kang <[email protected]>
---
meta/classes-recipe/distrooverrides.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes-recipe/distrooverrides.bbclass
b/meta/classes-recipe/distrooverrides.bbclass
index 8d9d7cda7d..b5346b465e 100644
--- a/meta/classes-recipe/distrooverrides.bbclass
+++ b/meta/classes-recipe/distrooverrides.bbclass
@@ -17,7 +17,7 @@
#
# The class is meant to be used in a layer.conf or distro
# .inc file with:
-# INHERIT += "distrooverrides"
+# IMAGE_CLASSES += "distrooverrides"
# DISTRO_FEATURES_OVERRIDES += "my-feature"
#
# Beware that this part of OVERRIDES changes during parsing, so usage
--
2.17.1
--
Christopher Larson
[email protected], [email protected], [email protected]
Principal Software Engineer, Embedded Linux Solutions, Siemens Digital
Industries Software
--
Kai Kang
Wind River Linux
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169511):
https://lists.openembedded.org/g/openembedded-core/message/169511
Mute This Topic: https://lists.openembedded.org/mt/93054585/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-