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:
parent
499d565a91
commit
297ce4ce2d
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user