Finalized fetch and merge script for rt-tags#345
Draft
jatinjb444 wants to merge 2 commits intoni:nilrt/master/scarthgapfrom
Draft
Finalized fetch and merge script for rt-tags#345jatinjb444 wants to merge 2 commits intoni:nilrt/master/scarthgapfrom
jatinjb444 wants to merge 2 commits intoni:nilrt/master/scarthgapfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
This PR introduces automation to fetch and merge the latest stable‑RT kernel tags into the target NI Linux Real‑Time branch.
Key changes:
Automatically clone the NI Linux kernel repository in a clean workspace.
Fetch upstream stable‑RT tags from the RT kernel repository.
Identify and merge the latest applicable RT tag into the configured target branch.
Ensure a deterministic and clean git state before merging to support re‑runs and CI usage.
Send notification emails on successful merge or on merge failure with relevant details.
This automation is focused only on the fetch and merge workflow.
Kernel build and deployment steps will be added in follow‑up changes.
Update: April 14th , 2026
Get the Cross Compile toolchain from the nirvana path and set it
Build and install the kernel on the NI's target
Copied the modules to the target
Check the network configurations working fine after reboot
Testing
The changes were validated by:
Running the script in a fresh workspace to verify repository cloning and RT tag discovery.
Verifying that the latest stable‑RT tag is correctly detected and merged.
After the target reboot , was able to check the latest kernel version using - { uname -r }
Verified the network modules working fine after reboot.
Process
Suggested Reviewers:
@rajendra-desai-ni