disk_layout_util.sh: do not misalign partitions after STATE

When resizing STATE, make sure that the resulting partitions following
it have not been misaligned. This assumes that the image was built with
aligned partitions in the first place.

BUG=chromium-os:38100
TEST=link build, manual testing

Change-Id: I9294f014049c900193cf08656932dc24a696cc49
Signed-off-by: Kees Cook <keescook@chromium.org>
Previous-Reviewed-on: https://gerrit.chromium.org/gerrit/43742
(cherry picked from commit 6e2d1a49c27cf8895f71b60a09c1a0e538826f34)
Reviewed-on: https://gerrit.chromium.org/gerrit/44346
Commit-Queue: Haixia Shi <hshi@chromium.org>
Reviewed-by: Haixia Shi <hshi@chromium.org>
Tested-by: Haixia Shi <hshi@chromium.org>
1 file changed