Merge "Initialize /dev/urandom earlier in boot." into klp-dev
This commit is contained in:
commit
4f18183bd6
1 changed files with 3 additions and 0 deletions
|
|
@ -177,6 +177,9 @@ on post-fs-data
|
||||||
# We restorecon /data in case the userdata partition has been reset.
|
# We restorecon /data in case the userdata partition has been reset.
|
||||||
restorecon /data
|
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.
|
# Create dump dir and collect dumps.
|
||||||
# Do this before we mount cache so eventually we can use cache for
|
# 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.
|
# storing dumps on platforms which do not have a dedicated dump partition.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue