tn3399_openwrt/package
Sungbo Eo 298814e6be base-files: config_generate: split macaddr with multiple ifaces
netifd does not handle network.@device[x].name properly if it
contains multiple ifaces separated by spaces. Due to this, board.d
lan_mac setup does not work if multiple ifaces are set to LAN by
ucidef_set_interface_lan.

To fix this, create a device node for each member iface when
running config_generate instead. Those are named based on the
member ifname:

  ucidef_set_interface_lan "eth0 eth1.1"
  ucidef_set_interface_macaddr "lan" "yy:yy:yy:yy:yy:01"

will return

  config device 'lan_eth0_dev'
        option name 'eth0'
        option macaddr 'yy:yy:yy:yy:yy:01'

  config device 'lan_eth1_1_dev'
        option name 'eth1.1'
        option macaddr 'yy:yy:yy:yy:yy:01'

ref: https://github.com/openwrt/openwrt/pull/2542

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
[always use new scheme, extend description, change commit title]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-11-23 11:58:27 +01:00
..
base-files base-files: config_generate: split macaddr with multiple ifaces 2019-11-23 11:58:27 +01:00
boot uboot-mvebu: add uDPU board 2019-11-21 07:32:41 +01:00
devel strace: Fix build on PowerPC 2019-11-09 20:13:41 +01:00
firmware wireless-regdb: Make it build with python2 2019-11-21 23:47:35 +01:00
kernel mac80211: add default value for noscan 2019-11-23 11:28:27 +01:00
libs libnl-tiny: update to latest Git head 2019-11-14 22:53:31 +01:00
network dnsmasq: correct sense & usage of dnsseccheckunsigned 2019-11-23 08:29:15 +00:00
system fwtool: update to latest Git head 2019-11-14 22:53:31 +01:00
utils e2fsprogs: Fix CVE-2019-5094 in libsupport 2019-11-22 22:48:01 +01:00
Makefile packages: apply usign padding workarounds to package indexes if needed 2019-08-07 07:15:07 +02:00