fastboot: Add vendor_dlkm
Test: add vendor_dlkm partition and flash Bug: 156020364 Change-Id: If6794ca5a76613a1a3337a4637edd1d364eff5dd
This commit is contained in:
parent
9374a9c6f7
commit
6b1c15c063
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 oem product radio recovery system vbmeta vendor"
|
||||
partitions="boot bootloader dtbo modem odm oem product radio recovery system vbmeta vendor vendor_dlkm"
|
||||
COMPREPLY=( $(compgen -W "$partitions" -- $cur) )
|
||||
else
|
||||
_fastboot_util_complete_local_file "${cur}" '!*.img'
|
||||
|
|
|
|||
|
|
@ -166,6 +166,10 @@ static Image images[] = {
|
|||
"vendor_boot.img", "vendor_boot.sig",
|
||||
"vendor_boot",
|
||||
true, ImageType::BootCritical },
|
||||
{ "vendor_dlkm",
|
||||
"vendor_dlkm.img", "vendor_dlkm.sig",
|
||||
"vendor_dlkm",
|
||||
true, ImageType::Normal },
|
||||
{ nullptr, "vendor_other.img", "vendor.sig", "vendor", true, ImageType::Normal },
|
||||
// clang-format on
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue