Skip to content

Commit b5b35e7

Browse files
committed
Update developers guide on howto upgrade Linux kernel
1 parent bb274dc commit b5b35e7

File tree

1 file changed

+3
-49
lines changed

1 file changed

+3
-49
lines changed

doc/developers-guide.md

Lines changed: 3 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -349,55 +349,9 @@ kernel is available.
349349

350350
#### Repo locally cloned already
351351

352-
1. Navigate to the Linux kernel directory
353-
354-
cd linux
355-
356-
1. Get latest changes from KernelKit
357-
358-
git pull
359-
360-
1. Fetch the latest tags from upstream
361-
362-
git fetch upstream --tags
363-
364-
#### No local repo yet
365-
366-
1. Clone the KernelKit Linux kernel repository
367-
368-
git clone [email protected]:kernelkit/linux.git
369-
370-
1. Add the upstream remote
371-
372-
git remote add upstream git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
373-
374-
1. Checkout correct kernel branch
375-
376-
git checkout kkit-linux-6.12.y
377-
378-
#### Continue Here
379-
380-
1. Rebase on the upstream release
381-
382-
git rebase v6.12.29
383-
384-
1. Push changes and the tags
385-
386-
git push -f origin kkit-linux-6.12.y --tags
387-
388-
**Move to your Infix source tree**
389-
390-
> [!NOTE]
391-
> See help of `kernel-refresh.sh` script for more information.
392-
393-
1. Generate patches
394-
395-
make x86_64_defconfig
396-
cd output
397-
../utils/kernel-refresh.sh -k /path/to/linux -o 6.12.28 -t v6.12.29
398-
399-
1. Commit and push the changes. Remember to update the ChangeLog
400-
1. Create a pull request
352+
- ./utils/kernel-upgrade.sh /path/to/linux/tree
353+
- Update Changelog
354+
- push and create a pull request
401355

402356
> [!NOTE]
403357
> Remember to set the pull request label to `ci:main` to ensure full CI

0 commit comments

Comments
 (0)