Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108256441
D41342.id125649.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D41342.id125649.diff
View Options
diff --git a/release/Makefile.ec2 b/release/Makefile.ec2
--- a/release/Makefile.ec2
+++ b/release/Makefile.ec2
@@ -19,7 +19,7 @@
EC2SNSVERS= ${GITBRANCH}@${GITREV}
.endif
.if defined(SSMPREFIX) && !empty(SSMPREFIX)
-SSMOPTS= --ssm-name ${SSMPREFIX}/${TARGET_ARCH:S/aarch64/arm64/}/base/ufs/${REVISION}/${BRANCH}
+SSMOPTS= --ssm-name ${SSMPREFIX}/${TARGET_ARCH:S/aarch64/arm64/}/base/${VMFS}/${REVISION}/${BRANCH}
.endif
.if ${TARGET_ARCH} != "amd64"
EC2ARCH= --${TARGET_ARCH:S/aarch64/arm64/}
@@ -54,7 +54,7 @@
.endif
@touch ${.TARGET}
-ec2ami: cw-ec2 ${CW_EC2_PORTINSTALL}
+ec2ami-${VMFS}: cw-ec2-${VMFS} ${CW_EC2_PORTINSTALL}
.if !defined(AWSKEYFILE) || !exists(${AWSKEYFILE})
@echo "--------------------------------------------------------------"
@echo ">>> AWSKEYFILE must point at AWS keys for EC2 AMI creation"
@@ -76,8 +76,10 @@
/usr/local/bin/bsdec2-image-upload ${PUBLISH} ${PUBLICSNAP} \
${EC2ARCH} ${SSMOPTS} ${BOOTMODEOPT} --sriov --ena \
${.OBJDIR}/ec2.raw \
- "${TYPE} ${REVISION}-${BRANCH}-${TARGET}${AMINAMESUFFIX} ${AMIBOOTMETHOD}" \
+ "${TYPE} ${REVISION}-${BRANCH}-${TARGET}${AMINAMESUFFIX} ${AMIBOOTMETHOD} ${VMFS:tu}" \
"${TYPE}/${TARGET} ${GITBRANCH}@${GITREV}" \
${AWSREGION} ${AWSBUCKET} ${AWSKEYFILE} \
${EC2SNSTOPIC} ${EC2SNSREL} ${EC2SNSVERS}
@touch ${.TARGET}
+
+ec2ami: ec2ami-${VMFS}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 24, 4:15 AM (7 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16075573
Default Alt Text
D41342.id125649.diff (1 KB)
Attached To
Mode
D41342: EC2: Respect ${VMFS}
Attached
Detach File
Event Timeline
Log In to Comment