From c3319322b2eec0769a380a14094c3c7482387a03 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Wed, 30 Sep 2020 20:49:57 +0200 Subject: lantiq: remove model name from LED labels Like in the previous patches for other targets, this will remove the "devicename" from LED labels in lantiq. The devicename is removed in DTS files and 01_leds, consolidation of definitions into DTSI files is done where (easily) possible, and migration scripts are updated. The DTS/DTSI consolidation is only performed for files-5.4. For lantiq,easy98020 some LED definitions have the form "devicename:function" without the color, so we need to implement explicit migration for that one. Signed-off-by: Adrian Schmutzler --- .../lantiq/ase/base-files/etc/uci-defaults/01_led_migration | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 target/linux/lantiq/ase/base-files/etc/uci-defaults/01_led_migration (limited to 'target/linux/lantiq/ase/base-files/etc/uci-defaults') diff --git a/target/linux/lantiq/ase/base-files/etc/uci-defaults/01_led_migration b/target/linux/lantiq/ase/base-files/etc/uci-defaults/01_led_migration new file mode 100644 index 0000000000..46b8a47e8a --- /dev/null +++ b/target/linux/lantiq/ase/base-files/etc/uci-defaults/01_led_migration @@ -0,0 +1,11 @@ +# +# Copyright (C) 2020 OpenWrt.org +# + +. /lib/functions/migrations.sh + +remove_devicename_leds + +migrations_apply system + +exit 0 -- cgit v1.2.3