diff options
author | Howard Chen <howardsoc@google.com> | 2020-12-25 17:32:20 +0800 |
---|---|---|
committer | Howard Chen <howardsoc@google.com> | 2021-03-10 12:56:15 +0800 |
commit | 56c2eaad923aa5dd9be2dec033ecfd445e3d51af (patch) | |
tree | f238320a40929d02fa4ff39590f965dac6dc1175 | |
parent | 5c3e9480060a8bfb9ee3e5e48fadbcd50778922a (diff) | |
download | gsid-56c2eaad923aa5dd9be2dec033ecfd445e3d51af.tar.gz |
Create the backing file for the PersistentDataBlock
In order to support the test harness mode in DSU. A copy-on-write
mechanism is added to the system server to protect the on-device
PersistentDataBlock from any modification. When running a DSU, all
write operations are redirected to a backing file. This CL creates
the backing file with rc file to get the correct se file label.
Bug: 175852148
Test: gsi_tool install
Change-Id: I739e28a4cbc36330e1ba39de0e8b7d5a111617f7
-rw-r--r-- | gsid.rc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -12,6 +12,8 @@ on post-fs mkdir /metadata/gsi/remount 0771 root system on post-fs-data + write /data/gsi_persistent_data 0 + chown system system /data/gsi_persistent_data mkdir /data/gsi 0700 root root encryption=None mkdir /data/gsi/dsu 0700 root root mkdir /data/gsi/ota 0700 root root |