Closed jorticus-msft closed 9 months ago
@jorticus-msft I have put up a PR for you to test. #462
Please install the branch, build an INF using inf_generator
and inf_generator2
and verify that both pass using the verif tool you mentioned.
You can install the branch with the following command:
pip install --force git+https://github.com/javagedes/edk2-pytool-library@inf_generator-Services
Thanks!
Thanks, I have confirmed that this fixes validation in our build system (for both cases of inf_generator & inf_generator2)
Contact Details
jasanson@microsoft.com
Describe the Bug
The latest copy of infverif.exe fails on capsules generated by edk2toollib's capsule_helper with the following:
This warning has recently been upgraded to an error, and is now failing our tests.
The generated INF driver is missing a '.Services' section even though capsules don't actually use that feature. To be compliant, capsules now need to add the following for each firmware section:
Reproduction steps
Build a capsule using
capsule_helper.create_inf_file()
orcapsule_helper.create_multinode_inf_file()
, then run it against infverif.exeExpected behavior
infverif should produce no warnings or errors
What Python version are you using?
Python 3.10
Execution Environment
Windows 11 infverif.exe version 10.0.19041.1
Pip packages
No response
Additional context
No response