Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle dynamic layers gracefully #19

Open
haadr opened this issue Apr 5, 2023 · 0 comments
Open

Handle dynamic layers gracefully #19

haadr opened this issue Apr 5, 2023 · 0 comments

Comments

@haadr
Copy link

haadr commented Apr 5, 2023

When you disable a layer for a certain product the path of the layer will be masked using BBMASK. However, the layer will still be in the BBFILE_COLLECTIONS at parse time. This means that dynamic layers, added by layer.conf files using BBFILES_DYNAMIC, are still added even though we've marked them as not-in-use for a product in whisk.yaml. This may generate warnings about not being able to find the bb files needed for bbappend files or it may lead to other unwanted behavior.

I haven't been able to find a good solution for this. It seems that the various layer.confs are parsed globally once, at the start, and not per multiconfig.

Any ideas are welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant