balena-os / kernel-module-build

Example project for building an OOT kernel module in balena
https://balena.io
MIT License
35 stars 29 forks source link

build.sh: Change path for the headers tar.gz #30

Closed vicgal closed 4 years ago

vicgal commented 4 years ago

Change the test to add ESR kernel_modules_headers archives. Include matching of the esr-images directory otherwise it will not match against the key from the xml file on S3: Invalid path 'esr-images/.../2019.10.1.prod/kernel_modules_headers.tar.gz'?!

Changelog-entry: Update validator for ESR release of the headers S3 path Signed-off-by: Vicentiu Galanopulo viceniu@balena.io

floion commented 4 years ago

@balena-ci retest

floion commented 4 years ago

@balena-ci retest

floion commented 4 years ago

@balena-ci retest

acostach commented 4 years ago

On my side at SHA 1e03460 (latest) this works on both ESR 2020.04.0 and non ESR:

07.04.20 14:17:18 (+0300)  main  Loading module from example_module_raspberrypi4-64_2020.04.0.prod
07.04.20 14:17:18 (+0300)  main  hello                  16384  0

07.04.20 14:25:24 (+0300)  main  Loading module from example_module_nitrogen8mm_2.47.1+rev3.prod
07.04.20 14:25:25 (+0300)  main  hello                  16384  0
floion commented 4 years ago

@balena-ci retest