Skip to contentSkip to conversation

packagegroup-arago-sysvinit-boot: Skip recipe if sysvinit is not enabled

PATCH Applied Paul Barker 3 participants 4 messages Oct 19, 2020 – Oct 22, 2020

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 packagegroup-arago-sysvinit-boot: Skip recipe if sysvinit is not enabled

This change fixes the following error seen at parse time when the meta-arago-distro layer is present but sysvinit is not in DISTRO_FEATURES:

ERROR: .../meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-sysvinit-boot.bb: Please ensure that your setting of VIRTUAL-RUNTIME_init_manager (sysvinit) matches the entries enabled in DISTRO_FEATURES
ERROR: Failed to parse recipe: .../meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-sysvinit-boot.bb

---
 .../packagegroups/packagegroup-arago-sysvinit-boot.bb          | 3 +++
 1 file changed, 3 insertions(+)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-sysvinit-boot.bb +3 -0
index 2eb2d777..9f937343 100644
@@ -1,3 +1,6 @@
+REQUIRED_DISTRO_FEATURES = "sysvinit"
+inherit features_check
+
 require recipes-core/packagegroups/packagegroup-core-boot.bb
 
 PR = "r0"
Signature · 1 line
2.28.0
Reviewed-by on v2 1/1
#1 lore raw
Quoted 8 lines · Paul Barker

This change fixes the following error seen at parse time when the meta-arago-distro layer is present but sysvinit is not in DISTRO_FEATURES:

ERROR: .../meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-sysvinit-boot.bb: Please ensure that your setting of VIRTUAL-RUNTIME_init_manager (sysvinit) matches the entries enabled in DISTRO_FEATURES
ERROR: Failed to parse recipe: .../meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-sysvinit-boot.bb

Quoted 22 lines
---
 .../packagegroups/packagegroup-arago-sysvinit-boot.bb          | 3 +++
 1 file changed, 3 insertions(+)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-sysvinit-boot.bb +3 -0
index 2eb2d777..9f937343 100644
@@ -1,3 +1,6 @@
+REQUIRED_DISTRO_FEATURES = "sysvinit"
+inherit features_check
+
 require recipes-core/packagegroups/packagegroup-core-boot.bb
 
 PR = "r0"
Signature · 6 lines
2.28.0

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Applied
#2 lore raw

Hello

Quoted 10 lines · Denys Dmytriyenko
Quoted 8 lines · Paul Barker

This change fixes the following error seen at parse time when the meta-arago-distro layer is present but sysvinit is not in DISTRO_FEATURES:

ERROR: .../meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-sysvinit-boot.bb: Please ensure that your setting of VIRTUAL-RUNTIME_init_manager (sysvinit) matches the entries enabled in DISTRO_FEATURES
ERROR: Failed to parse recipe: .../meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-sysvinit-boot.bb

Applied to dunfell-next

Dan

Applied
#3 lore raw

Hello

Quoted 8 lines · Dan Murphy

Hello

Quoted 5 lines · Denys Dmytriyenko
Quoted 4 lines · Paul Barker

This change fixes the following error seen at parse time when the meta-arago-distro layer is present but sysvinit is not in DISTRO_FEATURES:

Quoted 8 lines
Quoted 5 lines
Quoted 4 lines

     ERROR: .../meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-sysvinit-boot.bb: Please ensure that your setting of VIRTUAL-RUNTIME_init_manager (sysvinit) matches the entries enabled in DISTRO_FEATURES
     ERROR: Failed to parse recipe: .../meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-sysvinit-boot.bb

Applied to dunfell-next

applied to dunfell and master

Dan