No description
5cbcdfae4e
Changing is_retrofit_device() to work in bootloader. Previously flashall flow was to boot into fastbootd and then make a call to get "super-image-name", however this does not work in bootloader. Since all tasks are generated ahead of time, this old check will now fail and we will fail to add the correct delete tasks in collectTasks(). This change does make it so that is_retrofit check only works during fastboot flashall + fastboot update (since this function is only used here, nothing is currently affected). To determine if a device is retrofit, it must satisfy two conditions -> Has dynamic partitions && does not contain a super partition. The check for if source has super_empty.img is sufficient for determining if a device has dynamic partitions and if any single partition has LP_PARTITION_ATTR_SLOT_SUFFIXED it is determined to be retrofit Test: logs from fastboot update on sargo device confirms this check returns true. Fastboot update on sargo Bug: 300287332 Change-Id: Iadf5c56de51993a79307c60e45d6cc4988436f23 |
||
---|---|---|
bootstat | ||
cli-test | ||
code_coverage | ||
debuggerd | ||
diagnose_usb | ||
fastboot | ||
fs_mgr | ||
gatekeeperd | ||
healthd | ||
include | ||
init | ||
janitors | ||
libappfuse | ||
libasyncio | ||
libcrypto_utils | ||
libcutils | ||
libgrallocusage | ||
libkeyutils | ||
libmodprobe | ||
libnetutils | ||
libpackagelistparser | ||
libprocessgroup | ||
libsparse | ||
libstats | ||
libsuspend | ||
libsync | ||
libsystem | ||
libsysutils | ||
libusbhost | ||
libutils | ||
libvndksupport | ||
llkd | ||
mini_keyctl | ||
mkbootfs | ||
property_service | ||
reboot | ||
rootdir | ||
run-as | ||
sdcard | ||
shell_and_utilities | ||
storaged | ||
toolbox | ||
trusty | ||
usbd | ||
watchdogd | ||
.clang-format | ||
.clang-format-2 | ||
.clang-format-4 | ||
.gitignore | ||
CleanSpec.mk | ||
METADATA | ||
MODULE_LICENSE_APACHE2 | ||
OWNERS | ||
PREUPLOAD.cfg | ||
rustfmt.toml |