5234ad466c
And set it to false when installing recovery image via applypatch. We only need to back up the source partition when doing in-place update (e.g. when updating a given partition under recovery). When installing recovery image via applypatch, we won't touch the source partition (i.e. /boot). Removing the backup step also allows dropping the dac_override_allowed permission. Previously it was needed due to the access to /cache. Because applypatch runs as root:root, while /cache is owned by system:cache with 0770. Bug: 68319577 Test: Invoke the code that installs recovery image; check that recovery is installed successfully without denials. Test: recovery_unit_test passes on taimen. Change-Id: I549a770b511762189d6672a2835b6e403d695919 |
||
---|---|---|
.. | ||
host | ||
applypatch_modes_test.cpp | ||
applypatch_test.cpp | ||
asn1_decoder_test.cpp | ||
bootloader_message_test.cpp | ||
commands_test.cpp | ||
dirutil_test.cpp | ||
edify_test.cpp | ||
fuse_provider_test.cpp | ||
fuse_sideload_test.cpp | ||
install_test.cpp | ||
locale_test.cpp | ||
minui_test.cpp | ||
package_test.cpp | ||
parse_install_logs_test.cpp | ||
rangeset_test.cpp | ||
resources_test.cpp | ||
screen_ui_test.cpp | ||
sysutil_test.cpp | ||
uncrypt_test.cpp | ||
update_verifier_test.cpp | ||
updater_test.cpp | ||
verifier_test.cpp | ||
zip_test.cpp |