commit
c7138905b4
2 changed files with 2 additions and 3 deletions
|
@ -46,7 +46,7 @@ if [ -e /storage/.please_resize_me ] ; then
|
|||
# identify the partition scheme, and if gpt fix minor issues such as gpt header not at end of disk
|
||||
SCHEME=$(blkid -s PTTYPE -o value ${DISK})
|
||||
if [ "$SCHEME" = "gpt" ]; then
|
||||
StartProgress spinner "Checking layout... " "sgdisk -e ${DISK} &>/dev/null"
|
||||
StartProgress spinner "Checking layout... " "parted -fs ${DISK} print &>/dev/null"
|
||||
fi
|
||||
|
||||
StartProgress spinner "Resizing storage partition... " "parted -s -a optimal -m ${DISK} resizepart ${PARTNUM} 100% &>/dev/null"
|
||||
|
|
|
@ -2,8 +2,7 @@
|
|||
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="gptfdisk"
|
||||
PKG_VERSION="1.0.4"
|
||||
PKG_SHA256="b663391a6876f19a3cd901d862423a16e2b5ceaa2f4a3b9bb681e64b9c7ba78d"
|
||||
PKG_VERSION="1.0.9"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.rodsbooks.com/gdisk/"
|
||||
PKG_URL="https://downloads.sourceforge.net/project/$PKG_NAME/$PKG_NAME/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
|
|
Loading…
Reference in a new issue