mirror of
https://github.com/S3NEO/android_device_samsung_msm8226-common.git
synced 2024-11-06 21:55:45 +00:00
msm8226-common: Define extra folders in makefile instead of init.qcom.rc
With Android 10, these folders get wiped out unless declared at compile time.
This commit is contained in:
parent
992b7b00be
commit
260468a75f
3 changed files with 30 additions and 9 deletions
|
@ -81,7 +81,13 @@ MAX_EGL_CACHE_KEY_SIZE := 12*1024
|
|||
MAX_EGL_CACHE_SIZE := 2048*1024
|
||||
|
||||
# Filesystem
|
||||
BOARD_ROOT_EXTRA_SYMLINKS := /data/tombstones:/tombstones
|
||||
TARGET_FS_CONFIG_GEN := device/samsung/msm8226-common/config.fs
|
||||
BOARD_ROOT_EXTRA_FOLDERS := \
|
||||
firmware-modem \
|
||||
firmware \
|
||||
efs \
|
||||
persist
|
||||
|
||||
# HIDL
|
||||
DEVICE_MANIFEST_FILE := device/samsung/msm8226-common/manifest.xml
|
||||
|
|
24
config.fs
24
config.fs
|
@ -6,3 +6,27 @@ value:2951
|
|||
|
||||
[AID_VENDOR_RFS_SHARED]
|
||||
value:2952
|
||||
|
||||
[efs/]
|
||||
mode: 0771
|
||||
user: AID_SYSTEM
|
||||
group: AID_RADIO
|
||||
caps: 0
|
||||
|
||||
[firmware/]
|
||||
mode: 0771
|
||||
user: AID_SYSTEM
|
||||
group: AID_SYSTEM
|
||||
caps: 0
|
||||
|
||||
[firmware-modem/]
|
||||
mode: 0771
|
||||
user: AID_SYSTEM
|
||||
group: AID_SYSTEM
|
||||
caps: 0
|
||||
|
||||
[persist/]
|
||||
mode: 0771
|
||||
user: AID_SYSTEM
|
||||
group: AID_SYSTEM
|
||||
caps: 0
|
||||
|
|
|
@ -40,15 +40,6 @@ on early-init
|
|||
|
||||
write /sys/block/zram0/comp_algorithm lz4
|
||||
|
||||
mkdir /firmware 0771 system system
|
||||
mkdir /firmware-modem 0771 system system
|
||||
|
||||
mkdir /persist 0771 system system
|
||||
|
||||
mkdir /efs 0771 system radio
|
||||
|
||||
symlink /data/tombstones /tombstones
|
||||
|
||||
# Set permissions so radio can read
|
||||
chmod 0444 /proc/cmdline
|
||||
|
||||
|
|
Loading…
Reference in a new issue