]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
tegra: add 6.12 as testing kernel
authorTomasz Maciej Nowak <tmn505@gmail.com>
Wed, 18 Jun 2025 16:59:35 +0000 (18:59 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 12 Jul 2025 22:49:37 +0000 (00:49 +0200)
Introduce LED migration script as the names have changed.

Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
Link: https://patchwork.ozlabs.org/project/openwrt/patch/20250618170045.473711-8-tmn505@terefe.re/
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/tegra/Makefile
target/linux/tegra/base-files/etc/uci-defaults/04_led_migration [new file with mode: 0644]

index b917ea909d665f7acee64125f8f5a4347f8def2c..9e1bf15e7f4849b1abab76e25ff2e009ae519499 100644 (file)
@@ -13,6 +13,7 @@ CPU_SUBTYPE := vfpv3-d16
 SUBTARGETS := generic
 
 KERNEL_PATCHVER := 6.6
+KERNEL_TESTING_PATCHVER := 6.12
 
 include $(INCLUDE_DIR)/target.mk
 
diff --git a/target/linux/tegra/base-files/etc/uci-defaults/04_led_migration b/target/linux/tegra/base-files/etc/uci-defaults/04_led_migration
new file mode 100644 (file)
index 0000000..20bfab2
--- /dev/null
@@ -0,0 +1,16 @@
+. /lib/functions.sh
+. /lib/functions/migrations.sh
+
+board=$(board_name)
+
+case "$board" in
+compulab,trimslice)
+       migrate_leds "trimslice:green:right=green:indicator-2" "trimslice:green:left=green:indicator-3"
+       ;;
+esac
+
+remove_devicename_leds
+
+migrations_apply system
+
+exit 0