diff --git a/config/common.mk b/config/common.mk index 3543fdadbefa89ec73ac5a0d055e7549d58b06fe..a2045975b3f61a8155108cd30a001050161a6c4c 100644 --- a/config/common.mk +++ b/config/common.mk @@ -42,11 +42,7 @@ endif # Backup Tool PRODUCT_COPY_FILES += \ vendor/lineage/prebuilt/common/bin/backuptool.sh:install/bin/backuptool.sh \ - vendor/lineage/prebuilt/common/bin/backuptool.functions:install/bin/backuptool.functions \ - vendor/lineage/prebuilt/common/bin/50-lineage.sh:$(TARGET_COPY_OUT_SYSTEM)/addon.d/50-lineage.sh - -PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \ - system/addon.d/50-lineage.sh + vendor/lineage/prebuilt/common/bin/backuptool.functions:install/bin/backuptool.functions ifneq ($(strip $(AB_OTA_PARTITIONS) $(AB_OTA_POSTINSTALL_CONFIG)),) PRODUCT_COPY_FILES += \ diff --git a/prebuilt/common/bin/50-lineage.sh b/prebuilt/common/bin/50-lineage.sh deleted file mode 100755 index 7ee38454f607b6dfe3552a380e9ddeac7fec9f40..0000000000000000000000000000000000000000 --- a/prebuilt/common/bin/50-lineage.sh +++ /dev/null @@ -1,43 +0,0 @@ -#!/sbin/sh -# -# ADDOND_VERSION=2 -# -# /system/addon.d/50-lineage.sh -# During a LineageOS upgrade, this script backs up /system/etc/hosts, -# /system is formatted and reinstalled, then the file is restored. -# - -. /tmp/backuptool.functions - -list_files() { -cat <