Skip to content

Commit 01380d4

Browse files
committed
Remove unneeded call to rngd
1 parent 5b37208 commit 01380d4

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

nerves_defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ BR2_PACKAGE_RPI_FIRMWARE=y
5050
BR2_PACKAGE_RPI_FIRMWARE_CUSTOM_VERSION="1.20250127"
5151
BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4_X=y
5252
BR2_PACKAGE_PIGPIO=y
53-
# BR2_PACKAGE_RNG_TOOLS_JITTERENTROPY_LIBRARY is not set
5453
BR2_PACKAGE_RPI_USERLAND=y
5554
# BR2_PACKAGE_ALSA_LIB_RAWMIDI is not set
5655
# BR2_PACKAGE_ALSA_LIB_HWDEP is not set
@@ -79,6 +78,7 @@ BR2_NERVES_SYSTEM_NAME="nerves_system_rpi4"
7978
BR2_NERVES_ADDITIONAL_IMAGE_FILES="${NERVES_DEFCONFIG_DIR}/fwup.conf ${NERVES_DEFCONFIG_DIR}/cmdline.txt ${NERVES_DEFCONFIG_DIR}/config.txt"
8079
BR2_PACKAGE_NBTTY=y
8180
BR2_PACKAGE_NERVES_CONFIG=y
81+
BR2_PACKAGE_NERVES_CONFIG_ACCEPT_RNG_NOTICE=y
8282
BR2_PACKAGE_RPICAM_APPS=y
8383
BR2_PACKAGE_RPI_DISTRO_FIRMWARE_NONFREE=y
8484
BR2_PACKAGE_RPI_LIBCAMERA_V4L2=y

rootfs_overlay/etc/erlinit.config

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,6 @@
2020
# Comment out or delete for HDMI (tty1)
2121
-s "/usr/bin/nbtty"
2222

23-
# There's a call to getrandom(2) when loading the crypto NIF that's before
24-
# nerves_runtime can start rngd. This syscall can block the BEAM indefinitely
25-
# if there's not enough entropy in the kernel. We have not observed blocking on
26-
# this platform. However, we don't know that getrandom(2) will always have
27-
# enough entropy, so start rngd here to be safe.
28-
--pre-run-exec /usr/sbin/rngd
29-
3023
# Specify the user and group IDs for the Erlang VM
3124
#--uid 100
3225
#--gid 200

0 commit comments

Comments
 (0)