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

Commit 0e7bd81c authored by Nick Kralevich's avatar Nick Kralevich Committed by Android Git Automerger
Browse files

am 4f18183b: Merge "Initialize /dev/urandom earlier in boot." into klp-dev

* commit '4f18183b':
  Initialize /dev/urandom earlier in boot.
parents 3929efb9 4f18183b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -177,6 +177,9 @@ on post-fs-data
    # We restorecon /data in case the userdata partition has been reset.
    restorecon /data

    # Avoid predictable entropy pool. Carry over entropy from previous boot.
    copy /data/system/entropy.dat /dev/urandom

    # Create dump dir and collect dumps.
    # Do this before we mount cache so eventually we can use cache for
    # storing dumps on platforms which do not have a dedicated dump partition.