summaryrefslogtreecommitdiff
path: root/scripts/update_payload/format_utils.py
diff options
context:
space:
mode:
authorSen Jiang <senj@google.com>2017-11-02 18:35:56 -0700
committerTreehugger Robot <treehugger-gerrit@google.com>2017-11-04 02:08:33 +0000
commitd37c81f9ff3be9d2b31f9f306d867ed4d8242117 (patch)
tree710b8980f1f4ae37bb654604986d3b3a7dfaa13f /scripts/update_payload/format_utils.py
parent02c4942cbf76441dfdc7412e5b5ae0402b313e80 (diff)
Make sure loop device isn't read only.
In some cases the loop device is read only by default, if we want to write to it, we should set BLKROSET to 0, otherwise mounting will fail with permission deny. Bug: 68805558 Test: update_engine_unittests pass Change-Id: If5eb7aa2dc97858bfb03aac2ceb5c01e055fe06f (cherry picked from commit 2532da227e2a9313e95352bb47294a5f2ec0b7e0)
Diffstat (limited to 'scripts/update_payload/format_utils.py')
0 files changed, 0 insertions, 0 deletions