summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorJeff Tinker <jtinker@google.com>2013-04-23 19:54:17 -0700
committerJeff Tinker <jtinker@google.com>2013-04-23 19:54:17 -0700
commit08d64308b93594c587036cffcd8f6780eaf2c417 (patch)
tree4838b3cc4affcb6453ca131d2c0d5abe4d831c1e /rootdir
parentb3478f4a50fc44bf573dc4caf4f7e1ddcc4f0eea (diff)
downloadsystem_core-08d64308b93594c587036cffcd8f6780eaf2c417.zip
system_core-08d64308b93594c587036cffcd8f6780eaf2c417.tar.gz
system_core-08d64308b93594c587036cffcd8f6780eaf2c417.tar.bz2
Add a new group for MediaDrm engine plugins
bug: 8702754 Change-Id: I3b7988b64b1dcf4685624e4c1af938e132b82696
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.rc6
1 files changed, 5 insertions, 1 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 89ec18a..f7fe6f3 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -243,6 +243,10 @@ on post-fs-data
# the following directory.
mkdir /data/drm 0770 drm drm
+ # create directory for MediaDrm plug-ins - give drm the read/write access to
+ # the following directory.
+ mkdir /data/mediadrm 0770 mediadrm mediadrm
+
# symlink to bugreport storage location
symlink /data/data/com.android.shell/files/bugreports /data/bugreports
@@ -483,7 +487,7 @@ service drm /system/bin/drmserver
service media /system/bin/mediaserver
class main
user media
- group audio camera inet net_bt net_bt_admin net_bw_acct drmrpc
+ group audio camera inet net_bt net_bt_admin net_bw_acct drmrpc mediadrm
ioprio rt 4
service bootanim /system/bin/bootanimation