Skip to content

Conversation

sgaud-quic
Copy link
Contributor

Currently kernel version is being extracted from the avaliable files present in the rootfs.

vmlinuz-6.17.0-00001-g7b3ecb1fbc38
vmlinuz-6.17.0-5-generic

kernel_ver=$(ls /boot/vmlinuz-* | sed 's|.*/vmlinuz-||' | sort -V | tail -n1)

With 6.17 kernel version being generated is kernel-6.17.0-00001-g7b3ecb1fbc38, and the above condition is failing and returning the generic kernel version 6.17.0-5-generic

To fix this use the kernel version from the kernel debian package that is generated from the build.

Currently kernel version is being extracted from the avaliable
files present in the rootfs.

vmlinuz-6.17.0-00001-g7b3ecb1fbc38
vmlinuz-6.17.0-5-generic

kernel_ver=\$(ls /boot/vmlinuz-* | sed 's|.*/vmlinuz-||' | sort -V | tail -n1)

With 6.17 kernel version being generated is kernel-6.17.0-00001-g7b3ecb1fbc38,
and the above condition is failing and returning the generic kernel version
6.17.0-5-generic

To fix this use the kernel version from the kernel debian package that is
generated from the build.

Signed-off-by: Salendarsingh Gaud <[email protected]>
Copy link

@quicAspratap quicAspratap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@vishwasudupa vishwasudupa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looking good

@vishwasudupa vishwasudupa merged commit 18b3e8d into qualcomm-linux:latest Oct 6, 2025
4 of 6 checks passed
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.

3 participants