msm8937-common: rootdir: create /data/vendor folder for audio
- for audio acdb and dump files create /data/vendor folder Change-Id: If24a072d3686c3740ba36a3d6eb1849b4a769a3b
This commit is contained in:
parent
b62264b15e
commit
648ee63f82
1 changed files with 10 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2009-2012, 2014-2016, The Linux Foundation. All rights reserved.
|
# Copyright (c) 2009-2012, 2014-2017, The Linux Foundation. All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
# modification, are permitted provided that the following conditions are met:
|
# modification, are permitted provided that the following conditions are met:
|
||||||
|
@ -143,6 +143,9 @@ on boot
|
||||||
|
|
||||||
# msm specific files that need to be created on /data
|
# msm specific files that need to be created on /data
|
||||||
on post-fs-data
|
on post-fs-data
|
||||||
|
mkdir /data/vendor 0770 system system
|
||||||
|
mkdir /data/vendor/misc 0770 system system
|
||||||
|
|
||||||
# Create directory used by display clients
|
# Create directory used by display clients
|
||||||
mkdir /data/vendor/display 0770 system graphics
|
mkdir /data/vendor/display 0770 system graphics
|
||||||
|
|
||||||
|
@ -194,11 +197,11 @@ on post-fs-data
|
||||||
chown system system /data/dpm/nsrm
|
chown system system /data/dpm/nsrm
|
||||||
|
|
||||||
# Create directory used by audio subsystem
|
# Create directory used by audio subsystem
|
||||||
mkdir /data/misc/audio 0770 audio audio
|
mkdir /data/vendor/misc/audio 0770 audio audio
|
||||||
|
|
||||||
# Create directory for audio delta files
|
# Create directory for audio delta files
|
||||||
mkdir /data/misc/audio/acdbdata 0770 media audio
|
mkdir /data/vendor/misc/audio/acdbdata 0770 media audio
|
||||||
mkdir /data/misc/audio/acdbdata/delta 0770 media audio
|
mkdir /data/vendor/misc/audio/acdbdata/delta 0770 media audio
|
||||||
|
|
||||||
# Create directory for radio
|
# Create directory for radio
|
||||||
mkdir /data/vendor/radio 0770 system radio
|
mkdir /data/vendor/radio 0770 system radio
|
||||||
|
@ -221,11 +224,11 @@ on post-fs-data
|
||||||
# Create /data/time folder for time-services
|
# Create /data/time folder for time-services
|
||||||
mkdir /data/time/ 0700 system system
|
mkdir /data/time/ 0700 system system
|
||||||
|
|
||||||
mkdir /data/audio/ 0770 media audio
|
mkdir /data/vendor/audio/ 0770 media audio
|
||||||
|
|
||||||
# Create a folder for audio delta files
|
# Create a folder for audio delta files
|
||||||
mkdir /data/audio/acdbdata 0770 media audio
|
mkdir /data/vendor/audio/acdbdata 0770 media audio
|
||||||
mkdir /data/audio/acdbdata/delta 0770 media audio
|
mkdir /data/vendor/audio/acdbdata/delta 0770 media audio
|
||||||
|
|
||||||
setprop vold.post_fs_data_done 1
|
setprop vold.post_fs_data_done 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue