dracut.sh: add /dev/random and /dev/urandom to static device nodes

otherwise libgcrypt might complain

https://bugzilla.redhat.com/show_bug.cgi?id=1401444
master
Harald Hoyer 2017-01-18 10:37:10 +01:00
parent 8a32bf6107
commit 83a6d6f928
1 changed files with 2 additions and 0 deletions

View File

@ -1392,6 +1392,8 @@ if [[ $kernel_only != yes ]]; then
[ -c ${initdir}/dev/null ] || mknod ${initdir}/dev/null c 1 3
[ -c ${initdir}/dev/kmsg ] || mknod ${initdir}/dev/kmsg c 1 11
[ -c ${initdir}/dev/console ] || mknod ${initdir}/dev/console c 5 1
[ -c ${initdir}/dev/random ] || mknod ${initdir}/dev/random c 1 8
[ -c ${initdir}/dev/urandom ] || mknod ${initdir}/dev/urandom c 1 9
fi
fi