- 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:
ggow
2015-12-10 11:06:08 +00:00
parent 32f3832741
commit 1542612d9f
2 changed files with 6 additions and 5 deletions
+3 -5
View File
@@ -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
+3
View File
@@ -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");