aboutsummaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2019-02-16 19:34:26 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2019-02-22 12:45:36 +0100
commitf8373b57bbb8b96e7708daee9f0d3abb22fdc71a (patch)
tree7be9fa2d2e696e460aed10835d709f354cb72f37 /linux
parentef8c65c290c212f2ffe944f5468eda2215844c75 (diff)
downloadbuildroot-f8373b57bbb8b96e7708daee9f0d3abb22fdc71a.tar.gz
buildroot-f8373b57bbb8b96e7708daee9f0d3abb22fdc71a.tar.bz2
linux: don't check hashes for user-supplied patches
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 <simon.vanderveldt@gmail.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Peter Korsgaard <peter@korsgaard.com> Tested-by: Simon van der Veldt <simon.vanderveldt@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit 3ae8dab9e91055b6f674b0287bcb8b1aa90d16e0) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'linux')
-rw-r--r--linux/linux.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/linux.mk b/linux/linux.mk
index ce0b371734..b548bed1a5 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