Skip to content

Commit

Permalink
Merge pull request #103 from kinvolk/sayan/add-azure-gpu-support-on-main
Browse files Browse the repository at this point in the history
Update the azure pro package reference to the oem-azure-pro
  • Loading branch information
sayanchowdhury authored Nov 25, 2020
2 parents 81d4ed8 + 9e2098b commit bed73e2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 10 additions & 2 deletions build_library/dev_container_util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

get_binhost_url() {
if [ "${DEFAULT_GROUP}" == "developer" ]; then
echo "https://storage.googleapis.com/flatcar-jenkins/${DEFAULT_GROUP}/boards/${BOARD}/${FLATCAR_VERSION}/$1"
else
echo "https://storage.googleapis.com/flatcar-jenkins/boards/${BOARD}/${FLATCAR_VERSION_ID}/$1"
fi
}

configure_dev_portage() {
# Need profiles at the bare minimum
local repo
Expand All @@ -25,8 +33,8 @@ PKGDIR="/var/lib/portage/pkgs"
PORT_LOGDIR="/var/log/portage"
PORTDIR="/var/lib/portage/portage-stable"
PORTDIR_OVERLAY="/var/lib/portage/coreos-overlay"
PORTAGE_BINHOST="https://storage.googleapis.com/flatcar-jenkins/boards/${BOARD}/${FLATCAR_VERSION_ID}/pkgs/
https://storage.googleapis.com/flatcar-jenkins/boards/${BOARD}/${FLATCAR_VERSION_ID}/toolchain/"
PORTAGE_BINHOST="$(get_binhost_url 'pkgs')
$(get_binhost_url 'toolchain')"
EOF

sudo_clobber "$1/etc/portage/repos.conf/coreos.conf" <<EOF
Expand Down
2 changes: 1 addition & 1 deletion build_library/vm_image_util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ IMG_azure_OEM_PACKAGE=oem-azure
## azure pro
IMG_azure_pro_DISK_FORMAT=vhd
IMG_azure_pro_DISK_LAYOUT=azure
IMG_azure_pro_OEM_PACKAGE=oem-azure
IMG_azure_pro_OEM_PACKAGE=oem-azure-pro

## hyper-v
IMG_hyperv_DISK_FORMAT=vhd
Expand Down

0 comments on commit bed73e2

Please sign in to comment.