From ddb2202706df0bc1857888d5eecde3d64fa15b5e Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Wed, 18 Sep 2019 19:28:09 +0200 Subject: [PATCH] Bugfix: rng-tools needs default device Signed-off-by: Igor Pecovnik --- lib/distributions.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/distributions.sh b/lib/distributions.sh index f935133c1d..cb2424b8de 100644 --- a/lib/distributions.sh +++ b/lib/distributions.sh @@ -99,6 +99,9 @@ install_common() # console fix due to Debian bug sed -e 's/CHARMAP=".*"/CHARMAP="'$CONSOLE_CHAR'"/g' -i "${SDCARD}"/etc/default/console-setup + # add the /dev/urandom path to the rng config file + echo "HRNGDEVICE=/dev/urandom" >> "${SDCARD}"/etc/default/rng-tools + # ping needs privileged action to be able to create raw network socket # this is working properly but not with (at least) Debian Buster chroot "${SDCARD}" /bin/bash -c "chmod u+s /bin/ping"