openwrt/package
Adrian Schmutzler 9b4eab023c 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-10-02 14:51:57 +02:00
..
base-files base-files: allow exceptions when removing devicename from LEDs 2020-10-02 14:51:57 +02:00
boot uboot-rockchip: update NanoPi R2S patches 2020-09-30 00:06:45 +02:00
devel strace: Update to version 5.8 2020-08-31 22:15:26 +02:00
firmware ath10k-firmware: package Wave1 from linux-firmware 2020-09-28 16:23:33 +02:00
kernel mac80211: add support for specifying a per-device scan list 2020-09-29 17:32:26 +02:00
libs openssl: bump to 1.1.1h 2020-09-28 08:49:39 +02:00
network mac80211: add support for specifying a per-device scan list 2020-09-29 17:32:26 +02:00
system refpolicy: fix path to setfiles and checkpolicy 2020-09-30 03:26:12 +01:00
utils policycoreutils: add missing gettext dependency 2020-10-01 04:14:50 +01:00
Makefile build: store SourceDateEpoch in manifest 2020-08-31 11:18:06 +01:00