From 1c66bcf9ca4b243ac39ad48fe84c829ced1fb385 Mon Sep 17 00:00:00 2001 From: SamarV-121 Date: Mon, 28 Sep 2020 22:04:00 +0530 Subject: [PATCH] Revert "universal7885: remove duplicate exfat/sdfat defines from platform sepolicy" This reverts commit 82903c0c8fd62a19e63b7ac816b1f73f511348a8. * No more needed in Q vendor Signed-off-by: SamarV-121 --- BoardConfigCommon.mk | 3 --- releasetools/releasetools.py | 5 ----- 2 files changed, 8 deletions(-) delete mode 100644 releasetools/releasetools.py diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index a5b6674..35bfa85 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -70,9 +70,6 @@ BOARD_FLASH_BLOCK_SIZE := 131072 # Properties BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true -# Releasetools -TARGET_RELEASETOOLS_EXTENSIONS := $(COMMON_PATH)/releasetools - # Vendor TARGET_COPY_OUT_VENDOR := vendor diff --git a/releasetools/releasetools.py b/releasetools/releasetools.py deleted file mode 100644 index 627a2d7..0000000 --- a/releasetools/releasetools.py +++ /dev/null @@ -1,5 +0,0 @@ -def FullOTA_InstallEnd(info): - info.script.AppendExtra('mount("ext4", "EMMC", "/dev/block/platform/13500000.dwmmc0/by-name/SYSTEM", "/system");'); - info.script.AppendExtra('run_program("/sbin/sed", "-i", "/exfat/d", "/system/etc/selinux/plat_sepolicy.cil");'); - info.script.AppendExtra('run_program("/sbin/sed", "-i", "/sdfat/d", "/system/etc/selinux/plat_sepolicy.cil");'); - info.script.AppendExtra('unmount("/system");');