-
Notifications
You must be signed in to change notification settings - Fork 18
Windows image: use WiX version 5.0.2 #418
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
base: main
Are you sure you want to change the base?
Conversation
The WiX version should be consistent with the one that is specified to build the Podman installer. Moreover the WiX toolset licensing has changed with the release of version 6 and we should not upgrade to it unless Podman organization becomes a sponsor of the project: containers/podman#27042 Signed-off-by: Mario Loriedo <[email protected]>
|
@Luap99 PTAL |
win_images/win_packaging.ps1
Outdated
| # Add a WSL configuration file | ||
| # The `kernelBootTimeout` configuration is to prevent CI/CD flakes | ||
| # See https://github.com/microsoft/WSL/issues/13301#issuecomment-3367452109 | ||
| $wslConfigPath = "$env:UserProfile\.wslconfig" | ||
| $wslConfigContent = @" | ||
| [wsl2] | ||
| kernelBootTimeout=300000 # 5 minutes | ||
| "@ | ||
| Set-Content -Path $wslConfigPath -Value $wslConfigContent |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is per user right due UserProfile?
I am not sure about the windows build process at all but I am not sure if this here then runs as the same user as our podman tests. Would it be easier to configure in the podman setup instead where we know we run under the correct user https://github.com/containers/podman/blob/main/contrib/cirrus/win-podman-machine-test.ps1?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes you are right, it's a per user configuration and the user Administrator is created later so it may be ineffective. I have created a corresponding PR podman side and removed the commit from this PR.
kernelBootTimeout config|
Thanks @l0rd @timcoding1988 can you cherry-pick this commit into your PR #417 since we can only have "one image build" (PR) active at a time anyway so best to fold this into your existing build PR. |
|
@l0rd your change has been cherry-picked https://github.com/containers/automation_images/pull/417/files |
This PR points the WiX toolset version to 5.0.2 to avoid using version 6 when building the installer