-
Notifications
You must be signed in to change notification settings - Fork 96
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
remove lime-hwd-openwrt-wan as dependency of lime-basic #175
Comments
please try it with deactivated lime-proto-wan see flavour "freifunk_zero_minus_opkg_wan" at |
my current flavor looks like this and it does not remove the
In
|
You are right, as lime-hwd-openwrt-wan is part of the lime-basic collection it cannot be removed if you base your flavor on lime-basic. However lime-hwd-openwrt-wan does not has a big impact on the firmware size since it only adds a dependency on lime-proto-wan which do not has any special dependency (such as PPP). So we are talking just about few bytes of LUA code. In any case, if you really want to delete lime-proto-wan from your routers you might create your own flavor NOT based on lime-basic but on the individual packages instead.
Hope it helps. |
Why is it even an extra package then if not having it is unintended?
I reckon modularity is a diverse argument and not only about saving
flash space. The modular approach would be to remove the dependency
and include lime-hwd-openwrt-wan in all the flavors, which makes it
much easier to have flavors which come without it.
|
PR #200 together with libremesh/lime-sdk#20 should solve this. |
@aparcar those PR are not merged yet :) |
I don't see the point for doing this. This package has almost no impact on the flash size and it is useful for autodetecting the WAN ports of the routers (if not enabled, everything is configured as LAN). @aparcar is it really necessary to free these few bytes? I don't think it makes a difference. |
@p4u I'll just deactivate the auto detecting, so I'm fine with whatever option. |
Any other opinion? I think that all this thing is not very important and we could just keep things unchanged, as @p4u writes, but it would be slightly better to remove |
Inactivity for more than one month, is there still interest on this or shall we close it? |
nope |
yes, im still very interested on this "feature". |
btw @p4u said "if you really want to delete lime-proto-wan from your routers you might create your own flavor". |
Now you can do it creating a network profile: https://github.com/libremesh/lime-sdk#communities |
The problem is that in my network profile I may definitely want to include |
Including lime-basic implies to include all those packages (that is it's definition). In order to include lime-basic but not other packages, the approach would be to not include lime-basic but only those packages that are relevant. The reason I understand it is called lime-basic is because it is the basic LibreMesh experience.
I believe that the I agree with @p4u that GW autodetect is a core feature of libremesh, and thus doesn't have to be taken out. On the other hand, if there is a usecase where a non-auto-gw profile should be added, I believe @FreifunkUFO should be able to create it. Maybe we can move the conversation there. |
creating a new flavor with
-lime-hwd-openwrt-wan
does not work anymore.I want to create an image for routers with low power not needing any gateway capabilities.
The text was updated successfully, but these errors were encountered: