Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2a42aee9 authored by Nikita Ioffe's avatar Nikita Ioffe Committed by Alex Light
Browse files

Call apexd --unmount-all at the end of otapreopt_chroot run

We don't really care for the umount part, but we do care about freeing
up loop and dm block devices so that next run of otapreopt_chroot can
re-use them.

Note that we must run `apexd --unmount-all` inside otapreopt_chroot
itself. This is because otapreopt_chroot runs in /postintall namespace.

Test: install an OTA, check number of loop devices
Test: Install an OTA, cancel during finalization, Restart OTA
Test: forrest test -l remote --test_bench_config asit/crosshatch --extra_args '--delegated-tf ab://tradefed/tradefed/P21446393/.*google-tradefed.zip?unzip=true' ab::P21523880:aosp_crosshatch-userdebug:git_master asit/dexoptota/self_full
Bug: 184716804
Change-Id: I4f01cb9082f90fd40fba4a1864e8d6b548f5a274
parent 8410eca9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment