We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98e143d commit 963105fCopy full SHA for 963105f
lib/common.sh
@@ -1163,10 +1163,10 @@ function get_kernel_version_for_platform_from_apt() {
1163
# Note that while the default kernel is usually also the latest
1164
# available, it is not always the case.
1165
#
1166
- if [[ "$platform" != generic ]] && [[ "$UBUNTU_DISTRIBUTION" == focal ]]; then
1167
- package="linux-image-${platform}"
1168
- else
+ if [[ "$platform" == generic ]]; then
1169
package="linux-image-${platform}-hwe-24.04"
+ else
+ package="linux-image-${platform}"
1170
fi
1171
1172
if [[ "$(apt-cache show --no-all-versions "$package" \
0 commit comments