Date: Wed, 20 Mar 2019 07:19:09 +0000 (UTC) From: Colin Percival <cperciva@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r345316 - head/release Message-ID: <201903200719.x2K7J9fZ093515@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cperciva Date: Wed Mar 20 07:19:09 2019 New Revision: 345316 URL: https://svnweb.freebsd.org/changeset/base/345316 Log: Pass --arm64 to bsdec2-image-upload when building ARM64 AMIs. Future commits will allow the resulting EC2 AMIs to actually boot and be usable. Modified: head/release/Makefile.ec2 Modified: head/release/Makefile.ec2 ============================================================================== --- head/release/Makefile.ec2 Wed Mar 20 03:50:45 2019 (r345315) +++ head/release/Makefile.ec2 Wed Mar 20 07:19:09 2019 (r345316) @@ -42,6 +42,9 @@ PUBLICSNAP= --publicsnap EC2SNSREL= ${REVISION}-${BRANCH} EC2SNSVERS= ${EC2_SVNBRANCH}@${EC2_SVNREV} .endif +.if ${TARGET_ARCH} != "amd64" +EC2ARCH= --${TARGET_ARCH:S/aarch64/arm64/} +.endif CLEANFILES+= ec2ami @@ -82,7 +85,8 @@ ec2ami: cw-ec2 ${CW_EC2_PORTINSTALL} @echo "--------------------------------------------------------------" @false .endif - /usr/local/bin/bsdec2-image-upload ${PUBLISH} ${PUBLICSNAP} --sriov --ena \ + /usr/local/bin/bsdec2-image-upload ${PUBLISH} ${PUBLICSNAP} \ + ${EC2ARCH} --sriov --ena \ ${.OBJDIR}/ec2.raw \ "${TYPE} ${REVISION}-${BRANCH}-${TARGET}${AMINAMESUFFIX}" \ "${TYPE}/${TARGET} ${EC2_SVNBRANCH}@${EC2_SVNREV}" \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903200719.x2K7J9fZ093515>