build: image: make image padding OS agnostic
authorPetr Štetiar <ynezz@true.cz>
Wed, 26 Jun 2019 15:19:28 +0000 (17:19 +0200)
committerPetr Štetiar <ynezz@true.cz>
Thu, 27 Jun 2019 15:15:37 +0000 (17:15 +0200)
commitef5b7aa6c3a58d272c8b4ecdb8b1d970d5436e05
tree1a7a65acb0357cced907ee836514da2edce79736
parent683341d98f0ab6e0a0e7e4de19d41ea9e069c59c
build: image: make image padding OS agnostic

Image padding with dd needs to be done in an OS independent way as not
all dd understand capital letter unit specifiers, and not all understand
lowercase either.

Fixes: 97833a57eff1 ("build: image: add pad-to and pad-rootfs-squashfs helpers")
Reported-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
include/image.mk