From owner-freebsd-cloud@freebsd.org Thu Apr 4 05:29:23 2019 Return-Path: Delivered-To: freebsd-cloud@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7A1051563446 for ; Thu, 4 Apr 2019 05:29:23 +0000 (UTC) (envelope-from 01000169e6d2b199-8b81f89c-d962-4096-9282-87f6910db240-000000@amazonses.com) Received: from a8-52.smtp-out.amazonses.com (a8-52.smtp-out.amazonses.com [54.240.8.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EBA0386074 for ; Thu, 4 Apr 2019 05:29:22 +0000 (UTC) (envelope-from 01000169e6d2b199-8b81f89c-d962-4096-9282-87f6910db240-000000@amazonses.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=vnqrkfnvu6csdl6mwgk5t6ix3nnepx57; d=tarsnap.com; t=1554355761; h=Subject:References:To:From:Message-ID:Date:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding; bh=RpoYoNfwVXXpcA8di8oRVG8dNj+NrZUuvxgv6rT/UCE=; b=f+zAjTIQL6WC4PTB9iKdEaAV2P30lgkdmcO4FqnX1e85kZPm/HTUo5Svcm628ZyH URIPtujxd0fl4Jqghjsl6RX/iOysTiTtlwv1v0kdRM0BHDcWDPlQuXj8pgLCHAi+qxF qlcLN+5klAzdrld2taaHUH5CdS23N93caJ3VZ/no= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw; d=amazonses.com; t=1554355761; h=Subject:References:To:From:Message-ID:Date:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding:Feedback-ID; bh=RpoYoNfwVXXpcA8di8oRVG8dNj+NrZUuvxgv6rT/UCE=; b=LbDEukDQPJZDM2iJ11IS2mKDba2X/FH2OqNthl+BervqrlS9M7ohlU6izWTlvc21 LN2nXs//YOwbfqHq1yQJ14/oibdsCVXIQK7W24ZuHihYOUH4S7SitW3j/V3Z132GGzR t4B1Q5y7YFabH5rW6VXNxDxUYfcHPFiR8ou/ZL3w= Subject: EC2 ARM64 AMIs References: <201904032154.x33LslFs013075@repo.freebsd.org> To: "freebsd-cloud@freebsd.org" , freebsd-arm@freebsd.org From: Colin Percival Openpgp: preference=signencrypt Autocrypt: addr=cperciva@tarsnap.com; prefer-encrypt=mutual; keydata= mQGhBElrAAcRBACDfDys4ZtK+ErCJ1HAzYeteKpm3OEsvT/49AjUTLihkF79HhIKrCQU+1KC zv7BwHCMLb6hq30As9L7iFKG7n5QFLFC4Te/VcITUnWHMG/c3ViLOfJGvi+9/nOEHaM1dVJY D6tEp5yM1nHmVQpo9932j4KGuGFR0LhOK5IHXOSfGwCgxSFDPdgxe2OEjWxjGgY+oV3EafcD +JROXCTjlcQiG/OguQH4Vks3mhHfFnEppLxTkDuYgHZQiUtpcT9ssH5khgqoTyMar05OUdAj ZIhNbWDh4LgTj+7ZmvLhXT5Zxw8LX9d7T36aTB8XDQSenDqEtinMWOb0TCBBLbsB8EFG1WTT ESbZci9jJS5yhtktuZoY/eM8uXMD/3k4FWFO80VRRkELSp+XSy/VlSQjyi/rhl2nQq/oOA9F oJbDaB0yq9VNhxP+uFBzBWSqeIX0t1ZWLtNfVFr4TRP5hihI5ICrg/0OpqgisKsU2NFe9xyO hyJLYmfD8ebpDJ/9k30C7Iju9pVrwLm1QgS4S2fqJRcR+U4WbjvP7CgStCVDb2xpbiBQZXJj aXZhbCA8Y3BlcmNpdmFAdGFyc25hcC5jb20+iGEEExECACEFAklrALYCGwMHCwkIBwMCAQQV AggDBBYCAwECHgECF4AACgkQOM7KaQxqam6/igCgn+z2k3V5ggNppmWrZstt1U2lugsAoL7L wS9V9yLtil3oWmHtwpUqYruEuQINBElrAAcQCAD3ZLMIsP4CIDoJORg+YY0lqLVBgcnF7pFb 4Uy2+KvdWofN+DKH61rZLjgXXkNE9M4EQC1B4lGttBP8IY2gs41y3AUogGdyFbidq99rCBz7 LTsgARHwFxZoaHmXyiZLEU1QZuMqwPZV1mCviRhN5E3rRqYNXVcrnXAAuhBpvNyj/ntHvcDN 2/m+ochiuBYueU4kX3lHya7sOj+mTsndcWmQ9soOUyr8O0r/BG088bMn4qqtUw4dl5/pglXk jbl7uOOPinKf0WVd2r6M0wLPJCD4NPHrCWRLLLAjwfjrtoSRvXxDbXhCdgGBa72+K8eYLzVs hgq7tJOoBWzjVK6XRxR7AAMGB/9Mo3iJ2DxqDecd02KCB5BsFDICbJGhPltU7FwrtbC7djSb XUrwsEVLHi4st4cbdGNCWCrp0BRezXZKohKnNAPFOTK++ZfgeKxrV2sJod+Q9RILF86tQ4XF 7A7Yme5hy92t/WgiU4vc/fWbgP8gV/19f8nunaT2E9NSa70mZFjZNu4iuwThoUUO5CV3Wo0Y UISsnRK8XD1+LR3A2qVyLiFRwh/miC1hgLFCTGCQ3GLxZeZzIpYSlGdQJ0L5lixW5ZQD9r1I 8i/8zhE6qRFAM0upUMI3Gt1Oq2w03DiXrZU0Fu/R8Rm8rlnkQKA+95mRTUq1xL5P5NZIi4gJ Z569OPMFiEkEGBECAAkFAklrAAcCGwwACgkQOM7KaQxqam41igCfbaldnFTu5uAdrnrghESv EI3CAo8AoLkNMks1pThl2BJNRm4CtTK9xZeH X-Forwarded-Message-Id: <201904032154.x33LslFs013075@repo.freebsd.org> Message-ID: <01000169e6d2b199-8b81f89c-d962-4096-9282-87f6910db240-000000@email.amazonses.com> Date: Thu, 4 Apr 2019 05:29:21 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 MIME-Version: 1.0 In-Reply-To: <201904032154.x33LslFs013075@repo.freebsd.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-SES-Outgoing: 2019.04.04-54.240.8.52 Feedback-ID: 1.us-east-1.Lv9FVjaNvvR5llaqfLoOVbo2VxOELl7cjN0AOyXnPlk=:AmazonSES X-Rspamd-Queue-Id: EBA0386074 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.98)[-0.983,0] X-BeenThere: freebsd-cloud@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "FreeBSD on cloud platforms \(EC2, GCE, Azure, etc.\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Apr 2019 05:29:23 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi cloudy and army people, With this commit it became possible to build EC2 ARM64 AMIs straight out of a clean HEAD source tree: # make TARGET=arm64 TARGET_ARCH=aarch64 buildworld buildkernel # make -C release WITH_CLOUDWARE=YES AWSKEYFILE=... AWSREGION=... AWSBUCKET=... TARGET=arm64 TARGET_ARCH=aarch64 ec2ami If all goes well, gjb@ will be building these as part of the weekly FreeBSD snapshots; but in case anyone doesn't want to wait for those I've built a round of AMIs: ap-northeast-1: ami-0acf717e884761a19 ap-northeast-2: ami-06d3076e861fa7993 ap-south-1: ami-034d652acc6b0f378 ap-southeast-1: ami-00e6244ba84b97b4a ap-southeast-2: ami-0158b3ed5ffb72d63 ca-central-1: ami-0e57c2206fd35e008 eu-central-1: ami-084c50de545dc70b5 eu-north-1: ami-026634d6aff5e1ce2 eu-west-1: ami-09e7f14514dcf9d94 eu-west-2: ami-03224a0fa11ad5d60 eu-west-3: ami-0102b4b677e86aeb8 sa-east-1: ami-05051a63643cdcd17 us-east-1: ami-0ff7fa1d1acce3d38 us-east-2: ami-08475ffa7e3586891 us-west-1: ami-0de79ee79009d8a45 us-west-2: ami-074dde074e60ebf62 I hope to have this and related commits MFCed in time for the upcoming FreeBSD 11.3-RELEASE. Many thanks Greg V, who did most of the "heavy lifting" of figuring out what was needed in order to get FreeBSD working on ARM64 EC2 instances. Colin Percival - -------- Forwarded Message -------- Subject: svn commit: r345858 - in head/release: . tools Date: Wed, 3 Apr 2019 21:54:47 +0000 (UTC) From: Colin Percival To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Author: cperciva Date: Wed Apr 3 21:54:47 2019 New Revision: 345858 URL: https://svnweb.freebsd.org/changeset/base/345858 Log: Add support for cross-building cloudware images. If MACHINE_ARCH doesn't match TARGET_ARCH, and we're not in the special case of building i386 images on an amd64 host, we need to pull in the qemu-user-static package; this allows us to run some commands inside the VM disk image chroot, most notably to install packages. Reviewed by: gjb MFC after: 2 weeks Sponsored by: FreeBSD/EC2 patreon (https://www.patreon.com/cperciva) Modified: head/release/Makefile.vm head/release/tools/ec2.conf head/release/tools/vmimage.subr -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQTq9Iu6fMd6MP78Dak4zsppDGpqbgUCXKWWXgAKCRA4zsppDGpq bkgHAJ9Xwoamqr0l5dRQALnpVMHvJv4duwCeJnAXhtVN+RLigu8hrBKvhE1NC5Q= =HecA -----END PGP SIGNATURE----- From owner-freebsd-cloud@freebsd.org Thu Apr 4 15:19:51 2019 Return-Path: Delivered-To: freebsd-cloud@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B05181573F5E; Thu, 4 Apr 2019 15:19:51 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A31EC76702; Thu, 4 Apr 2019 15:19:49 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smtp.greenhost.nl ([213.108.110.112]) by smarthost1.greenhost.nl with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1hC49U-0004UB-9d; Thu, 04 Apr 2019 17:19:41 +0200 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: "freebsd-cloud@freebsd.org" , freebsd-arm@freebsd.org, "Colin Percival" Subject: Re: EC2 ARM64 AMIs References: <201904032154.x33LslFs013075@repo.freebsd.org> <01000169e6d2b1ad-38391cf5-5f11-4a6a-9dea-55c2de04ee45-000000@email.amazonses.com> Date: Thu, 04 Apr 2019 17:19:40 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ronald Klop" Message-ID: In-Reply-To: <01000169e6d2b1ad-38391cf5-5f11-4a6a-9dea-55c2de04ee45-000000@email.amazonses.com> User-Agent: Opera Mail/1.0 (Win32) X-Authenticated-As-Hash: bdb49c4ff80bd276e321aade33e76e02752072e2 X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: -0.2 X-Spam-Status: No, score=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 autolearn=disabled version=3.4.2 X-Scan-Signature: 246115766b56dba7f675551df821dbd2 X-Rspamd-Queue-Id: A31EC76702 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of ronald-lists@klop.ws designates 195.190.28.88 as permitted sender) smtp.mailfrom=ronald-lists@klop.ws X-Spamd-Result: default: False [-2.83 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:195.190.28.64/27]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[klop.ws]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[mx2.greenhost.nl,mx1.greenhost.nl]; NEURAL_HAM_SHORT(-0.38)[-0.376,0]; IP_SCORE(-0.64)[ip: (-2.20), ipnet: 195.190.28.0/24(-0.58), asn: 47172(-0.44), country: NL(0.01)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:47172, ipnet:195.190.28.0/24, country:NL]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-cloud@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "FreeBSD on cloud platforms \(EC2, GCE, Azure, etc.\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Apr 2019 15:19:51 -0000 Really cool stuff! I hope it can give a boost to arm64 package building also. Ronald. On Thu, 04 Apr 2019 07:29:21 +0200, Colin Percival wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi cloudy and army people, > > With this commit it became possible to build EC2 ARM64 AMIs straight > out of a clean HEAD source tree: > > # make TARGET=arm64 TARGET_ARCH=aarch64 buildworld buildkernel > # make -C release WITH_CLOUDWARE=YES AWSKEYFILE=... AWSREGION=... > AWSBUCKET=... TARGET=arm64 TARGET_ARCH=aarch64 ec2ami > > If all goes well, gjb@ will be building these as part of the weekly > FreeBSD snapshots; but in case anyone doesn't want to wait for those > I've built a round of AMIs: > > ap-northeast-1: ami-0acf717e884761a19 > ap-northeast-2: ami-06d3076e861fa7993 > ap-south-1: ami-034d652acc6b0f378 > ap-southeast-1: ami-00e6244ba84b97b4a > ap-southeast-2: ami-0158b3ed5ffb72d63 > ca-central-1: ami-0e57c2206fd35e008 > eu-central-1: ami-084c50de545dc70b5 > eu-north-1: ami-026634d6aff5e1ce2 > eu-west-1: ami-09e7f14514dcf9d94 > eu-west-2: ami-03224a0fa11ad5d60 > eu-west-3: ami-0102b4b677e86aeb8 > sa-east-1: ami-05051a63643cdcd17 > us-east-1: ami-0ff7fa1d1acce3d38 > us-east-2: ami-08475ffa7e3586891 > us-west-1: ami-0de79ee79009d8a45 > us-west-2: ami-074dde074e60ebf62 > > I hope to have this and related commits MFCed in time for the upcoming > FreeBSD 11.3-RELEASE. > > Many thanks Greg V, who did most of the "heavy lifting" of figuring out > what was needed in order to get FreeBSD working on ARM64 EC2 instances. > > Colin Percival > > - -------- Forwarded Message -------- > Subject: svn commit: r345858 - in head/release: . tools > Date: Wed, 3 Apr 2019 21:54:47 +0000 (UTC) > From: Colin Percival > To: src-committers@freebsd.org, svn-src-all@freebsd.org, > svn-src-head@freebsd.org > > Author: cperciva > Date: Wed Apr 3 21:54:47 2019 > New Revision: 345858 > URL: https://svnweb.freebsd.org/changeset/base/345858 > > Log: > Add support for cross-building cloudware images. > > If MACHINE_ARCH doesn't match TARGET_ARCH, and we're not in the special > case of building i386 images on an amd64 host, we need to pull in the > qemu-user-static package; this allows us to run some commands inside > the VM disk image chroot, most notably to install packages. > > Reviewed by: gjb > MFC after: 2 weeks > Sponsored by: FreeBSD/EC2 patreon (https://www.patreon.com/cperciva) > > Modified: > head/release/Makefile.vm > head/release/tools/ec2.conf > head/release/tools/vmimage.subr > > -----BEGIN PGP SIGNATURE----- > > iF0EARECAB0WIQTq9Iu6fMd6MP78Dak4zsppDGpqbgUCXKWWXgAKCRA4zsppDGpq > bkgHAJ9Xwoamqr0l5dRQALnpVMHvJv4duwCeJnAXhtVN+RLigu8hrBKvhE1NC5Q= > =HecA > -----END PGP SIGNATURE----- > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"