diff options
author | Siva Mahadevan <me@svmhdvn.name> | 2025-07-07 17:16:13 +0000 |
---|---|---|
committer | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2025-07-08 11:32:17 +0000 |
commit | 2f50ea54c6e3b15f655e800eb680ddcb80e30b4f (patch) | |
tree | edddff05ef967da0582501e9ea4ccf863312369f /contrib/perl5/eg/g/(developers-only) | |
parent | 45730dd3ed334d265fc77cf6df1f82013fd5bf69 (diff) |
Currently, there is a race condition where the
Makefile sh invocation of 'bhyveload -c stdio'
exits before receiving any user input in the bootloader
(e.g. in the form of a user typically pressing <enter>),
causing the 'expect' script to wrongly spawn the 'bhyve'
invocation while still in the bootloader.
This patch wraps bhyveload in expect(1) to ensure that
stdio is correctly consumed before the process exits.
Signed-off-by: Siva Mahadevan <me@svmhdvn.name>
Sponsored by: The FreeBSD Foundation
Pull Request: https://github.com/freebsd/freebsd-src/pull/1757
Diffstat (limited to 'contrib/perl5/eg/g/(developers-only)')
0 files changed, 0 insertions, 0 deletions