immortalwrt/package
Adrian Schmutzler 1398716680 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>
2020-10-13 18:52:50 +08:00
..
base-files base-files: don't store label MAC address in uci system config 2020-10-13 18:52:50 +08:00
boot ipq40xx: sync upstream source code 2020-09-16 11:38:38 +08:00
ctcgfw v2ray-plugin : update v1.6.0 2020-10-09 18:11:03 +08:00
devel trace-cmd: disable AUDIT (libaudit library) 2020-10-12 11:28:31 +08:00
firmware linux-firmware: update to 20200918 2020-10-04 21:47:20 +08:00
kernel mac80211: do not allow bigger VHT MPDUs than the hardware supports 2020-10-12 17:32:28 +08:00
lean frp: version bump to v0.34.1 2020-10-10 17:35:18 +08:00
libs openssl: bump to 1.1.1h 2020-09-28 15:00:32 +08:00
lienol luci-app-passwall: bump to 3.9-70 2020-10-11 16:46:11 +08:00
network uhttpd: update to latest Git HEAD 2020-10-05 14:25:29 +08:00
ntlf9t openwrt-udp2raw: bump to 20200818.0 2020-10-07 03:02:38 +08:00
system selinux-policy: adds new package 2020-10-09 11:31:08 +08:00
utils policycoreutils: add missing gettext dependency 2020-10-12 11:21:10 +08:00
zxlhhyccc syncthing: bump to 1.9.0 2020-09-12 17:57:42 +08:00
Makefile build: store SourceDateEpoch in manifest 2020-09-01 17:31:29 +08:00