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>
Wed, 29 Dec 2021 20:38:58 +0000 (21:38 +0100)
commite81dd8a10a141936650da707447bdf3f976aab4b
tree0cf5c43f81b2bfa305117289df559357c6ade548
parent8166bbf6803053224a6b5807ed6d1f8391d2021c
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>
(cherry picked from commit 018ada5403f02921be22ee0cf49b88b2700ee105)
package/base-files/files/lib/upgrade/common.sh