From: Harald Hoyer Date: Wed, 18 Jan 2017 09:37:10 +0000 (+0100) Subject: dracut.sh: add /dev/random and /dev/urandom to static device nodes X-Git-Tag: 045~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83a6d6f928e98fea559d5fde46f326a4df35e114;p=thirdparty%2Fdracut.git 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 --- diff --git a/dracut.sh b/dracut.sh index 4f33d0a02..cd3dcfb26 100755 --- a/dracut.sh +++ b/dracut.sh @@ -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