Support SX upgrades starting with 30GB partition
The platform backup partition has been increased to 30GB. During upgrade start we need to ensure it is 10GB or greater. Story: 2008966 Task: 44063 Signed-off-by: David Sullivan <david.sullivan@windriver.com> Change-Id: I18ec5cae7eab9eecb42056a1c16b6d055cda4ebc
This commit is contained in:
parent
ced5ccd805
commit
f06b78f671
|
@ -41,7 +41,7 @@ for part_number in "${part_numbers[@]}"; do
|
|||
part_end_mib=$((($(echo "$sgdisk_part_info" | grep "$part_last_sector_str" | awk '{print $3;}') * $sector_size / (1024*1024)) + 1))
|
||||
part_size_mib=$((part_end_mib-part_start_mib))
|
||||
log "Found platform-backup partition with size: $part_size_mib"
|
||||
if [ $part_size_mib -eq $PLATFORM_BACKUP_SIZE ]; then
|
||||
if [ $part_size_mib -ge $PLATFORM_BACKUP_SIZE ]; then
|
||||
log "Success"
|
||||
exit 0
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue