Skip to content

Add patch-external source plugin that can apply patches from a fetched source or successive sources

Alex Fuller requested to merge altjira/build-meta:kernel-config-extra into main

This plugin allows you to apply patches contained in a fetched source or successive sources after the main source.

One example is for the Linux kernel, once it is fetched from mainline, there are other external sources that can be successively sourced after that contain patches that can be applied, like https://pagure.io/kernel-fsync or https://github.com/CachyOS/kernel-patches

Modelled after the default patch plugin. Here is one simple example:

sources:
- kind: git_repo
  url: kernel:linux/kernel/git/stable/linux.git
  track: v6.5.*

# Nobara Linux kernel patches
- kind: git_repo
  url: pagure:kernel-fsync.git
  track: 6.5

- kind: patch-external
  path: SOURCES/tkg.patch

- kind: patch-external
  path: SOURCES/fsync.patch

# etc.
Edited by Alex Fuller

Merge request reports