openwrt/package
Adrian Schmutzler a6fbdd3a78 base-files: don't store label MAC address in uci system config
If set, label MAC address is available from one of two sources,
device tree or board.json. So far, the function get_mac_label
was meant for retrieving the address, while an option in uci
system config was specified only for case 2 (board.json).

The uci config option has several drawbacks:
- it is only used for a fraction of devices (those not in DT)
- label MAC address is a device property, while config implies
  user interaction
- label_macaddr option will only be set if /etc/config/system
  does not exist (i.e. only for new installations)

Thus, this patch changes the behavior of get_mac_label:
Instead of writing the value in board.json to uci system config
and reading from this location afterwards, get_mac_label now
extracts data from board.json directly. The uci config option
won't be used anymore.
In addition, two utility functions for extraction only from DT
or from board.json are introduced.

Since this is only changing the access to the label MAC address, it
won't interfere with the addresses stored in the code base so far.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-11-07 17:13:18 +01:00
..
base-files base-files: don't store label MAC address in uci system config 2019-11-07 17:13:18 +01:00
boot ath79: add support for Netgear WNDR4300 2019-11-02 19:29:30 +01:00
devel strace: update to version 5.3 2019-10-20 12:33:40 +02:00
firmware ath10k-firmware: update Candela Tech firmware images 2019-11-05 15:43:22 +01:00
kernel kernel: add crypto_user mod to crypto-user pkg 2019-11-06 23:27:20 +01:00
libs wolfssl: update to v4.2.0-stable 2019-11-06 23:23:53 +01:00
network hostapd: enable PMKSA and OK caching for WPA3-Personal 2019-11-04 18:46:54 +01:00
system procd: Update to version 2019-11-02 2019-11-03 20:25:07 +01:00
utils util-linux: Disable utils requiring libpam 2019-10-27 14:25:30 +01:00
Makefile packages: apply usign padding workarounds to package indexes if needed 2019-08-07 07:15:07 +02:00