You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
5 years ago
..
base-files base-files: don't store label MAC address in uci system config 5 years ago
boot ath79: add support for Netgear WNDR4300 5 years ago
devel strace: update to version 5.3 5 years ago
firmware ath10k-firmware: update Candela Tech firmware images 5 years ago
kernel kernel: add crypto_user mod to crypto-user pkg 5 years ago
libs wolfssl: update to v4.2.0-stable 5 years ago
network hostapd: enable PMKSA and OK caching for WPA3-Personal 5 years ago
system procd: Update to version 2019-11-02 5 years ago
utils util-linux: Disable utils requiring libpam 5 years ago
Makefile packages: apply usign padding workarounds to package indexes if needed 5 years ago