Provide /dev/random in runtime for fetchurl

libcrypto transparently opens /dev/random to seed its PRNG or logs an
error if this fails.
This commit is contained in:
Christian Helmuth
2018-02-27 10:36:17 +01:00
parent e3d1b8b044
commit ddd5e8abb4
3 changed files with 7 additions and 0 deletions

View File

@ -58,6 +58,7 @@ append config {
</dir>
<dir name="dev">
<log/> <null/> <inline name="rtc">2000-01-01 00:00</inline>
<inline name="random">01234567890123456789</inline>
</dir>
<dir name="socket"> <lxip dhcp="yes"/> </dir>
</vfs>