diff options
author | Tao Bao <tbao@google.com> | 2016-10-07 10:20:52 -0700 |
---|---|---|
committer | Tao Bao <tbao@google.com> | 2016-10-07 16:14:27 -0700 |
commit | 3b5fbd833141fde386615176cd6989b51491b15a (patch) | |
tree | efe6bcd03bda29aa9a8c916a819f97df04571af9 /libunwindstack/tests/MemoryFileTest.cpp | |
parent | 8caf4e7443527a7b587020cec1559f7e498d0023 (diff) |
mkbootfs: Fix the default st_mode for root directory.
CL in [1] fixed the wrong mode for the root directory from 0644 to 0755.
However it only handles the path by calling mkbootfs with canned
fs_config (i.e. with -f flag). When calling mkbootfs without -f flag, it
still treats the root directory as a file. This renders the generated
boot/recovery images w/ and w/o -f being different, and leads to the
incorrect checksums in /system/bin/install-recovery.sh.
[1] commit aa8f2f65a030f71506277e2a8d64d83a099e9feb.
Bug: 31988535
Test: `make dist` and verify the checksums in /system/bin/install-recovery.sh.
Change-Id: Ib50fadb23367da0b46944ae0579093da21412593
Diffstat (limited to 'libunwindstack/tests/MemoryFileTest.cpp')
0 files changed, 0 insertions, 0 deletions