Snap for 16143735 from ef17d77d90d33d2d3f89a43fd62c945c5dfb4247 to 26Q4-release Change-Id: If25c45d9d8af67619cc5cef532771cd41b4713ec Signed-off-by: Coastguard Worker <android-build-coastguard-worker@google.com>
diff --git a/tools/flash_device.sh b/tools/flash_device.sh index fc08c4b..c5750eb 100755 --- a/tools/flash_device.sh +++ b/tools/flash_device.sh
@@ -870,6 +870,8 @@ _new_file_name="boot.img" elif [[ "$_pattern" == system_dlkm* && "$_pattern" != system_dlkm_staging_* ]]; then _new_file_name="system_dlkm.img" + elif [[ "$_pattern" == "kernel_aarch64_*Module.symvers" ]]; then + _new_file_name="kernel_aarch64_Module.symvers" fi if [[ "$_pattern" == "gsi_arm64-img-*.zip" ]]; then eval "unzip -j $_full_file_path/gsi_arm64-img-*.zip boot-5.10-lz4.img" -d "$_kernel_dir/boot.img" @@ -950,6 +952,8 @@ _new_file_name="vendor_ramdisk_fragment_extra.img" elif [[ "$_pattern" == "abi_gki_aarch64_pixel" ]]; then _new_file_name="extracted_symbols" + elif [[ "$_pattern" == "kernel_aarch64_*Module.symvers" ]]; then + _new_file_name="kernel_aarch64_Module.symvers" fi create_soft_link "$_full_file_name" "$_vendor_kernel_dir/$_new_file_name" @@ -1430,7 +1434,7 @@ local _flash_cmd if [[ "$PLATFORM_BUILD" == ab://* ]]; then _flash_cmd="$CL_FLASH_CLI --nointeractive --force_flash_partitions -w" - _flash_cmd+=" -s ${ADB_SERIAL_NUMBER:-${FASTBOOT_SERIAL_NUMBER:-${DEVICE_SERIAL_NUMBER:-$SERIAL_NUMBER}}}" + _flash_cmd+=" -s ${DEVICE_SERIAL_NUMBER:-${FASTBOOT_SERIAL_NUMBER:-${ADB_SERIAL_NUMBER:-$SERIAL_NUMBER}}}" if [[ "$DISABLE_VERIFICATION" == "true" ]]; then _flash_cmd+=" --disable_verity --disable_verification"