svn commit: r346329 - head/tools/boot

Ed Maste emaste at FreeBSD.org
Wed Apr 17 19:16:27 UTC 2019


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
 }


More information about the svn-src-all mailing list