Commit 57b86ba
committed
Add function to write reboot-required file with context
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: #1574
Related to: #1583
Signed-off-by: Brendan Shephard <[email protected]>1 parent 39b0a32 commit 57b86ba
1 file changed
+16
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
794 | 794 | | |
795 | 795 | | |
796 | 796 | | |
797 | | - | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
798 | 807 | | |
799 | 808 | | |
800 | 809 | | |
| |||
870 | 879 | | |
871 | 880 | | |
872 | 881 | | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
873 | 888 | | |
874 | 889 | | |
875 | 890 | | |
| |||
0 commit comments