- Add kernel module to switch selinux operational mode to permissive - Thanks k4y0z@xda
- Add exfat support - Enable init.d support
This commit is contained in:
@@ -14,6 +14,8 @@ $(call inherit-product-if-exists, vendor/amazon/ford/ford-vendor.mk)
|
||||
# Device overlay
|
||||
DEVICE_PACKAGE_OVERLAYS += $(DEVICE_FOLDER)/overlay
|
||||
|
||||
# Overlay Binaries
|
||||
$(call inherit-product, $(LOCAL_PATH)/overlay-binaries/overlay-binaries.mk)
|
||||
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
|
||||
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/system/bin/sh
|
||||
/system/bin/mount.exfat /dev/block/mmcblk1p1 /mnt/media_rw/sdcard1/
|
||||
/system/bin/sdcard -u 1023 -g 1023 -w 1023 -d /mnt/media_rw/sdcard1 /storage/sdcard1&
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/system/bin/sh
|
||||
|
||||
/system/bin/sysinit
|
||||
@@ -0,0 +1,18 @@
|
||||
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 += \
|
||||
$(OVERLAY_BIN)/selinux_permissive.ko:system/lib/modules/vcodec_kernel_driver.ko
|
||||
|
||||
# install-recovery.sh used to initialise init.d support
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(OVERLAY_BIN)/install-recovery.sh:system/bin/install-recovery.sh
|
||||
|
||||
# Install init.d scripts
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(OVERLAY_BIN)/99exfat-support:system/etc/init.d/99exfat-support
|
||||
|
||||
#endif
|
||||
Binary file not shown.
Reference in New Issue
Block a user