Skip to content

Commit

Permalink
rootdev var: use LABEL= format instead of UUID= by default
Browse files Browse the repository at this point in the history
  • Loading branch information
devmfc committed Mar 7, 2024
1 parent dcd268c commit c5e9516
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion armbianEnv.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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-
Expand Down
Binary file modified s905_autoscript
Binary file not shown.
2 changes: 1 addition & 1 deletion s905_autoscript.command
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c5e9516

Please sign in to comment.