On Mon, Jun 29, 2020 at 06:43:02PM -0400, Denys Dmytriyenko wrote: > On Tue, Jun 23, 2020 at 09:12:00AM +0100, Paul Barker wrote: > > On Tue, 9 Jun 2020 at 11:28, Paul Barker <[email protected]> wrote: > > > > > > 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 > > > > > > Signed-off-by: Paul Barker <[email protected]> > > > --- > > > .../packagegroups/packagegroup-arago-sysvinit-boot.bb | 5 +++++ > > > 1 file changed, 5 insertions(+) > > > > > > diff --git > > > a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-sysvinit-boot.bb > > > > > > b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-sysvinit-boot.bb > > > index 2eb2d777..a6e21745 100644 > > > --- > > > a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-sysvinit-boot.bb > > > +++ > > > b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-sysvinit-boot.bb > > > @@ -1,3 +1,8 @@ > > > +python __anonymous() { > > > + if not "sysvinit" in d.getVar("DISTRO_FEATURES").split(): > > > + raise bb.parse.SkipRecipe("sysvinit is not enabled") > > > +} > > > + > > > require recipes-core/packagegroups/packagegroup-core-boot.bb > > > > > > PR = "r0" > > > -- > > > 2.26.2 > > > > > > > Ping. > > Thanks, I'll merge it shortly.
Actually, should this simply use REQUIRED_DISTRO_FEATURES from features_check.bbclass? -- Denys _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
