Skip to content

Add option to exclude unreferenced driver files from packages - #85

Open
elizashurov wants to merge 1 commit into
HCK-CI:masterfrom
elizashurov:VIRTWINKVM-2038
Open

Add option to exclude unreferenced driver files from packages#85
elizashurov wants to merge 1 commit into
HCK-CI:masterfrom
elizashurov:VIRTWINKVM-2038

Conversation

@elizashurov

Copy link
Copy Markdown
Contributor

Microsoft HDC is changing its policy so files not referenced by a driver's INF will eventually be ineligible for signing.

Add -excludeunreferencedfiles to createprojectpackage and the corresponding exclude_unreferenced_files keyword argument to create_project_package.

When enabled, the INF parser identifies referenced files using SourceDisksFiles, CopyFiles, and ServiceBinary directives, then moves unreferenced files out of the driver directory before calling AddDriver.

If the newer 8-argument AddDriver overload is available, use it to surface any remaining unreferenced-file warnings reported by HLK Studio.

Comment thread tools/toolsHCK.ps1
Microsoft HDC is changing its policy so files not referenced by a
driver's INF will eventually be ineligible for signing.

Add -excludeunreferencedfiles to createprojectpackage and the
corresponding exclude_unreferenced_files keyword argument to
create_project_package.

When enabled, the INF parser identifies referenced files using
SourceDisksFiles, CopyFiles, and ServiceBinary directives, then moves
unreferenced files out of the driver directory before calling
AddDriver.

If the newer 8-argument AddDriver overload is available, use it to
surface any remaining unreferenced-file warnings reported by HLK
Studio.

Signed-off-by: Elizabeth Ashurov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants