immortalwrt/package
Adrian Schmutzler d28b48af3b
base-files: allow exceptions when removing devicename from LEDs
Without the model-based devicename for LEDs, there are still cases
where a third component is required, typically when it refers to
internal "devices" like phys etc. An example are the following two
found on ramips:

  - rt2800soc-phy0::radio
  - rt2800pci-phy0::radio

So far, the rt2800*-phy: prefixes would be removed by the devicename
removal ("migration") script, and the configuration for these LEDs
would be broken.

To address this, this patch allows to add arguments to a call of
remove_devicename_leds, which will be compared against the first
part of the LED names/labels, and then be ignored by the routine,
and thus not removed:

  remove_devicename_leds "rt2800soc-phy0" "rt2800pci-phy0"

This mechanism is supposed to be used when a "devicename" applies
to several devices. If only a single device is affected, it might
be more effective to use a case statement and exclude the device
from migration by that entirely.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-11-22 01:30:09 +08:00
..
base-files base-files: allow exceptions when removing devicename from LEDs 2020-11-22 01:30:09 +08:00
boot uboot-envtools: ath79: add support for ALFA Network Pi-WiFi4 2020-11-21 17:58:53 +08:00
ctcgfw Merge Mainline 2020-11-21 21:18:28 +08:00
devel Merge Mainline 2020-11-21 18:58:08 +08:00
firmware Merge Mainline 2020-11-08 00:19:27 +08:00
kernel rtl8812au-ac: move to ctcgfw 2020-11-21 21:02:05 +08:00
lean Merge Mainline 2020-11-21 21:18:28 +08:00
libs libjson-c: enable rpath for host builds to fix errors on recent macOS 2020-11-21 17:42:07 +08:00
lienol trojan-go: fix incorrect sort 2020-11-04 22:49:11 +08:00
network netifd: update to the latest version 2020-11-21 21:19:26 +08:00
ntlf9t Merge Mainline 2020-11-21 21:18:28 +08:00
system Merge Mainline 2020-11-15 00:49:56 +08:00
utils Merge Mainline 2020-11-14 14:41:28 +08:00
zxlhhyccc Merge Mainline 2020-09-12 19:20:52 +08:00
Makefile build: always build package/kernel/linux 2020-10-16 19:11:21 +08:00