sdm660-common: Remove msadp symlinking

* This isn't needed and generates selinux denials:

avc: denied { read } for pid=780 comm="ueventd" name="mmcblk0p12" dev="tmpfs" ino=13382 scontext=u:r:ueventd:s0 tcontext=u:object_r:mba_debug_dev:s0 tclass=blk_file
avc: denied { open } for pid=780 comm="ueventd" path="/dev/block/mmcblk0p12" dev="tmpfs" ino=13382 scontext=u:r:ueventd:s0 tcontext=u:object_r:mba_debug_dev:s0 tclass=blk_file

Change-Id: I6a08c7588c8f6e3b2def41d8c1ec16519c952662
Signed-off-by: pix106 <sbordenave@gmail.com>
This commit is contained in:
Davide Garberi 2019-09-18 19:56:44 +02:00 committed by pix106
parent 3711c7bf30
commit 9627444053

View file

@ -8,6 +8,8 @@ LOCAL_PATH := $(call my-dir)
ifneq ($(filter tulip jasmine_sprout wayne clover lavender platina jason whyred,$(TARGET_DEVICE)),) ifneq ($(filter tulip jasmine_sprout wayne clover lavender platina jason whyred,$(TARGET_DEVICE)),)
$(shell mkdir -p $(TARGET_OUT_VENDOR)/firmware)
include $(CLEAR_VARS) include $(CLEAR_VARS)
LOCAL_MODULE := wifi_symlinks LOCAL_MODULE := wifi_symlinks
@ -157,11 +159,6 @@ $(CNE_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
ALL_DEFAULT_INSTALLED_MODULES += $(CNE_SYMLINKS) ALL_DEFAULT_INSTALLED_MODULES += $(CNE_SYMLINKS)
# Create symbolic links for msadp
$(shell mkdir -p $(TARGET_OUT_VENDOR)/firmware; \
ln -sf /dev/block/bootdevice/by-name/msadp \
$(TARGET_OUT_VENDOR)/firmware/msadp)
subdir_makefiles=$(call first-makefiles-under,$(LOCAL_PATH)) subdir_makefiles=$(call first-makefiles-under,$(LOCAL_PATH))
$(foreach mk,$(subdir_makefiles),$(info including $(mk) ...)$(eval include $(mk))) $(foreach mk,$(subdir_makefiles),$(info including $(mk) ...)$(eval include $(mk)))
endif endif