mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
[FIRSTBOOT] use test -gt
instead for SD check
however we operate on binary values se it will be still 119GB big in reality for 128GB metric
This commit is contained in:
@@ -494,7 +494,7 @@ if (dialog --clear --stdout --ok-label YES --cancel-label NO --title " AUTO-RE
|
||||
\n\n \ZbWARNING:\Zn\n After 10s auto-resize\n of FAT32 partition will begin." 15 60 10); then
|
||||
clear
|
||||
RESIZE_ABORT=false
|
||||
if test "$SD_SIZE_IN_GiB" -ge 128; then
|
||||
if test "$SD_SIZE_IN_GiB" -gt 128; then
|
||||
if (dialog --clear --stdout --ok-label NO --cancel-label YES --title " \Zb\Z1WARNING!\Zn" \
|
||||
--colors --pause "\nYour SD card exceeds max. size for auto-resizing!
|
||||
\n\nWe could however expand it to 118GB. \n\n \ZuDo you AGREE?\Zn
|
||||
|
Reference in New Issue
Block a user