summaryrefslogtreecommitdiff
path: root/sargo/regen-carriersettings.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sargo/regen-carriersettings.sh')
-rwxr-xr-xsargo/regen-carriersettings.sh47
1 files changed, 0 insertions, 47 deletions
diff --git a/sargo/regen-carriersettings.sh b/sargo/regen-carriersettings.sh
deleted file mode 100755
index df7335bc..00000000
--- a/sargo/regen-carriersettings.sh
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/bash
-#
-# Copyright (C) 2019-2023 The LineageOS Project
-#
-# SPDX-License-Identifier: Apache-2.0
-#
-
-set -e
-
-# Load extract_utils and do some sanity checks
-MY_DIR="${BASH_SOURCE%/*}"
-if [[ ! -d "${MY_DIR}" ]]; then MY_DIR="${PWD}"; fi
-
-ANDROID_ROOT="${MY_DIR}/../../../.."
-
-HELPER="${ANDROID_ROOT}/tools/extract-utils/extract_utils.sh"
-if [ ! -f "${HELPER}" ]; then
- echo "Unable to find helper script at ${HELPER}"
- exit 1
-fi
-source "${HELPER}"
-
-_input_image="${1}"
-_output_file="${2}"
-
-if [ -z "${_input_image}" ]; then
- echo "No input image supplied"
- exit 1
-fi
-
-if [ -z "${_output_file}" ]; then
- echo "No output filename supplied"
- exit 1
-fi
-
-CARRIER_SKIP_FILES=()
-
-# Initialize the helper
-setup_vendor_deps "${ANDROID_ROOT}"
-
-generate_prop_list_from_image "${_input_image}" "${_output_file}" CARRIER_SKIP_FILES carriersettings
-
-function header() {
- sed -i "1s/^/${1}\n/" "${_output_file}"
-}
-
-header "# All blobs are extracted from Google factory images for each new ASB"