David Runge pushed to branch main at Arch Linux / Packaging / Packages / linux-rt
Commits: 49a9b7df by David Runge at 2026-05-19T19:20:58+02:00 Update instructions on applying the PREEMPT_RT patch locally Signed-off-by: David Runge <[email protected]> - - - - - 30302799 by David Runge at 2026-05-19T19:23:45+02:00 Add missing link for setting just variables from the command line Signed-off-by: David Runge <[email protected]> - - - - - b13587a0 by David Runge at 2026-05-19T19:26:44+02:00 Expand section on modifying the kernel config file Signed-off-by: David Runge <[email protected]> - - - - - 1 changed file: - README.md Changes: ===================================== README.md ===================================== @@ -112,7 +112,8 @@ To apply the upstream patch file for the [PREEMPT_RT patches] locally on top of ```bash just git checkout vX.Y.Z -just git am -S /path/to/rt.patch +just git apply /path/to/rt.patch +just git commit -s ``` ### Tag a custom real-time version @@ -154,11 +155,19 @@ This will automatically create a new tag in the [source repository] and create a The kernel config _must_ be adjusted upon major and minor releases of the kernel and _should_ be regenerated on patch-level releases. For this purpose it is recommended to use the `make nconfig` target of the [source repository] (also available in the `prepare` function of the PKGBUILD). +When using the PKGBUILD for this (to ensure the correct application of patches), `makepkg` needs to be called, because `pkgctl` does not allow interactive use: + +```bash +makepkg --nocheck --nobuild --nosign --nodeps +``` + +In addition, it is recommended to diff the existing config file with that of a matching version of the `linux` package to match and correlate the chosen options. [PREEMPT_RT patches]: https://wiki.linuxfoundation.org/realtime/start [`just`]: https://archlinux.org/packages/extra/x86_64/just/ [detached OpenPGP signature]: https://openpgp.dev/book/signing_data.html#detached-signatures [distribution repository]: https://github.com/archlinux/linux [realtime kernel]: https://wiki.archlinux.org/title/Realtime_kernel +[setting variables from the command line]: https://just.systems/man/en/setting-variables-from-the-command-line.html [source repository]: https://gitlab.archlinux.org/archlinux/packaging/upstream/linux-rt [upstream repository]: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/linux-rt/-/compare/4d596a56a252c853a015d46dc8054021e93c2808...b13587a06c9b250b49121068bf1a3a1282534630 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/linux-rt/-/compare/4d596a56a252c853a015d46dc8054021e93c2808...b13587a06c9b250b49121068bf1a3a1282534630 You're receiving this email because of your account on gitlab.archlinux.org. Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications | Help: https://gitlab.archlinux.org/help
