-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
efibuild: Add support for DISCARD_SUBMODULES #24
efibuild: Add support for DISCARD_SUBMODULES #24
Conversation
Have added this test commit https://github.com/mikebeaton/OpenCorePkg/commits/discard-test which directly uses efibuild.sh from this PR, and confirms that the full CI build works using this change. |
a5982d2
to
3bc0665
Compare
LGTM, but I suggest to remove submodule in such way:
It should be compatible across different git versions |
49ac591
to
6aa3eaa
Compare
I'm not sure if the So in the current version (
|
Not needed as we are removing before init
I've added a third commit, removing |
@savvamitrofanov - Does the reasoning for not including |
This is faster to build than using DISCARD_PACKAGES since OpenCorePkg does not need to be cloned (which is relatively slow) then deleted. To implement in OpenCore requires changing build_duet.tool and build_oc.tool to set and export DISCARD_SUBMODULES instead of DISCARD_PACKAGES. (Not sure if there are other projects that can be updated too, though DISCARD_PACKAGES is still supported.)
Requires new-enough git to work, though I believe that is not an issue here - unless we perhaps need to support building on user-owned machines too old to have this?