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 diff --git a/Ports/dropbear/patches/use-dev-random.patch b/Ports/dropbear/patches/use-dev-random.patch deleted file mode 100644 index 3f412b6820..0000000000 --- a/Ports/dropbear/patches/use-dev-random.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/sysoptions.h -+++ b/sysoptions.h -@@ -256,7 +256,7 @@ - /* Source for randomness. This must be able to provide hundreds of bytes per SSH - * connection without blocking. */ - #ifndef DROPBEAR_URANDOM_DEV --#define DROPBEAR_URANDOM_DEV "/dev/urandom" -+#define DROPBEAR_URANDOM_DEV "/dev/random" - #endif - - /* client keyboard interactive authentication is often used for password auth.