commit | 14715ced5bbe551e06009afdd3712f84dc5b1818 | [log] [tgz] |
---|---|---|
author | Tianjie Xu <xunchang@google.com> | Tue Aug 06 17:24:43 2019 -0700 |
committer | Tianjie Xu <xunchang@google.com> | Wed Aug 07 17:23:08 2019 -0700 |
tree | e1e7a694c32bbd9fe74c278cc84b8d98a060b1fb | |
parent | 30fa5f523f850cf425329642fcdfedbb2c47758f [diff] |
Stop using unzip -p when extracting images brillo_update_payload uses `unzip -p` to extract images to a named temp file. But the command doesn't generate an error when the disk is full. This cl creates a helper function and switches to use `unzip -d` to extract the image; and then move the extracted image to the intended name. Bug: 138725843 Test: generate and verify a payload, check the extract error when disk is full Change-Id: I71c2d07de3c1c826f2e07fcc6497437c4051944f