Files
buildroot/package
Thomas Petazzoni d18b83a524 package/linux-headers: the latest headers are 5.6
In commit c2009e9f75
("package/linux-headers: license files hashes only valid for latest
version"), we introduced BR2_KERNEL_HEADERS_LATEST, which should only
be set for the most recent kernel headers versions.

Indeed, the COPYING file of Linux has changed before/after Linux 5.6,
causing its hash file to be different. Since linux-headers uses
linux/linux.hash as the hash file, and this hash file contains the
COPYING hash of Linux >= 5.6, we cannot use that hash for Linux
versions older than 5.6.

When newer versions of the headers than 5.4 were added, this
BR2_KERNEL_HEADERS_LATEST was not moved as it should have been. We fix
this, which fixes a legal-info failure happening when Linux kernel
headers 5.4 are used:

>>> linux-headers 5.4.61 Patching
>>> linux-headers 5.4.61 Collecting legal info
ERROR: COPYING has wrong sha256 hash:
ERROR: expected: fb5a425bd3b3cd6071a3a9aff9909a859e7c1158d54d32e07658398cd67eb6a0
ERROR: got     : ee5808b032a67f587d3541099d46de34f5bec8cd5976114ba07f1299ee6001ff
ERROR: Incomplete download, or man-in-the-middle (MITM) attack
make: *** [package/linux-headers/linux-headers.mk:158: linux-headers-legal-info] Error 1

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-09-09 12:50:20 +02:00
..
2020-07-22 13:37:23 +02:00
2020-05-09 16:51:17 +02:00
2020-08-13 19:02:31 +02:00
2020-08-28 18:01:15 +02:00
2020-04-27 22:28:44 +02:00
2020-07-20 21:57:07 +02:00
2020-08-13 20:34:53 +02:00
2020-04-23 23:38:10 +02:00
2020-07-22 13:46:52 +02:00
2020-05-25 22:04:35 +02:00
2020-05-01 14:09:42 +02:00
2020-04-25 21:28:53 +02:00
2020-04-21 21:35:54 +02:00
2020-07-13 08:36:53 +02:00
2020-07-22 13:42:11 +02:00
2020-05-01 15:08:04 +02:00
2020-04-21 21:37:38 +02:00
2020-05-26 12:02:13 +02:00
2020-07-22 09:01:18 +02:00
2020-08-18 17:24:28 +02:00
2020-04-21 22:12:51 +02:00
2020-08-28 18:43:39 +02:00
2020-07-15 23:20:40 +02:00
2020-07-22 13:40:39 +02:00
2020-08-28 17:10:36 +02:00
2020-05-01 14:04:51 +02:00
2020-04-25 22:34:43 +02:00
2020-05-02 18:34:30 +02:00
2020-05-25 22:52:53 +02:00
2020-04-25 21:29:18 +02:00
2020-04-21 21:37:24 +02:00
2020-05-25 22:48:44 +02:00
2020-05-17 21:38:47 +02:00
2020-07-22 13:42:11 +02:00
2020-04-21 21:35:43 +02:00
2020-08-28 18:43:39 +02:00
2020-04-21 21:35:33 +02:00
2020-04-27 22:26:40 +02:00
2020-04-27 22:20:16 +02:00
2020-05-25 22:48:44 +02:00
2020-05-03 21:57:44 +02:00