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
 }
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to