From owner-freebsd-questions@freebsd.org Mon Jun 26 06:11:35 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B3485DA255A for ; Mon, 26 Jun 2017 06:11:35 +0000 (UTC) (envelope-from bhughes@freebsd.org) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7EF7667AA2 for ; Mon, 26 Jun 2017 06:11:35 +0000 (UTC) (envelope-from bhughes@freebsd.org) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 3096C20D65; Mon, 26 Jun 2017 02:11:28 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Mon, 26 Jun 2017 02:11:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=gQzACU902Y1T6While+DhDp8JMGIw3t0q8kZSlL+ezg=; b=i0nGNHbO eojdLWZ4dyZDjky0m2ZD148cqX9SzM7+Yvwv5FMG12uC9XJKbCFCK/F+YQo2rDAB CkM4GU1VVdqxmBOfw4ntY182/RiIUSbYD+SBArhD7JsEfXD4QUBLjyDuQ1iGFFdk nlPL/IRYhm6Zihd8tyFyi+XHzliKbbzMBmmtnqyxjqs6lkrutMBw1sNXCWhxY5ae cbem1Df25xC9D7vfakXZ9TfJkb71T30GVm9yFjsVa+cw/7xjO87YND1pzysG0HMh 2gomLesGIMrL0WPdOPoU595HSRaLbZBwmDDDYCp3VwBVhf5GhmL2DN5BaldsOMxH CG6HrZbSFz4h4w== X-ME-Sender: X-Sasl-enc: 4oOast1iSf4Z9RfxRzl624E3KrzZF3BqbTEi7Ggl8x0+ 1498457487 Received: from [192.168.0.74] (ip84-247-189-242.breiband.no [84.247.189.242]) by mail.messagingengine.com (Postfix) with ESMTPA id 9014024774; Mon, 26 Jun 2017 02:11:27 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Building my own poudriere build system From: "Bradley T. Hughes" In-Reply-To: <20170624122804.d5cx7n446zqqs67z@box-hlm-03.niklaas.eu> Date: Mon, 26 Jun 2017 08:11:26 +0200 Cc: Niklaas Baudet von Gersdorff Content-Transfer-Encoding: quoted-printable Message-Id: <7D56F18F-3B71-42AD-9885-2453998081DE@freebsd.org> References: <20170622160501.piqo5hsfwzx7gpvk@box-hlm-03.niklaas.eu> <20170624122804.d5cx7n446zqqs67z@box-hlm-03.niklaas.eu> To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2017 06:11:35 -0000 > On 24 Jun 2017, at 14:28, Niklaas Baudet von Gersdorff via = freebsd-questions wrote: >=20 > The main problem I face at this stage is that creating the ARMv6 > jail for crossbuilding already takes 1-2 hours each time I spin > up the instance. Each time I deploy the infrastructure the jails > I use for building must be created again. I already tried storing > the jails on S3 too, but that's not really a time saver... Indeed. It's pretty quick to install the release jails, but the armv6 = ones take a long time. I recently switched to using a spot instance, but = I haven't gotten around to building armv6 jails yet. > So, my new idea is to attach an additional *permanent* EBS drive > that can be re-attached each time a new EC2 instance is deployed. > On the EBS there is a ZFS filesystem that stores the jails. This > will generate additional costs but should be a huge time saver. Yes, I have done this as well, so that if/when the spot instance gets = terminated, I don't loose everything off the machine. >> Thanks for sharing! I'm glad I'm not the only one using EC2 for >> building ports :) >=20 > Yes, great to see that I am not alone with that approach too. :-) > Feel free to contribute if you find time (in my next commit I'll > add a proper license). I certainly will. :) >=20 > Niklaas -- Bradley T. Hughes bhughes@freebsd.org