Skip to content

[action] [PR:14434] Made non-upstream patch design order aware#14650

Merged
mssonicbld merged 1 commit intosonic-net:202211from
mssonicbld:cherry/202211/14434
Apr 13, 2023
Merged

[action] [PR:14434] Made non-upstream patch design order aware#14650
mssonicbld merged 1 commit intosonic-net:202211from
mssonicbld:cherry/202211/14434

Conversation

@mssonicbld
Copy link
Copy Markdown
Collaborator

No description provided.

- Why I did it

Currently, non upstream patches are applied only after upstream patches.

Depends on sonic-net/sonic-linux-kernel#313. Can be merged in any order, preferably together

- What I did it

Non upstream Patches that reside in the sonic repo will not be saved in a tar file bur rather in a folder pointed out by EXTERNAL_KERNEL_PATCH_LOC. This is to make changes to the non upstream patches easily traceable.
The build variable name is also updated to INCLUDE_EXTERNAL_PATCHES
Files/folders expected under EXTERNAL_KERNEL_PATCH_LOC
EXTERNAL_KERNEL_PATCH_LOC/
       ├──── patches/
             ├── 0001-xxxxx.patch
             ├── 0001-yyyyyyyy.patch
             ├── .............
       ├──── series.patch
series.patch should contain a diff that is applied on the sonic-linux-kernel/patch/series file. The diff should include all the non-upstream patches.
How to verify it

Build the Kernel and verified if all the patches are applied properly

Signed-off-by: Vivek Reddy Karri <[email protected]>
@mssonicbld
Copy link
Copy Markdown
Collaborator Author

Original PR: #14434

@mssonicbld mssonicbld merged commit 6781c4a into sonic-net:202211 Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants