mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
{linux, linux-headers}: split hash file in before and from 6.17
In linux 6.17, the license file LICENSES/preferred/GPL-2.0 was modified.
As a result, also its hash changed, and the hash was duly updated in
commit d6c0f0015b. Of course, this is only
valid for kernel versions from 6.17 - but at the time, we only set
LINUX_LICENSE_FILES for the latest kernel version, not for any other
kernel versions.
Since commit 305a2d91731fade45f35c259cb012bdf17e8dbeb, we also set
LINUX_LICENSE_FILES for all other versions, including e.g. the CIP
versions. Similarly, we now set LICENSE_FILES for all linux-headers
versions. Thus, the hash check of the license file fails for all older
kernel versions.
Fix this by splitting the hash file in two hash files: before-6.17 and
from-6.17. We keep just two hash file rather than a separate one for
each version to limit the number of files that need to be updated when
bumping kernel versions. Create symlinks for all the CIP version in
linux and for all supported versions in linux-headers.
Include the CIP versions as well for linux-headers. They are used when
the kernel is set to the CIP version and linux-headers to
same-as-kernel.
Signed-off-by: Arnout Vandecappelle <arnout@rnout.be>
This commit is contained in:
1
linux/5.10.246-cip66
Symbolic link
1
linux/5.10.246-cip66
Symbolic link
@@ -0,0 +1 @@
|
||||
before-6.17/
|
||||
1
linux/5.10.246-cip66-rt29/linux.hash
Symbolic link
1
linux/5.10.246-cip66-rt29/linux.hash
Symbolic link
@@ -0,0 +1 @@
|
||||
../before-6.17/linux.hash
|
||||
1
linux/6.18.8
Symbolic link
1
linux/6.18.8
Symbolic link
@@ -0,0 +1 @@
|
||||
from-6.17
|
||||
1
linux/before-6.17/linux-headers.hash
Symbolic link
1
linux/before-6.17/linux-headers.hash
Symbolic link
@@ -0,0 +1 @@
|
||||
linux.hash
|
||||
@@ -1,5 +1,4 @@
|
||||
# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
|
||||
sha256 37f0c5d5c242c1d604e87d48f08795e861a5a85f725b4ca11d0a538f12ff8cff linux-6.18.8.tar.xz
|
||||
sha256 d367c7504bd4da520dd01eb08125d2d0ac088bc8af4cd56d236f2074dd4225b7 linux-6.12.68.tar.xz
|
||||
sha256 d48e0d9de04bef2fb9740bdb0124548bcab8867cdca00ff9712c110282b299d6 linux-6.6.122.tar.xz
|
||||
sha256 b41666bda7223600386a07ebe1802f5029da2fe81f6a85d691b6ec6a707e5a29 linux-6.1.161.tar.xz
|
||||
@@ -12,5 +11,5 @@ sha256 b3454708b98016f02604433e41060be2c1feb595c2bddeb25292596f047f0915 linux-
|
||||
|
||||
# Licenses hashes
|
||||
sha256 fb5a425bd3b3cd6071a3a9aff9909a859e7c1158d54d32e07658398cd67eb6a0 COPYING
|
||||
sha256 8780e78a1a737e127f25a65f6d95269bffd36158dc261114de7859b490bfc5aa LICENSES/preferred/GPL-2.0
|
||||
sha256 f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79 LICENSES/preferred/GPL-2.0
|
||||
sha256 8e378ab93586eb55135d3bc119cce787f7324f48394777d00c34fa3d0be3303f LICENSES/exceptions/Linux-syscall-note
|
||||
1
linux/from-6.17/linux-headers.hash
Symbolic link
1
linux/from-6.17/linux-headers.hash
Symbolic link
@@ -0,0 +1 @@
|
||||
linux.hash
|
||||
7
linux/from-6.17/linux.hash
Normal file
7
linux/from-6.17/linux.hash
Normal file
@@ -0,0 +1,7 @@
|
||||
# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
|
||||
sha256 37f0c5d5c242c1d604e87d48f08795e861a5a85f725b4ca11d0a538f12ff8cff linux-6.18.8.tar.xz
|
||||
|
||||
# Licenses hashes
|
||||
sha256 fb5a425bd3b3cd6071a3a9aff9909a859e7c1158d54d32e07658398cd67eb6a0 COPYING
|
||||
sha256 8780e78a1a737e127f25a65f6d95269bffd36158dc261114de7859b490bfc5aa LICENSES/preferred/GPL-2.0
|
||||
sha256 8e378ab93586eb55135d3bc119cce787f7324f48394777d00c34fa3d0be3303f LICENSES/exceptions/Linux-syscall-note
|
||||
1
package/linux-headers/5.10.246-cip66
Symbolic link
1
package/linux-headers/5.10.246-cip66
Symbolic link
@@ -0,0 +1 @@
|
||||
../../linux/before-6.17
|
||||
1
package/linux-headers/5.10.246-cip66-rt29
Symbolic link
1
package/linux-headers/5.10.246-cip66-rt29
Symbolic link
@@ -0,0 +1 @@
|
||||
../../linux/before-6.17
|
||||
1
package/linux-headers/5.10.248
Symbolic link
1
package/linux-headers/5.10.248
Symbolic link
@@ -0,0 +1 @@
|
||||
../../linux/before-6.17
|
||||
1
package/linux-headers/5.15.198
Symbolic link
1
package/linux-headers/5.15.198
Symbolic link
@@ -0,0 +1 @@
|
||||
../../linux/before-6.17
|
||||
1
package/linux-headers/6.1.161
Symbolic link
1
package/linux-headers/6.1.161
Symbolic link
@@ -0,0 +1 @@
|
||||
../../linux/before-6.17
|
||||
1
package/linux-headers/6.12.68
Symbolic link
1
package/linux-headers/6.12.68
Symbolic link
@@ -0,0 +1 @@
|
||||
../../linux/before-6.17
|
||||
1
package/linux-headers/6.18.8
Symbolic link
1
package/linux-headers/6.18.8
Symbolic link
@@ -0,0 +1 @@
|
||||
../../linux/from-6.17
|
||||
1
package/linux-headers/6.6.112
Symbolic link
1
package/linux-headers/6.6.112
Symbolic link
@@ -0,0 +1 @@
|
||||
../../linux/before-6.17
|
||||
@@ -1 +0,0 @@
|
||||
../../linux/linux.hash
|
||||
Reference in New Issue
Block a user