diff options
author | Andreas Kling <kling@serenityos.org> | 2020-06-08 21:42:33 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-06-08 21:42:33 +0200 |
commit | 5448a670c0395c7f5ec45fe1bf418f1e440348f7 (patch) | |
tree | 7928e3873969dbe63c88ee1315194df7ef0bbcfc /Meta | |
parent | 3ee1b3cbd427f50f1d08e696d8165ba0469a5167 (diff) | |
download | serenity-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-x | Meta/build-root-filesystem.sh | 1 |
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 |