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

ci: docker-boot: Improve detection of kernel version #333

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

vt-alt
Copy link
Contributor

@vt-alt vt-alt commented Apr 19, 2024

Description

Ubuntu starts to install linux-headers-generic
(linux-headers-5.15.0-102-generic) with /lib/modules/5.15.0-102-generic containing the build link, which confuses simple ls method version detection and later depmod call. Make kernel version detection similar to the other places.

Fixes: #332

How Has This Been Tested?

https://github.com/vt-alt/lkrg/actions/runs/8747621184/job/24006360510

Ubuntu starts to install linux-headers-generic
(linux-headers-5.15.0-102-generic) with /lib/modules/5.15.0-102-generic
containing the `build` link, which confuses simple `ls` method version
detection and later depmod call. Make kernel version detection similar
to the other places.

Fixes: lkrg-org#332
Signed-off-by: Vitaly Chikunov <[email protected]>
@vt-alt
Copy link
Contributor Author

vt-alt commented Apr 19, 2024

One build error perhaps transient

38.60 E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/i/isl/libisl19_0.19-1_i386.deb  Undetermined Error [IP: 185.125.190.36 80]

ps. I think you can restart CI to verify that.

@solardiz solardiz merged commit c6654b1 into lkrg-org:main Apr 19, 2024
19 of 20 checks passed
@vt-alt vt-alt deleted the arm32fix branch April 19, 2024 13:26
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.

CI: arm32 test fails to install/load lkrg.ko
2 participants