Create /data/lineage_updates to store updates

GmsCore deletes the files in /data/ota_package/, including the files
downloaded by Updater. Create a new directory where Updater can store
its files not to have them disappear randomly.

Change-Id: Ifdfbc7f81eb5f2c4370d02f0634c869fdbb848b4
This commit is contained in:
Gabriele M
2017-07-19 18:47:07 +02:00
committed by Michael Bestas
parent c7b874ba03
commit f395bed811

View File

@@ -22,6 +22,10 @@ on post-fs-data
mkdir /data/ssh/empty 0600 root shell
mkdir /cache/recovery 0770 system cache
# Create an additional OTA package directory that unlike /data/ota_package
# will not be touched by GmsCore.
mkdir /data/lineageos_updates 0770 system cache
# Run sysinit
start sysinit