Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit f395bed8 authored by Gabriele M's avatar Gabriele M Committed by Michael Bestas
Browse files

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
parent c7b874ba
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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