base-files: upgrade: fix efi partitions size calculation
authorJavier Marcet <javier@marcet.info>
Sat, 4 Apr 2020 15:52:29 +0000 (17:52 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Mon, 27 Dec 2021 12:51:41 +0000 (13:51 +0100)
commit018ada5403f02921be22ee0cf49b88b2700ee105
tree23db075f99f70f548e2f436c9d68a88d37e5f3c7
parent66768755791286fc02a38d1b437a9da74290041d
base-files: upgrade: fix efi partitions size calculation

We were missing (not using) the last sector of each partition,
compared with the output of gparted.

Signed-off-by: Javier Marcet <javier@marcet.info>
[moved the dot]
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
package/base-files/files/lib/upgrade/common.sh