File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -89,23 +89,17 @@ This document provides a step-by-step guide to fixing CVE patches for Azure Linu
89
89
` ` ` bash
90
90
git diff
91
91
git add -u
92
- git commit -m " Address CVE-xxxx-yyyy"
92
+ ` ` `
93
+ - Include the Upstream Patch Reference in the newly generated patch file after the subject:
94
+ ` ` ` bash
95
+ git commit -m " Patch CVE-xxxx-yyyy" -m " Upstream Patch Reference: <link>"
93
96
` ` `
94
97
4. Create a new patch file:
95
98
` ` ` bash
96
99
git log --oneline
97
100
git format-patch -1 HEAD
98
101
mv < patch-name> .patch CVE-xxxx-yyyy.patch
99
102
` ` `
100
- - Include the patch source link in the newly generated patch file after the subject:
101
- ` ` ` plaintext
102
- Upstream Reference Link: < link>
103
- ` ` `
104
- - If it' s a backported patch, mention it with the upstream reference link used for backporting.
105
- ```plaintext
106
- Upstream Reference Link: <link>
107
- ```
108
-
109
103
---
110
104
111
105
# ## **6. Update the Repository**
You can’t perform that action at this time.
0 commit comments