When building kernel module, the build script needs to find the kernel headers for the specified os version. howver, during the process when the version is being matched, the following messages are constantly printed out during the loop until it eventually finds a match:
Could not find headers for 'raspberry-pi' at version '2.54.2+rev1.dev', run ./build.sh list
Could not find headers for 'raspberry-pi' at version '2.54.2+rev1.dev', run ./build.sh list
Could not find headers for 'raspberry-pi' at version '2.54.2+rev1.dev', run ./build.sh list
images/raspberry-pi/2.54.2+rev1.dev/kernel_modules_headers.tar.gz
Building images/raspberry-pi/2.54.2+rev1.dev/kernel_modules_headers.tar.gz...
--2020-10-08 06:25:38-- https://files.balena-cloud.com/images/raspberry-pi/2.54.2%2Brev1.dev/kernel_modules_headers.tar.gz
Resolving files.balena-cloud.com (files.balena-cloud.com)...
13.249.72.50, 13.249.72.38, 13.249.72.64, ...
Connecting to files.balena-cloud.com (files.balena-cloud.com)|13.249.72.50|:443...
connected.
HTTP request sent, awaiting response...
200 OK
Length: 12246790 (12M) [binary/octet-stream]
Saving to: ‘kernel_modules_headers.tar.gz’
I think this should be after the loop?
|
err "Could not find headers for '$device' at version '$version', run $0 list" |
When building kernel module, the build script needs to find the kernel headers for the specified os version. howver, during the process when the version is being matched, the following messages are constantly printed out during the loop until it eventually finds a match:
I think this should be after the loop?
kernel-module-build/build.sh
Line 71 in 93da0fe