From: Demon Singur Date: Fri, 21 Sep 2018 11:11:36 +0000 (+0000) Subject: g12: init-files: Do not symlink sdcard legacy path X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2509841499dae6a13835a05bdb1970a212abad72;p=GitHub%2FLineageOS%2FG12%2Fandroid_device_amlogic_g12-common.git g12: init-files: Do not symlink sdcard legacy path * Solves the following denial: `denied { write } for pid=548 comm="init" name="storage" dev="rootfs" ino=15996 scontext=u:r:vendor_init:s0 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0` Change-Id: If246f497bd8384f0fee81469d8d29dcb528d4d4e --- diff --git a/init-files/init.amlogic.rc b/init-files/init.amlogic.rc index 9768166..da1b505 100644 --- a/init-files/init.amlogic.rc +++ b/init-files/init.amlogic.rc @@ -5,8 +5,6 @@ import /vendor/etc/init/hw/init.amlogic.media.rc import /vendor/etc/init/hw/init.amlogic.wifi_buildin.rc on init - # Support legacy paths - symlink /sdcard /mnt/sdcard # 30 means reserve 3% memory using for high water mark, 1GB DDR x 3% = 30MB write /proc/sys/vm/watermark_scale_factor 30 # 12288 KB