File tree 1 file changed +2
-10
lines changed 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -1113,21 +1113,13 @@ function get_kernel_version_for_platform_from_apt() {
1113
1113
# image for that particular platform. For instance, Ubuntu has a
1114
1114
# meta-package for AWS called 'linux-image-aws', which depends on
1115
1115
# package 'linux-image-4.15.0-1027-aws'. The latter is the linux image
1116
- # for kernel version '4.15.0-1027-aws'. We use this depenency to figure
1116
+ # for kernel version '4.15.0-1027-aws'. We use this dependency to figure
1117
1117
# out the default kernel version for a given platform.
1118
1118
#
1119
- # The "generic" platform is a special case, since we want to use the
1120
- # hwe kernel image instead of the regular generic image.
1121
- #
1122
1119
# Note that while the default kernel is usually also the latest
1123
1120
# available, it is not always the case.
1124
1121
#
1125
-
1126
- if [[ " $platform " != generic ]] && [[ " $UBUNTU_DISTRIBUTION " == noble ]]; then
1127
- package=" linux-image-${platform} "
1128
- else
1129
- package=" linux-image-${platform} -hwe-24.04"
1130
- fi
1122
+ package=" linux-image-${platform} "
1131
1123
1132
1124
if [[ " $( apt-cache show --no-all-versions " $package " \
1133
1125
2> /dev/null | grep Depends) " =~ linux-image-([^,]* -${platform} ) ]]; then
You can’t perform that action at this time.
0 commit comments