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
This commit is contained in:
Ed Maste 2019-04-17 19:16:26 +00:00
parent 499d565a91
commit 297ce4ce2d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=346329

View File

@ -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
}