Skip to content
Snippets Groups Projects
Commit 159af307 authored by Demon Singur's avatar Demon Singur Committed by Artem Borisov
Browse files

msm8953-common: rootdir: 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
parent 7c970e5e
No related branches found
No related tags found
No related merge requests found
......@@ -38,10 +38,6 @@ on init
# Set permissions for persist partition
mkdir /persist 0771 root system
# Support legacy paths
symlink /sdcard /mnt/sdcard
symlink /sdcard /storage/sdcard0
# Create cgroup mount point for memory
mkdir /sys/fs/cgroup/memory/bg 0750 root system
write /sys/fs/cgroup/memory/bg/memory.swappiness 140
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment