hvk: change default extlinux menu entry to test
authorHugo Villeneuve <hugo@hugovil.com>
Mon, 30 Oct 2023 20:05:39 +0000 (16:05 -0400)
committerHugo Villeneuve <hugo@hugovil.com>
Mon, 30 Oct 2023 21:40:38 +0000 (17:40 -0400)
scripts/hvk-compile.sh

index 7e6b400..a749c43 100755 (executable)
@@ -75,7 +75,7 @@ if [ ${#} -eq 1 ]; then
     rm /tmp/modules.tar.gz
 
     # Switch to latest kernel and DTB:
-    ssh root@${EVK_IP} "fw_setenv image Image-latest; fw_setenv fdt_file latest.dtb"
+    ssh root@${EVK_IP} "sed -i -e 's@^DEFAULT.*@DEFAULT test@' /boot/extlinux/extlinux.conf"
 
     if [ x"${reboot}" = x"1" ]; then
         ssh root@${EVK_IP} "reboot"