You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In short: the filename has changed from kernel-modules-headers.tar.gz to kernel_modules_headers.tar.gz (_ instead of -).
How to fix:
Change the command in the Dockerfile to:
# Download the kernel source then prepare kernel source to build a module.
RUN \
curl -fsSL "https://files.balena-cloud.com/images/${BALENA_MACHINE_NAME}/${VERSION}/kernel_modules_headers.tar.gz" \
| tar xz --strip-components=2 && \
make -C build modules_prepare -j"$(nproc)"
This worked for me with balenaOS 6.0.24+rev1 and machine_name generic-amd64.
Curl fails on the link with a 404 error
The only one that works is
2.115.8%2Brev1
Ive tried other newer and older versions too from
5.x.x
to3.x.x
The text was updated successfully, but these errors were encountered: