summaryrefslogtreecommitdiff
path: root/Meta
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-06-08 21:42:33 +0200
committerAndreas Kling <kling@serenityos.org>2020-06-08 21:42:33 +0200
commit5448a670c0395c7f5ec45fe1bf418f1e440348f7 (patch)
tree7928e3873969dbe63c88ee1315194df7ef0bbcfc /Meta
parent3ee1b3cbd427f50f1d08e696d8165ba0469a5167 (diff)
downloadserenity-5448a670c0395c7f5ec45fe1bf418f1e440348f7.zip
Base: Symlink /dev/urandom to /dev/random
Some software expects to find /dev/urandom so we might as well provide. Gets rid of one dropbear patch. :^)
Diffstat (limited to 'Meta')
-rwxr-xr-xMeta/build-root-filesystem.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/Meta/build-root-filesystem.sh b/Meta/build-root-filesystem.sh
index 949e166d61..597f4babcd 100755
--- a/Meta/build-root-filesystem.sh
+++ b/Meta/build-root-filesystem.sh
@@ -85,6 +85,7 @@ mknod mnt/dev/zero c 1 5
mknod mnt/dev/full c 1 7
# random, is failing (randomly) on fuse-ext2 on macos :)
chmod 666 mnt/dev/random || true
+ln -s random mnt/dev/urandom
chmod 666 mnt/dev/null
chmod 666 mnt/dev/zero
chmod 666 mnt/dev/full