[RFC] packages/fff: introduce fff-defaults for selected packages #97
No reviewers
Labels
No Label
RFC
RFT
WIP
blocked
bsp
bug
build/scripts/tools
duplicate
feature
fixed
layer3
mantis
more details required
needs changes
node
packages/fff
rejected
security
trivial
upstream
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: freifunk-franken/firmware#97
Loading…
Reference in New Issue
No description provided.
Delete Branch "adschm/firmware:fffdefaults"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In principle, the uci-defaults files are meant for providing standard
values for a specific package. Our firmware is effectively abusing
this concept by using uci-defaults to set defaults for other
packages, e.g. fff-dhcp setting defaults for dnsmasq.
While this works relatively well for the current firmware, it
completely breaks apart if the packages are used as a feed for
vanilla OpenWrt.
Thus, in preparation for making the packages available for such a
scenario (read: "use packages as packages"), this moves all custom
defaults we set for other packages to a directory "fff-defaults".
If the firmware is built with buildscript (and sets the new
FFF_VARIANT variable), this is copied back to uci-defaults as usual.
But without that script, we now have "our" config in a dedicated
directory where we can use it otherwise as well.
This depends on my previous PR #96 that introduced FFF_VARIANT.
packages/fff: introduce fff-defaults for selected packagesto [RFC] packages/fff: introduce fff-defaults for selected packagesPull request closed