Have init set up the backup stage dir on /cache

Bug 26834865

Change-Id: Idc63c1706f68d42b2a9cee05997c63a9bbcb0fb9
This commit is contained in:
Christopher Tate 2016-01-28 17:09:42 -08:00
parent 4a906e5fb0
commit 63c463fe28
1 changed files with 4 additions and 0 deletions

View File

@ -283,6 +283,10 @@ on post-fs
# permissions if created by the recovery system.
mkdir /cache/recovery 0770 system cache
# Backup/restore mechanism uses the cache partition
mkdir /cache/backup_stage 0700 system system
mkdir /cache/backup 0700 system system
#change permissions on vmallocinfo so we can grab it from bugreports
chown root log /proc/vmallocinfo
chmod 0440 /proc/vmallocinfo