functest: driver_update: fix Win2016 uninstall/reinstall via devcon - #1116
Open
elizashurov wants to merge 2 commits into
Open
functest: driver_update: fix Win2016 uninstall/reinstall via devcon#1116elizashurov wants to merge 2 commits into
elizashurov wants to merge 2 commits into
Conversation
pnputil /delete-driver /uninstall /force and pnputil -i -a are not supported on Windows Server 2016 (build <= 14393). On that build, use pnputil /f /d for store removal followed by devcon remove, and devcon updateni for reinstall, matching tp-qemu behaviour. Newer builds keep the existing pnputil path. Requires the devcon extra_software package. Signed-off-by: Elizabeth Ashurov <eashurov@redhat.com>
Contributor
Author
|
@kostyanf14 The AutoHCK run is failing because devcon is missing from extra-software upstream, so I’ll remove this test case from CI. |
…available in extra-software Signed-off-by: Elizabeth Ashurov <eashurov@redhat.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
pnputil /delete-driver /uninstall /force and pnputil -i -a are not supported on Windows Server 2016 (build <= 14393). On that build, use pnputil /f /d for store removal followed by devcon remove, and devcon updateni for reinstall, matching tp-qemu behaviour. Newer builds keep the existing pnputil path. Requires the devcon extra_software package.