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

boot,image: support image.Customizations.BootFlags #10225

Merged
merged 3 commits into from May 3, 2021

Conversation

pedronis
Copy link
Collaborator

This will let us set the "factory" hint flag.

First commit is a follow-up to previous PR touching customization.

to achieve this change the signature of MakeBootableImage (also drop
now unused argument)

setImageBootFlags needed adjustments and also the tests using it
@pedronis pedronis changed the title boot/image: support image.Customizations.BootFlags boot,image: support image.Customizations.BootFlags Apr 30, 2021
Copy link
Member

@anonymouse64 anonymouse64 left a comment

Choose a reason for hiding this comment

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

lgtm

@pedronis pedronis added this to the 2.51 milestone Apr 30, 2021
@anonymouse64
Copy link
Member

This needs a master merge

Copy link
Contributor

@mvo5 mvo5 left a comment

Choose a reason for hiding this comment

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

This is very nice, thank you


kind := "UC16/18"
switch {
case core20:
Copy link
Contributor

Choose a reason for hiding this comment

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

nice

@mvo5 mvo5 merged commit 5ab26a1 into snapcore:master May 3, 2021
@pedronis pedronis deleted the factory-hint branch May 10, 2021 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants