Include the TARGET in the EC2 AMI name.
Without this, AWS rejects subsequent image uploads of a different architecture because the name conflicts. MFC after: 3 days Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
6064bc7d5f
commit
ba307f79ae
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user