From 2509841499dae6a13835a05bdb1970a212abad72 Mon Sep 17 00:00:00 2001 From: Demon Singur Date: Fri, 21 Sep 2018 11:11:36 +0000 Subject: [PATCH] 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 --- init-files/init.amlogic.rc | 2 -- 1 file changed, 2 deletions(-) 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 -- 2.20.1