-
Notifications
You must be signed in to change notification settings - Fork 140
Update reboot-required file with information about the staged image #1583
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
Conversation
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.
Thanks for picking this up!
c4916c1
to
cf98801
Compare
I didn't realize that we were already creating this file, so this change is much more simple than I had initially planned. I think it should always be updated in that |
cf98801
to
034ad11
Compare
Result looks like:
I guess if this was a Maybe there's something more informative than just Edit: Maybe Using the digest looks like:
|
034ad11
to
0483923
Compare
1fec49b
to
bdd40e4
Compare
This change updates the /run/reboot-required file to include information about the staged bootc image. This will provide users with information about what bootc image will be effective after the system has been rebooted. Fixes bootc-dev#1574 Signed-off-by: Brendan Shephard <bshephar@bne-home.net>
bdd40e4
to
e3530d4
Compare
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.
Thanks!
This change adds a function that writes the /run/reboot-required file, this function is called from any deployment operation with the relevant context. Calling from rollback will ensure the rollback context along with the image reference is written to the file, while calling from upgrade or switch will write the deploy context for users to reference. This expands on the functionality requested in: bootc-dev#1574 Related to: bootc-dev#1583 Signed-off-by: Brendan Shephard <bshephar@bne-home.net>
This change adds a function that writes the /run/reboot-required file. This function is called from any deployment operation with the relevant context. Calling from rollback will ensure the rollback context along with the image digest is written to the file, while calling from upgrade or switch will write the deploy context for users to reference. This expands on the functionality requested in: bootc-dev#1574 Related to: bootc-dev#1583 Signed-off-by: Brendan Shephard <bshephar@bne-home.net>
This change adds a function that writes the /run/reboot-required file. This function is called from any deployment operation with the relevant context. Calling from rollback will ensure the rollback context along with the image digest is written to the file, while calling from upgrade or switch will write the deploy context for users to reference. This expands on the functionality requested in: bootc-dev#1574 Related to: bootc-dev#1583 Signed-off-by: Brendan Shephard <bshephar@bne-home.net>
This change adds a function that writes the /run/reboot-required file. This function is called from any deployment operation with the relevant context. Calling from rollback will ensure the rollback context along with the image digest is written to the file, while calling from upgrade or switch will write the deploy context for users to reference. This expands on the functionality requested in: bootc-dev#1574 Related to: bootc-dev#1583 Signed-off-by: Brendan Shephard <bshephar@bne-home.net>
This change adds a function that writes the /run/reboot-required file. This function is called from any deployment operation with the relevant context about the image that has been staged. This expands on the functionality requested in: bootc-dev#1574 Related to: bootc-dev#1583 Signed-off-by: Brendan Shephard <bshephar@bne-home.net>
This change updates the /run/reboot-required file to include information
about the staged bootc image. This will provide users with information
about what bootc image will be effective after the system has been
rebooted.
Fixes #1574