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:13:15 +0000 (08:13 +0100)
commitb02c381b4b817e22a36ce5b2155e9eebcc77e312
tree2197eeb2a1a4f6e8b3d1e23bf2323d4363b809ff
parentd872b732e7e58f14cdbb9c43b2493afc050371bc
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