-
Notifications
You must be signed in to change notification settings - Fork 325
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
image-customization: add is_cellular_device and is_outdoor_device #3316
Comments
I see there's an interest in aggregating selection criterias for this in Gluon. I don't like the idea in maintaining such a list in the main repository. This is due to decision making based on small amount of people, and the expectation this gets actively maintained. I see the community-packages as a good example to establish a middle ground for this. What about creating a repository communities can reference which provides selection criteria and is maintained by the community self-governing? |
We currently do have maintained lists of cellular and outdoor routers in gluon-core: And I do not see this going away soon? That said, I would not have a problem of maintaining such lists downstream in a community-maintained repository - as this could then also contain Then we would only need to have #3148 merged and backported to create a snippet which can be included right? 😊 |
@maurerle We have the list for runtime functionality, however we can not use them as-is at build-time, so they do not relate in the use-case you are describing. There was a case made by @grische to select based on RAM / flash-size. Handling both by extracting selectors out of gluon for the image-customization is a long-term solution for all sorts of selection criteria. That being said, providing some kind of universal (extensible) selection mechanic which we can call at run-time as well as build-time is preferred, yes. |
It would be quite handy to be able to call:
is_cellular_device
andis_outdoor_device
from platform.lua in the image-customization.luagluon/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua
Line 25 in 9a8ee57
Originally posted by @maurerle in #3054 (comment)
This might be handled by one of the following:
What is the preferred way to tackle this in the future @blocktrron?
The text was updated successfully, but these errors were encountered: