Skip to content

Commit c66c395

Browse files
author
Prakash Surya
committed
Merge remote-tracking branch 'origin/master' into 6.0/stage
2 parents b2c7fa2 + 55ee319 commit c66c395

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/common.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1075,9 +1075,8 @@ function get_kernel_version_for_platform_from_apt() {
10751075
# available, it is not always the case.
10761076
#
10771077

1078-
if [[ "$platform" == generic ]] &&
1079-
[[ "$UBUNTU_DISTRIBUTION" == bionic ]]; then
1080-
package=linux-image-generic-hwe-18.04
1078+
if [[ "$platform" != generic ]] && [[ "$UBUNTU_DISTRIBUTION" == focal ]]; then
1079+
package="linux-image-${platform}-lts-20.04"
10811080
else
10821081
package="linux-image-${platform}"
10831082
fi

0 commit comments

Comments
 (0)