[OpenWrt-Devel] ar71xx Vs ath79 -- sysupgrade
Piotr Dymacz
pepe2k at gmail.com
Tue Dec 4 16:57:58 EST 2018
Hi Henrique,
On 04.12.2018 17:08, Henrique de Moraes Holschuh wrote:
>> Another aspect was the LED configuration, as LED naming is very
>> inconsistent and often differs from ar71xx. Some LEDs are now not
>> included in UCI configuration. >
>> So you either need to delete (and recreate) them ore just dump your
>> '/etc/config/system' and recreate it using "config_generate".
>
> Is it possible to have uci-defaults/ to fix those on upgrade (i.e. when
> it detects ar71xx-style traces in the system)? As well as the wmac path?
>
> Because a _lot_ of people will need to do ar71xx->ath79.
ar71xx already includes such "migration" uci-defaults scripts and I
believe we could use something similar in ath79 to make the update
transparent for users (fix wmac path, LED names etc.). LED example:
https://github.com/openwrt/openwrt/blob/master/target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration
--
Cheers,
Piotr
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list