summaryrefslogtreecommitdiffstats
path: root/release/Makefile.ec2
diff options
context:
space:
mode:
authorgjb <gjb@FreeBSD.org>2015-05-24 02:15:18 +0000
committergjb <gjb@FreeBSD.org>2015-05-24 02:15:18 +0000
commite65a83355e4c18754f620a7c9b6e26553c777817 (patch)
tree902f7cd0e05652e89e68e6ba0974e8f663ef6e74 /release/Makefile.ec2
parentccae88f4a65d0085738956ee28569c818e9b6720 (diff)
downloadFreeBSD-src-e65a83355e4c18754f620a7c9b6e26553c777817.zip
FreeBSD-src-e65a83355e4c18754f620a7c9b6e26553c777817.tar.gz
MFC r283252:
Include the TARGET in the EC2 AMI name. Without this, AWS rejects subsequent image uploads of a different architecture because the name conflicts. Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'release/Makefile.ec2')
-rw-r--r--release/Makefile.ec24
1 files changed, 2 insertions, 2 deletions
diff --git a/release/Makefile.ec2 b/release/Makefile.ec2
index f7f34a6..a781bc6 100644
--- a/release/Makefile.ec2
+++ b/release/Makefile.ec2
@@ -53,7 +53,7 @@ ec2ami: cw-ec2 ${CW_EC2_PORTINSTALL}
.endif
/usr/local/bin/bsdec2-image-upload ${PUBLISH} \
${.OBJDIR}/ec2.raw \
- "${TYPE} ${REVISION}-${BRANCH}${AMINAMESUFFIX}" \
- "${TYPE} ${REVISION}-${BRANCH}" \
+ "${TYPE} ${REVISION}-${BRANCH}-${TARGET}${AMINAMESUFFIX}" \
+ "${TYPE} ${REVISION}-${BRANCH}-${TARGET}" \
${AWSREGION} ${AWSBUCKET} ${AWSKEYFILE}
@touch ${.TARGET}
OpenPOWER on IntegriCloud