Merge "fastboot: Add system_dlkm flashing support"
This commit is contained in:
commit
5785297922
2 changed files with 5 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ _fastboot_cmd_flash() {
|
|||
|
||||
cur="${COMP_WORDS[COMP_CWORD]}"
|
||||
if [[ $i -eq $COMP_CWORD ]]; then
|
||||
partitions="boot bootloader dtbo modem odm odm_dlkm oem product pvmfw radio recovery system vbmeta vendor vendor_dlkm"
|
||||
partitions="boot bootloader dtbo modem odm odm_dlkm oem product pvmfw radio recovery system system_dlkm vbmeta vendor vendor_dlkm"
|
||||
COMPREPLY=( $(compgen -W "$partitions" -- $cur) )
|
||||
else
|
||||
_fastboot_util_complete_local_file "${cur}" '!*.img'
|
||||
|
|
|
|||
|
|
@ -152,6 +152,10 @@ static Image images[] = {
|
|||
{ "recovery", "recovery.img", "recovery.sig", "recovery", true, ImageType::BootCritical },
|
||||
{ "super", "super.img", "super.sig", "super", true, ImageType::Extra },
|
||||
{ "system", "system.img", "system.sig", "system", false, ImageType::Normal },
|
||||
{ "system_dlkm",
|
||||
"system_dlkm.img", "system_dlkm.sig",
|
||||
"system_dlkm",
|
||||
true, ImageType::Normal },
|
||||
{ "system_ext",
|
||||
"system_ext.img", "system_ext.sig",
|
||||
"system_ext",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue