aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rinse/rinse-device-nodes.patch
blob: a4300f1818fef153a72d7ece5d02380062ad7805 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- rinse-2.0.orig/scripts.common/20-dev-zero.sh
+++ rinse-2.0/scripts.common/20-dev-zero.sh
@@ -34,4 +34,16 @@
 if [ !  -e "${prefix}/dev/zero" ]; then
     mknod -m 666 "${prefix}/dev/zero" c 1 5
 fi
+if [ !  -e "${prefix}/dev/urandom" ]; then
+    mknod -m 666 "${prefix}/dev/urandom" c 1 9
+fi
+if [ !  -e "${prefix}/dev/random" ]; then
+    mknod -m 666 "${prefix}/dev/random" c 1 8
+fi
+if [ !  -e "${prefix}/dev/null" ]; then
+    mknod -m 666 "${prefix}/dev/null" c 1 3
+fi
+if [ !  -e "${prefix}/dev/console" ]; then
+    mknod -m 666 "${prefix}/dev/console" c 5 1
+fi