- Fix install-recovery.sh so that it isn't overwritten by build/core/Makefile
- Add sudaemon init.d script to overlay-binaries
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
OVERLAY_BIN := device/amazon/ford/overlay-binaries
|
||||
|
||||
#ifeq ($(TARGET_DEVICE),ford)
|
||||
|
||||
# Install module to set selinux to permissive
|
||||
# Loaded by init.mt8127.rc
|
||||
PRODUCT_COPY_FILES += \
|
||||
@@ -9,10 +7,10 @@ PRODUCT_COPY_FILES += \
|
||||
|
||||
# install-recovery.sh used to initialise init.d support
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(OVERLAY_BIN)/install-recovery.sh:system/bin/install-recovery.sh
|
||||
$(OVERLAY_BIN)/install-recovery.sh:system/bin/new-install-recovery.sh
|
||||
|
||||
# Install init.d scripts
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(OVERLAY_BIN)/99exfat-support:system/etc/init.d/99exfat-support
|
||||
$(OVERLAY_BIN)/99exfat-support:system/etc/init.d/99exfat-support \
|
||||
$(OVERLAY_BIN)/99sudaemon:system/etc/init.d/99sudaemon
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1 +1,4 @@
|
||||
symlink("/system/framework/org.cyanogenmod.platform.jar", "/system/framework/fireossvc.jar");
|
||||
delete("/system/bin/install-recovery.sh");
|
||||
rename("/system/bin/new-install-recovery.sh", "/system/bin/install-recovery.sh");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user