x86: fix sysupgrades on disks with 4k block size
authorFelix Fietkau <nbd@nbd.name>
Wed, 25 Jan 2017 07:13:11 +0000 (08:13 +0100)
committerFelix Fietkau <nbd@nbd.name>
Wed, 25 Jan 2017 07:14:59 +0000 (08:14 +0100)
commite9ecb228c9d80605884058d7653e2eb56ba64051
tree76388447f0a4dd9957942f442fb14c28105c1344
parente9d21739211261903441d150bc4b74732137c580
x86: fix sysupgrades on disks with 4k block size

Even when the disk uses 4k blocks, the partition table still uses units
of 512 byte sectors. Always use ibs=512 for the offsets

Signed-off-by: Felix Fietkau <nbd@nbd.name>
target/linux/x86/base-files/lib/upgrade/platform.sh