Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Sep 2019 14:07:18 -0000
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r346329 - head/tools/boot
Message-ID:  <201904171916.x3HJGQvl055934@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Wed Apr 17 19:16:26 2019
New Revision: 346329
URL: https://svnweb.freebsd.org/changeset/base/346329

Log:
  Install some entropy for QEMU CI smoke test
  
  See r346250 and followup commits and mailing list discussion.
  We currently fail to boot properly in the absense of boot-time entropy.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/tools/boot/ci-qemu-test.sh

Modified: head/tools/boot/ci-qemu-test.sh
==============================================================================
--- head/tools/boot/ci-qemu-test.sh	Wed Apr 17 18:08:28 2019	(r346328)
+++ head/tools/boot/ci-qemu-test.sh	Wed Apr 17 19:16:26 2019	(r346329)
@@ -68,6 +68,9 @@ echo "Hello world."
 /sbin/shutdown -p now
 EOF
 
+	# Entropy needed to boot, see r346250 and followup commits/discussion.
+	dd if=/dev/random of=${ROOTDIR}/boot/entropy bs=4k count=1
+
 	# Remove unnecessary files to keep FAT filesystem size down.
 	rm -rf ${ROOTDIR}/METALOG ${ROOTDIR}/usr/lib
 }





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904171916.x3HJGQvl055934>