Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: select kernel_modules_headers instead of kernel_source if Balena OS version greater than 2.x.x #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MyronRodrigues-StreetDrone

fixes #8

  • kernel_source.tar.gz is not available for Balena versions 3.x.x+ in https://files.balena-cloud.com/ , however the headers are available.
  • Found the correct file name from balena-os/kernel-module-build
  • Feel free to improve the shell script not an expert
    • it selects kernel_modules_drivers.tar.gz from Balena cloud if version is greater than 3.x.x

tested building with Balena OS version 4.1.5+rev1

@MyronRodrigues-StreetDrone MyronRodrigues-StreetDrone changed the title fix: kernel headers only if balena version gt 2 Fix: select kernel_modules_headers instead of kernel_source if Balena OS version greater than 2.x.x Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Error] : curl: (22) The requested URL returned error
1 participant