sm8250-common: Remove install-recovery.sh
* Cringe bro Change-Id: I20656cc2eeca036f5e446b4d16675ed792b3f2d3
This commit is contained in:
parent
284fdf3e93
commit
4ff0cae557
1
kona.mk
1
kona.mk
@ -351,7 +351,6 @@ PRODUCT_PACKAGES += \
|
||||
init.qti.dcvs.sh \
|
||||
init.qti.media.sh \
|
||||
init.qti.qcv.sh \
|
||||
install-recovery.sh \
|
||||
mishow.sh \
|
||||
qca6234-service.sh \
|
||||
|
||||
|
@ -129,14 +129,6 @@ LOCAL_SRC_FILES := bin/init.qti.qcv.sh
|
||||
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES)
|
||||
include $(BUILD_PREBUILT)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := install-recovery.sh
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_MODULE_CLASS := ETC
|
||||
LOCAL_SRC_FILES := bin/install-recovery.sh
|
||||
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES)
|
||||
include $(BUILD_PREBUILT)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := mishow.sh
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
|
@ -1,14 +0,0 @@
|
||||
#!/vendor/bin/sh
|
||||
if ! applypatch --check EMMC:/dev/block/bootdevice/by-name/recovery$(getprop ro.boot.slot_suffix):134217728:cb6fcc2fd2fef217767b15f5846d10acf100e7ac; then
|
||||
applypatch \
|
||||
--patch /vendor/recovery-from-boot.p \
|
||||
--source EMMC:/dev/block/bootdevice/by-name/boot$(getprop ro.boot.slot_suffix):134217728:37acae9a2a87566d2b266c865355eadfe25ad93b \
|
||||
--target EMMC:/dev/block/bootdevice/by-name/recovery$(getprop ro.boot.slot_suffix):134217728:cb6fcc2fd2fef217767b15f5846d10acf100e7ac && \
|
||||
log -t recovery "Installing new recovery image: succeeded" && \
|
||||
echo "Installing new recovery image: succeeded" > /cache/recovery/last_install_recovery_status || \
|
||||
(log -t recovery "Installing new recovery image: failed" && \
|
||||
echo "Installing new recovery image: failed" > /cache/recovery/last_install_recovery_status)
|
||||
else
|
||||
log -t recovery "Recovery image already installed" && \
|
||||
echo "Recovery image already installed" > /cache/recovery/last_install_recovery_status
|
||||
fi
|
Loading…
Reference in New Issue
Block a user