Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
After noticing almost every distro has their own method of managing config fragments, I went looking at some best practices, and wanted to try to consolidate some of the different approaches so this fairly simple infrastructure can be shared (and new distros/build systems don't have to implement yet another config fragment merge script). This script is most influenced by the Windriver tools used in the Yocto Project, reusing some portions found there. This script merges multiple config fragments, warning on any overridden values. It then sets any unspecified values to their default, then finally checks to make sure no specified value was dropped due to unsatisfied dependencies. I'm sure this implementation won't work for everyone, and I expect it will need to evolve to adapt for various use cases. But I think its a reasonable starting point. Cc: Sam Ravnborg <[email protected]> Cc: Greg Thelen <[email protected]> Cc: Reinhard Tartler <[email protected]> Cc: Dmitry Fink <[email protected]> Cc: Darren Hart <[email protected]> Cc: Eric B Munson <[email protected]> Cc: Bruce Ashfield <[email protected]> Cc: Michal Marek <[email protected]> Signed-off-by: John Stultz <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Michal Marek <[email protected]>
- Loading branch information