From e39aec37855f133e7ef0cbe56ff2ddc823392bfe Mon Sep 17 00:00:00 2001 From: Alex Crawford Date: Tue, 11 Oct 2016 12:43:34 -0700 Subject: [PATCH 1/2] offline_signing: add support for different boards --- offline_signing/download.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/offline_signing/download.sh b/offline_signing/download.sh index bd45bebed5..d2f305b4aa 100755 --- a/offline_signing/download.sh +++ b/offline_signing/download.sh @@ -1,10 +1,11 @@ #!/bin/bash set -ex -VERSION="$1" -GS="gs://builds.release.core-os.net/stable/boards/amd64-usr/$VERSION" +BOARD="$1" +VERSION="$2" +GS="gs://builds.release.core-os.net/stable/boards/$BOARD/$VERSION" -cd "${2:-.}" +cd "${3:-.}" gsutil cp \ "${GS}/coreos_production_image.vmlinuz" \ From 784c2769571ea4e2e5007c04aab9732387cbb02c Mon Sep 17 00:00:00 2001 From: Alex Crawford Date: Tue, 11 Oct 2016 12:43:55 -0700 Subject: [PATCH 2/2] roller_upload: fix spacing --- core_roller_upload | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core_roller_upload b/core_roller_upload index 173825b295..387236ca43 100755 --- a/core_roller_upload +++ b/core_roller_upload @@ -61,4 +61,4 @@ updateservicectl \ --app-id="${FLAGS_app_id}" \ --file="${FLAGS_payload}" \ --url="${HTTP_URL}" \ - --version="${FLAGS_version}" + --version="${FLAGS_version}"