sm6225-common: extract-utils: extract CarrierSettings when only list exists

Signed-off-by: MD Raza <delightreza@gmail.com>
Change-Id: Iab770bfcec3fec3b2c0211c6c47e1bc6f675a38e
This commit is contained in:
MD Raza 2024-06-03 02:46:13 +06:00 committed by Michael Bestas
parent dce0970651
commit 8fccbc318d
No known key found for this signature in database
GPG key ID: CC95044519BE6669
2 changed files with 8 additions and 4 deletions

View file

@ -125,9 +125,11 @@ if [ -z "${ONLY_COMMON}" ] && [ -s "${MY_DIR}/../../${VENDOR}/${DEVICE}/propriet
bash "${MY_DIR}/../../${VENDOR}/${DEVICE}/regen-carriersettings.sh" "$EXTRACT_TMP_DIR/super_dump/product.img" "${MY_DIR}/../../${VENDOR}/${DEVICE}/proprietary-files-carriersettings.txt"
fi
extract "${MY_DIR}/../../${VENDOR}/${DEVICE}/proprietary-files-carriersettings.txt" "${SRC}" "${KANG}" --section "${SECTION}"
if [ -f "${MY_DIR}/../../${VENDOR}/${DEVICE}/proprietary-files-carriersettings.txt" ]; then
extract "${MY_DIR}/../../${VENDOR}/${DEVICE}/proprietary-files-carriersettings.txt" "${SRC}" "${KANG}" --section "${SECTION}"
extract_carriersettings
extract_carriersettings
fi
if [ -f "${MY_DIR}/../../${VENDOR}/${DEVICE}/proprietary-firmware.txt" ]; then
extract_firmware "${MY_DIR}/../../${VENDOR}/${DEVICE}/proprietary-firmware.txt" "${SRC}"

View file

@ -43,8 +43,10 @@ if [ -s "${MY_DIR}/../../${VENDOR}/${DEVICE}/proprietary-files.txt" ]; then
# The standard device blobs
write_makefiles "${MY_DIR}/../../${VENDOR}/${DEVICE}/proprietary-files.txt" true
write_rro_package "CarrierConfigOverlay" "com.android.carrierconfig" product
write_single_product_packages "CarrierConfigOverlay"
if [ -f "${MY_DIR}/../../${VENDOR}/${DEVICE}/proprietary-files-carriersettings.txt" ]; then
write_rro_package "CarrierConfigOverlay" "com.android.carrierconfig" product
write_single_product_packages "CarrierConfigOverlay"
fi
if [ -f "${MY_DIR}/../../${VENDOR}/${DEVICE}/proprietary-firmware.txt" ]; then
append_firmware_calls_to_makefiles "${MY_DIR}/../../${VENDOR}/${DEVICE}/proprietary-firmware.txt"