[Buildroot] [git commit] linux: don't check hashes for user-supplied patches

From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Date: 2019-02-17 14:22:42
Subsystem: the rest · Maintainer: Linus Torvalds

commit: https://git.buildroot.net/buildroot/commit/?id=3ae8dab9e91055b6f674b0287bcb8b1aa90d16e0
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

We have virtually no way to know the hashes for user-supplied patches,
so we should just ignore them.

Reported-by: Simon van der Veldt <redacted>
Signed-off-by: "Yann E. MORIN" <redacted>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Arnout Vandecappelle <redacted>
Cc: Peter Korsgaard <peter@korsgaard.com>
Tested-by: Simon van der Veldt <redacted>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 linux/linux.mk | 3 +++
 1 file changed, 3 insertions(+)
diff --git a/linux/linux.mk b/linux/linux.mk
index 8c21bad067..2b5d096e14 100644
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -55,6 +55,9 @@ endif
 
 LINUX_PATCHES = $(call qstrip,$(BR2_LINUX_KERNEL_PATCH))
 
+# We have no way to know the hashes for user-supplied patches.
+BR_NO_CHECK_HASH_FOR += $(notdir $(LINUX_PATCHES))
+
 # We rely on the generic package infrastructure to download and apply
 # remote patches (downloaded from ftp, http or https). For local
 # patches, we can't rely on that infrastructure, because there might
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help