Add haveged to kokoro

Change-Id: I72f523873f185108bd7cb3b586aa77ed67aad7f2
diff --git a/kokoro/continuous.sh b/kokoro/continuous.sh
index b197508..14f09b7 100644
--- a/kokoro/continuous.sh
+++ b/kokoro/continuous.sh
@@ -22,6 +22,10 @@
 export ROOTFS_REVISION=.
 export FETCH_PACKAGES=false
 
+# Install haveged on the host to provide extra entropy.
+sudo apt-get install -y haveged
+sudo /etc/init.d/haveged start
+
 # Inject libedgetpu deb build from Blaze into the package directory.
 touch ${PACKAGES_FETCH_ROOT_DIRECTORY}/${PACKAGES_REVISION}/packages.tgz
 m out-dirs
diff --git a/kokoro/rootfs.sh b/kokoro/rootfs.sh
index fe5f5c3..7d9b2b8 100644
--- a/kokoro/rootfs.sh
+++ b/kokoro/rootfs.sh
@@ -12,6 +12,10 @@
 export FETCH_PACKAGES=false
 export PREBUILT_DOCKER_ROOT=$KOKORO_GFILE_DIR
 
+# Install haveged on the host to provide extra entropy.
+sudo apt-get install -y haveged
+sudo /etc/init.d/haveged start
+
 m docker-rootfs_raw
 
 cp git/out/target/product/imx8m_phanbell/obj/ROOTFS/rootfs.raw.img $KOKORO_ARTIFACTS_DIR