aports/testing/rinse/rinse-device-nodes.patch

20 lines
580 B
Diff

--- 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