manual merge from readonly-korg-master
Change-Id: Id17f69d22fbbc84578be5aadd5e8e906ff0eb548
This commit is contained in:
commit
26ce6e0e16
|
@ -52,6 +52,8 @@
|
|||
#define AID_VPN 1016 /* vpn system */
|
||||
#define AID_KEYSTORE 1017 /* keystore subsystem */
|
||||
#define AID_USB 1018 /* USB devices */
|
||||
#define AID_DRM 1019 /* DRM server */
|
||||
#define AID_DRMIO 1020 /* DRM IO server */
|
||||
|
||||
#define AID_SHELL 2000 /* adb and debug shell user */
|
||||
#define AID_CACHE 2001 /* cache access */
|
||||
|
@ -93,6 +95,8 @@ static const struct android_id_info android_ids[] = {
|
|||
{ "adb", AID_ADB, },
|
||||
{ "install", AID_INSTALL, },
|
||||
{ "media", AID_MEDIA, },
|
||||
{ "drm", AID_DRM, },
|
||||
{ "drmio", AID_DRMIO, },
|
||||
{ "shell", AID_SHELL, },
|
||||
{ "cache", AID_CACHE, },
|
||||
{ "diag", AID_DIAG, },
|
||||
|
|
|
@ -172,6 +172,11 @@ on post-fs
|
|||
chown root root /cache/lost+found
|
||||
chmod 0770 /cache/lost+found
|
||||
|
||||
# create data/drm directory
|
||||
mkdir /data/drm 0774 drm drm
|
||||
chown drm drm /data/drm
|
||||
chmod 0774 /data/drm
|
||||
|
||||
on boot
|
||||
# basic network init
|
||||
ifup lo
|
||||
|
@ -320,6 +325,13 @@ service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-sys
|
|||
onrestart write /sys/power/state on
|
||||
onrestart restart media
|
||||
|
||||
service drm /system/bin/drmserver
|
||||
user drm
|
||||
group system root inet
|
||||
|
||||
service drmio /system/bin/drmioserver
|
||||
user drmio
|
||||
|
||||
service media /system/bin/mediaserver
|
||||
user media
|
||||
group system audio camera graphics inet net_bt net_bt_admin net_raw
|
||||
|
|
Loading…
Reference in New Issue