linux: remove old unused patches
PATCH 1/2 linux: remove old unused patches
From: Denys Dmytriyenko <[email protected]>
These patches are not used anywhere now.
Signed-off-by Denys Dmytriyenko <[email protected]>
--- ...s-Fix-build-for-upcoming-GCC-release.patch | 46 -------- ...ture-changes-causes-compile-failures.patch | 111 ------------------ 2 files changed, 157 deletions(-) delete mode 100644 meta-ti-bsp/recipes-kernel/linux/files/0001-gcc-plugins-Fix-build-for-upcoming-GCC-release.patch delete mode 100644 meta-ti-bsp/recipes-kernel/linux/files/init_disassemble_info-signature-changes-causes-compile-failures.patch
meta-ti-bsp/recipes-kernel/linux/files/0001-gcc-plugins-Fix-build-for-upcoming-GCC-release.patch deleted +0 -46
@@ -1,46 +0,0 @@ -From 3cd29a3d7c25cca9989e7d8966141f725fa99c68 Mon Sep 17 00:00:00 2001 -From: Palmer Dabbelt <[email protected]> -Date: Fri, 13 Jan 2023 09:30:33 -0800 -Subject: [PATCH] gcc-plugins: Fix build for upcoming GCC release - -The upcoming GCC release has refactored the gimple plugin interface a -bit and unless gimple-iterator.h is included before gimple-fold.h I end -up with a bunch of missing declarations when building the stack -protector plugin. - -Upstream-Status: Backport [https://lore.kernel.org/all/[email protected]/] -Reported-by: Palmer Dabbelt <[email protected]> -Acked-by: Palmer Dabbelt <[email protected]> -Link: https://lore.kernel.org/all/[email protected]/ -Cc: [email protected] -Signed-off-by: Kees Cook <[email protected]> ---- - scripts/gcc-plugins/gcc-common.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/scripts/gcc-plugins/gcc-common.h -+++ b/scripts/gcc-plugins/gcc-common.h -@@ -108,7 +108,9 @@ - #include "varasm.h" - #include "stor-layout.h" - #include "internal-fn.h" -+#include "gimple.h" - #include "gimple-expr.h" -+#include "gimple-iterator.h" - #include "gimple-fold.h" - #include "context.h" - #include "tree-ssa-alias.h" -@@ -124,13 +126,10 @@ - #include "gimplify.h" - #endif - --#include "gimple.h" -- - #if BUILDING_GCC_VERSION >= 4009 - #include "tree-ssa-operands.h" - #include "tree-phinodes.h" - #include "tree-cfg.h" --#include "gimple-iterator.h" - #include "gimple-ssa.h" - #include "ssa-iterators.h" - #endif
meta-ti-bsp/recipes-kernel/linux/files/init_disassemble_info-signature-changes-causes-compile-failures.patch deleted +0 -111
111 lines not on this page · raw message
Signature · 1 line
2.25.1
PATCH 2/2 linux: add linux-yocto reproducibility patches
From: Denys Dmytriyenko <[email protected]>
Add reproducibility patches from linux-yocto to resolve "buildpaths" QA errors.
Signed-off-by Denys Dmytriyenko <[email protected]>
--- ..._registry-fix-reproducibility-issues.patch | 46 +++++++++++++++ ...-pnmtologo-use-relocatable-file-name.patch | 55 ++++++++++++++++++ ...-conmakehash-improve-reproducibility.patch | 56 +++++++++++++++++++ .../recipes-kernel/linux/ti-kernel.inc | 6 ++ 4 files changed, 163 insertions(+) create mode 100644 meta-ti-bsp/recipes-kernel/linux/files/0001-lib-build_OID_registry-fix-reproducibility-issues.patch create mode 100644 meta-ti-bsp/recipes-kernel/linux/files/0001-pnmtologo-use-relocatable-file-name.patch create mode 100644 meta-ti-bsp/recipes-kernel/linux/files/0001-vt-conmakehash-improve-reproducibility.patch
meta-ti-bsp/recipes-kernel/linux/files/0001-lib-build_OID_registry-fix-reproducibility-issues.patch new file +46 -0
@@ -0,0 +1,46 @@ +From 2fca0fd719812ea2ff67630b01355aa80481623e Mon Sep 17 00:00:00 2001 +From: Bruce Ashfield <[email protected]> +Date: Sun, 10 Jul 2022 22:56:53 -0400 +Subject: [PATCH] lib/build_OID_registry: fix reproducibility issues + +The script build_OID_registry captures the full path of itself +in the generated data. This causes reproduciblity issues as the +path is captured and packaged. + +We use the basename of the script instead, and that allows us +to be reprodicible, with slightly less information captured in +the output data (but the generating script can still easily +be found). + +Signed-off-by: Bruce Ashfield <[email protected]> + +Upstream-Status: Inappropriate + +Signed-off-by: Denys Dmytriyenko <[email protected]> +--- + lib/build_OID_registry | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/lib/build_OID_registry b/lib/build_OID_registry +index d7fc32ea8ac2..f6de0a7f7457 100755 +--- a/lib/build_OID_registry ++++ b/lib/build_OID_registry +@@ -8,6 +8,7 @@ + # + + use strict; ++use File::Basename; + + my @names = (); + my @oids = (); +@@ -35,7 +36,7 @@ close IN_FILE || die; + # + open C_FILE, ">$ARGV[1]" or die; + print C_FILE "/*\n"; +-print C_FILE " * Automatically generated by ", $0, ". Do not edit\n"; ++print C_FILE " * Automatically generated by ", basename $0, ". Do not edit\n"; + print C_FILE " */\n"; + + # +-- +2.25.1
meta-ti-bsp/recipes-kernel/linux/files/0001-pnmtologo-use-relocatable-file-name.patch new file +55 -0
55 lines not on this page · raw message
meta-ti-bsp/recipes-kernel/linux/files/0001-vt-conmakehash-improve-reproducibility.patch new file +56 -0
56 lines not on this page · raw message
meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc +6 -0
@@ -12,3 +12,9 @@ EXTRA_DTC_ARGS += "${@get_extra_dtc_args(d)}" # the kernel. KERNEL_DTBDEST = "${KERNEL_IMAGEDEST}/dtb" KERNEL_DTBVENDORED = "1" + +SRC_URI += " \ +file://0001-lib-build_OID_registry-fix-reproducibility-issues.patch \ +file://0001-vt-conmakehash-improve-reproducibility.patch \ +file://0001-pnmtologo-use-relocatable-file-name.patch \ +"
Signature · 1 line
2.25.1