Skip to content
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

take first capability from allowed as default #107

Merged
merged 1 commit into from Aug 29, 2023

Conversation

mwhudson
Copy link
Contributor

@mwhudson mwhudson commented Aug 29, 2023

Before canonical/subiquity#1774 the order of the capabilities in allowed was arbitrary, resulting in https://bugs.launchpad.net/ubuntu-desktop-installer/+bug/2033093 and other confusing behaviour. The subiquity PR puts the capability that should be considered the default first, so that's what the client side code should do too.

Before canonical/subiquity#1774 the order of the capabilities in `allowed` was arbitrary, resulting in https://bugs.launchpad.net/ubuntu-desktop-installer/+bug/2033093 and other confusing behaviour. The subiquity PR puts the capability that should be considered the default first, so that's what the client side code should do to.
@mwhudson
Copy link
Contributor Author

I haven't tested this (in fact I made this branch by clicking around in github, not even locally)

Copy link
Contributor

@dbungert dbungert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have enough of dryrun working to see this working as intended.
I ran subiquity with and without the enum.value sorting, and could see it select TPM or not depending on the sort behavior, as expected.
Please merge.

@jibel jibel merged commit 658ccb4 into canonical:main Aug 29, 2023
19 checks passed
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.

None yet

3 participants