base-files: Align rootfs_data upgrades to 64KiB on eMMC
authorBrian Norris <computersforpeace@gmail.com>
Sun, 13 Mar 2022 06:04:30 +0000 (22:04 -0800)
committerChristian Lamparter <chunkeey@gmail.com>
Wed, 16 Mar 2022 16:50:06 +0000 (17:50 +0100)
commite8a0c55909427703b7c72ed46326531397287b20
tree10ba5fbd1bfb9d61c368739b4bc1f208d906ba3a
parente17c6ee62770005e398364ee5d955c9a8ab6f016
base-files: Align rootfs_data upgrades to 64KiB on eMMC

Rootfs overlays get created at a ROOTDEV_OVERLAY_ALIGN (64KiB)
alignment after the rootfs, but emmc_do_upgrade() is assuming
it comes at the very next 512-byte sector.

Suggested-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
(move spaces around, mention fstools' libtoolfs)
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
package/base-files/files/lib/upgrade/emmc.sh