From c5e951697dab294a25fdc2a0f3d44445c2e7d122 Mon Sep 17 00:00:00 2001 From: devmfc Date: Thu, 7 Mar 2024 23:46:49 +0100 Subject: [PATCH] rootdev var: use LABEL= format instead of UUID= by default --- armbianEnv.txt | 4 +++- s905_autoscript | Bin 3504 -> 3506 bytes s905_autoscript.command | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/armbianEnv.txt b/armbianEnv.txt index 897d17c..dfb3439 100644 --- a/armbianEnv.txt +++ b/armbianEnv.txt @@ -9,7 +9,9 @@ console=both fdtfile=amlogic/meson-sm1-x96-air-gbit.dtb # set this to the UUID of the root partition (value can be found in /extlinux/extlinux.conf after APPEND root= or with blkid) -rootdev=UUID=92139c84-3871-41d7-a3f2-e8a943cbfa87 +#rootdev=UUID=92139c84-3871-41d7-a3f2-e8a943cbfa87 +# or use the default partition label: +#rootdev=LABEL=armbi_root # Enable ONLY for gxbb (S905) / gxl (S905X/L/W) to create fake u-boot header #soc_fixup=gxl- diff --git a/s905_autoscript b/s905_autoscript index 36023fe52b6d63e155677ae8d32171e2507b211c..71381b9c2e0e758241c8b3643c5fc726fe370bfb 100644 GIT binary patch delta 70 zcmdlWy-8YLomDbSx@{3h>MIpj1_s_D1}LzOX-{NjVwHvk6{5DowU diff --git a/s905_autoscript.command b/s905_autoscript.command index db2b36a..e6cacc6 100644 --- a/s905_autoscript.command +++ b/s905_autoscript.command @@ -17,7 +17,7 @@ setenv cmd_do_boot booti ${kernel_addr_r} ${initrd_loadaddr} ${fdt_addr_r} setenv overlay_error "false" # default values -setenv rootdev "/dev/mmcblk1p1" +setenv rootdev "LABEL=armbi_root" setenv verbosity "1" setenv console "both" setenv bootlogo "false"