Uh oh!
There was an error while loading. Please reload this page.
Do not fetch QEMU's ROM submodules - #204
Conversation
The QEMU checkout ran `git submodule update --init --recursive`, which descends into roms/edk2 and from there into edk2's own submodules. One of those pins cmocka to https://git.cryptomilk.org/projects/cmocka.git, which no longer serves a git repository, so the clone fails and the container image cannot be built on any architecture. None of the ROM submodules are needed. QEMU's configure initialises exactly what the build requires - ui/keycodemapdb, meson, dtc, capstone, slirp and the berkeley float libraries - through scripts/git-submodule.sh, and roms/edk2 is never among them.
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughSummary by CodeRabbit
WalkthroughThe Makefile now performs only a shallow clone of QEMU’s stable-6.1 branch. It no longer enters the checkout directory or initializes recursive submodules. ChangesQEMU checkout
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk:⚪ Minimal · up to This localized build change avoids fetching unnecessary QEMU ROM submodules and addresses the reported toolchain build failure; no actionable merge-blocking risk remains beyond normal checks and review. Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Verified as part of another branch, which contains this commit: the container image builds successfully (run). |
Victor-Jung
left a comment
There was a problem hiding this comment.
Good change, thanks for fixing this before I bump into the issue 😁
Uh oh!
There was an error while loading. Please reload this page.
Fixes the toolchain build, which currently fails due to QEMU submodules.
The QEMU checkout ran
git submodule update --init --recursive, which descends intoroms/edk2and from there into edk2's own submodules. One of those pins cmocka tohttps://git.cryptomilk.org/projects/cmocka.git, which no longer serves a git repository, so the clone aborts.The ROM submodules are not needed. QEMU's
configureinitialises what the build requires —ui/keycodemapdb,meson,dtc,capstone,slirpand the berkeley float libraries — throughscripts/git-submodule.sh, androms/edk2is not among them. Dropping the line also saves fetching ~20 firmware submodules on every image build.Fixed