Skip to content

Download linux-cloud-tools package when fetching kernel packages #126

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 2, 2020
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
9 changes: 9 additions & 0 deletions lib/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -989,6 +989,15 @@ function fetch_kernel_from_apt_for_version() {
"linux-headers-${kernel_version}" \
"linux-tools-${kernel_version}"

#
# For the azure kernel, we also want to get the linux-cloud-tools
# package. Not that we cannot do this indiscriminately since some
# kernel flavors do not come with a linux-cloud-tools package.
#
if [[ "$kernel_version" == *azure ]]; then
logmust apt-get download "linux-cloud-tools-${kernel_version}"
fi

#
# Fetch direct dependencies of the downloaded debs. Some of those
# dependencies have a slightly different naming scheme than the other
Expand Down