I'd kind of like to remove the ADD_QEMU_HDA support. I think, way, way back qemu would not boot if no drives were added, so this kind of helped. (OVMF can still load the shell with no drives.)
If qemu will still run the firmware without a drive, then maybe maybe we can just dump ADD_QEMU_HDA. -Jordan On 2019-07-23 18:51:01, Rebecca Cran wrote: > The $BUILD_ROOT_ARCH directory has too many files to > work as a fat filesystem. QEMU fails with the message: > > Too many entries in root directory > > Use the $QEMU_FIRMWARE_DIR as the root directory instead. > > Signed-off-by: Rebecca Cran <[email protected]> > --- > OvmfPkg/build.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/OvmfPkg/build.sh b/OvmfPkg/build.sh > index e2890ff762..b01de0fd55 100755 > --- a/OvmfPkg/build.sh > +++ b/OvmfPkg/build.sh > @@ -273,7 +273,7 @@ if [[ "$RUN_QEMU" == "yes" ]]; then > QEMU_COMMAND="$QEMU_COMMAND -L $QEMU_FIRMWARE_DIR" > fi > if [[ "$ADD_QEMU_HDA" == "yes" ]]; then > - QEMU_COMMAND="$QEMU_COMMAND -hda fat:$BUILD_ROOT_ARCH" > + QEMU_COMMAND="$QEMU_COMMAND -hda fat:$QEMU_FIRMWARE_DIR" > fi > echo Running: $QEMU_COMMAND "$@" > $QEMU_COMMAND "$@" > -- > 2.22.0 > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#44285): https://edk2.groups.io/g/devel/message/44285 Mute This Topic: https://groups.io/mt/32580106/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
