commit | 788c2d9b4b4da52f0874c391bda59610625e66aa | [log] [tgz] |
---|---|---|
author | Sen Jiang <senj@google.com> | Wed Mar 09 12:48:40 2016 -0800 |
committer | Sen Jiang <senj@google.com> | Wed Mar 09 13:02:53 2016 -0800 |
tree | 11343ac17f1ddb762445676ca04358e649e19dd2 | |
parent | a3553e42ce7255034044f364f72516b29417bbdc [diff] |
brillo_update_payload: Keep the partitions order. The order in associative array is based on hash, but we need to make sure it's always rootfs and then kernel for Chrome OS. This patch adds a PARTITIONS_ORDER array and pass it to extract_image() for target image. For Android/Brillo, it will use ab_partitions_list.txt if found, for Chrome OS, it's always ( "system" "boot" ). Bug: None Test: Generated payload for edison and peppy. Change-Id: I29672befa14045573cba497784b67629a21578bf