The branch stable/15 has been updated by cperciva:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=eb9c65a3d60bb78e418d69a717ea34380e7aab10

commit eb9c65a3d60bb78e418d69a717ea34380e7aab10
Author:     Colin Percival <[email protected]>
AuthorDate: 2026-01-11 22:25:51 +0000
Commit:     Colin Percival <[email protected]>
CommitDate: 2026-01-14 22:10:32 +0000

    EC2: Add extra SSM Parameter names for releases
    
    Record releases in the SSM Parameter Store not just as e.g.
      /aws/service/freebsd/arm64/small/ufs/15.0/RELEASE
    but also as .../RELEASE/latest, e.g.
      /aws/service/freebsd/arm64/small/ufs/15.0/RELEASE/latest
    
    The latter parameters will be updated when new AMIs are built with
    security and errata updates appplied, and have been backfilled for
    15.0.
    
    MFC after:      3 days
    MFC to:         stable/15 (14.x will not get security-update AMIs)
    Sponsored by:   Amazon
    
    (cherry picked from commit b558c92fd0005d311edbcd02953c17d4a34fb909)
---
 release/Makefile.ec2 | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/release/Makefile.ec2 b/release/Makefile.ec2
index 47561feefc23..c33345201b36 100644
--- a/release/Makefile.ec2
+++ b/release/Makefile.ec2
@@ -61,6 +61,9 @@ cw-ec2-portinstall:
 .for _FL in ${EC2_FLAVOURS:tl}
 .if defined(SSMPREFIX) && !empty(SSMPREFIX)
 SSMOPTS_${_FL}_${_FS}= --ssm-name 
${SSMPREFIX}/${TARGET_ARCH:S/aarch64/arm64/}/${_FL}/${_FS}/${REVISION}/${BRANCH}
+.if ${BRANCH} == "RELEASE"
+SSMOPTSEXTRA_${_FL}_${_FS}=    --ssm-name-extra 
${SSMPREFIX}/${TARGET_ARCH:S/aarch64/arm64/}/${_FL}/${_FS}/${REVISION}/${BRANCH}/latest
+.endif
 .endif
 EC2AMILIST+=   ec2ami-${_FL}-${_FS}
 CLEANFILES+=   ec2ami-${_FL}-${_FS}
@@ -84,7 +87,8 @@ ec2ami-${_FL}-${_FS}: cw-ec2-${_FL}-${_FS} 
${CW_EC2_PORTINSTALL}
        @false
 .endif
        /usr/local/bin/bsdec2-image-upload ${PUBLISH} ${PUBLICSNAP} \
-           ${EC2ARCH} ${SSMOPTS_${_FL}_${_FS}} ${BOOTMODEOPT} --sriov --ena \
+           ${EC2ARCH} ${SSMOPTS_${_FL}_${_FS}} ${SSMOPTSEXTRA_${_FL}_${_FS}} \
+           ${BOOTMODEOPT} --sriov --ena \
            ${.OBJDIR}/${EC2-${_FL:tu}${_FS:tu}IMAGE} \
            "${AMIBASENAME} ${_FL} ${_FS:tu}" \
            "${TYPE}/${TARGET} ${GITBRANCH}@${GITREV}" \

Reply via email to