Verified Commit 1c3769dc authored by
Add options --model and --board
This also moves some configuration variables from backend to separate syscnf module. Original design where hard coded in values were used as defaults is not replaced with design where set function is required to be called before anything is done. Commonly that is suppose to be done in C before we start using other Lua modules. Thanks to new options --model and --board we can now set target even outside of the router environment without requiring /tmp tainting. It's now also not possible to run updater's executables on non-openwrt platform without specifying those two options.
Showing with 305 additions and 163 deletions
This diff is collapsed.