Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1163,10 +1163,10 @@ function get_kernel_version_for_platform_from_apt() {
# Note that while the default kernel is usually also the latest
# available, it is not always the case.
#
if [[ "$platform" != generic ]] && [[ "$UBUNTU_DISTRIBUTION" == focal ]]; then
package="linux-image-${platform}"
else
if [[ "$platform" == generic ]]; then
package="linux-image-${platform}-hwe-24.04"
else
package="linux-image-${platform}"
fi

if [[ "$(apt-cache show --no-all-versions "$package" \
Expand Down
Loading