Merge changes from topic "modules_partition"
* changes: fastboot: add modules partition rootdir: Add modules directory
This commit is contained in:
commit
135508168a
|
@ -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 radio recovery system vbmeta vendor vendor_dlkm"
|
||||
partitions="boot bootloader dtbo modem modules odm odm_dlkm oem product radio recovery system vbmeta vendor vendor_dlkm"
|
||||
COMPREPLY=( $(compgen -W "$partitions" -- $cur) )
|
||||
else
|
||||
_fastboot_util_complete_local_file "${cur}" '!*.img'
|
||||
|
|
|
@ -144,6 +144,7 @@ static Image images[] = {
|
|||
{ "cache", "cache.img", "cache.sig", "cache", true, ImageType::Extra },
|
||||
{ "dtbo", "dtbo.img", "dtbo.sig", "dtbo", true, ImageType::BootCritical },
|
||||
{ "dts", "dt.img", "dt.sig", "dts", true, ImageType::BootCritical },
|
||||
{ "modules", "modules.img", "modules.sig", "modules", true, ImageType::Normal },
|
||||
{ "odm", "odm.img", "odm.sig", "odm", true, ImageType::Normal },
|
||||
{ "odm_dlkm", "odm_dlkm.img", "odm_dlkm.sig", "odm_dlkm", true, ImageType::Normal },
|
||||
{ "product", "product.img", "product.sig", "product", true, ImageType::Normal },
|
||||
|
|
|
@ -141,6 +141,9 @@ LOCAL_POST_INSTALL_CMD += ; mkdir -p $(TARGET_ROOT_OUT)/odm_dlkm
|
|||
# via /odm/lib/modules directly.
|
||||
LOCAL_POST_INSTALL_CMD += ; ln -sf /odm/odm_dlkm/etc $(TARGET_ROOT_OUT)/odm_dlkm/etc
|
||||
|
||||
# For /modules partition.
|
||||
LOCAL_POST_INSTALL_CMD += ; mkdir -p $(TARGET_ROOT_OUT)/modules
|
||||
|
||||
ifdef BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE
|
||||
LOCAL_POST_INSTALL_CMD += ; mkdir -p $(TARGET_ROOT_OUT)/cache
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue