From 7c22a021276d582bbb94a5c618850d4ef21e0abc Mon Sep 17 00:00:00 2001 From: Ben Swartzlander Date: Sat, 14 Oct 2017 21:02:59 -0400 Subject: [PATCH] Add rnd-tools for faster random pool initialization Use rngd to quickly fill up the entropy pool at boot time. Change-Id: I68acd3c3c2fff158a0d794cc32a63ff9de03ac52 --- common-files/etc/default/rngd | 1 + conf/buildroot-client.config | 1 + conf/buildroot-debug.config | 1 + conf/buildroot-server.config | 1 + 4 files changed, 4 insertions(+) create mode 100644 common-files/etc/default/rngd diff --git a/common-files/etc/default/rngd b/common-files/etc/default/rngd new file mode 100644 index 0000000..659692e --- /dev/null +++ b/common-files/etc/default/rngd @@ -0,0 +1 @@ +DAEMON_ARGS="-r /dev/urandom" diff --git a/conf/buildroot-client.config b/conf/buildroot-client.config index f96a84e..2785f9b 100644 --- a/conf/buildroot-client.config +++ b/conf/buildroot-client.config @@ -19,6 +19,7 @@ BR2_PACKAGE_NFS_UTILS=y BR2_PACKAGE_NFS_UTILS_RPC_LOCKD=y BR2_PACKAGE_NFS_UTILS_RPC_RQUOTAD=y BR2_PACKAGE_NFS_UTILS_NFS4=y +BR2_PACKAGE_RNG_TOOLS=y BR2_PACKAGE_LIBICONV=y BR2_PACKAGE_DHCPCD=y BR2_PACKAGE_DROPBEAR=y diff --git a/conf/buildroot-debug.config b/conf/buildroot-debug.config index 8faab74..310a242 100644 --- a/conf/buildroot-debug.config +++ b/conf/buildroot-debug.config @@ -25,6 +25,7 @@ BR2_PACKAGE_NFS_UTILS=y BR2_PACKAGE_NFS_UTILS_RPC_LOCKD=y BR2_PACKAGE_NFS_UTILS_RPC_RQUOTAD=y BR2_PACKAGE_NFS_UTILS_NFS4=y +BR2_PACKAGE_RNG_TOOLS=y BR2_PACKAGE_GNUTLS=y BR2_PACKAGE_OPENLDAP=y BR2_PACKAGE_LIBICONV=y diff --git a/conf/buildroot-server.config b/conf/buildroot-server.config index 9861bb3..a667d73 100644 --- a/conf/buildroot-server.config +++ b/conf/buildroot-server.config @@ -21,6 +21,7 @@ BR2_PACKAGE_NFS_UTILS=y BR2_PACKAGE_NFS_UTILS_RPC_LOCKD=y BR2_PACKAGE_NFS_UTILS_RPC_RQUOTAD=y BR2_PACKAGE_NFS_UTILS_NFS4=y +BR2_PACKAGE_RNG_TOOLS=y BR2_PACKAGE_GNUTLS=y BR2_PACKAGE_OPENLDAP=y BR2_PACKAGE_LIBICONV=y