[PATCH v2 13/15] integration-patches: make patches per target kernel version

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The integration patches are applied to the target kernel,
so really need to be versioned accordingly.

Signed-off-by: Thomas Pedersen <thomas@xxxxxxxxxxxx>
---
 gentree.py                                                     | 3 ++-
 .../0001-enable-backports/0001-enable-backports-built-in.patch | 0
 2 files changed, 2 insertions(+), 1 deletion(-)
 rename integration-patches/{ => 4.19}/0001-enable-backports/0001-enable-backports-built-in.patch (100%)

diff --git a/gentree.py b/gentree.py
index 9699ce0128d0..04e47c76e607 100755
--- a/gentree.py
+++ b/gentree.py
@@ -1137,8 +1137,9 @@ def process(kerneldir, copy_list_file, git_revision=None,
         f.write('source "backports/Kconfig"\n')
         f.close()
         git_debug_snapshot(args, "hooked backport to top level Kconfig")
+        patchdir = 'integration-patches/%s.%s/' % (rel_specs['VERSION'], rel_specs['PATCHLEVEL'])
 
-        failure = apply_patches(args, "integration", source_dir, 'integration-patches/',
+        failure = apply_patches(args, "integration", source_dir, patchdir,
                                 bpid.project_dir, logwrite)
         if failure:
             return failure
diff --git a/integration-patches/0001-enable-backports/0001-enable-backports-built-in.patch b/integration-patches/4.19/0001-enable-backports/0001-enable-backports-built-in.patch
similarity index 100%
rename from integration-patches/0001-enable-backports/0001-enable-backports-built-in.patch
rename to integration-patches/4.19/0001-enable-backports/0001-enable-backports-built-in.patch
-- 
2.30.2

--
To unsubscribe from this list: send the line "unsubscribe backports" in



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux