From: Yann E. MORIN Date: Sat, 16 Feb 2019 18:34:26 +0000 (+0100) Subject: linux: don't check hashes for user-supplied patches X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3ae8dab9e91055b6f674b0287bcb8b1aa90d16e0;p=buildroot.git 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 Signed-off-by: "Yann E. MORIN" Cc: Thomas Petazzoni Cc: Arnout Vandecappelle Cc: Peter Korsgaard Tested-by: Simon van der Veldt Signed-off-by: Thomas Petazzoni --- 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