Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jun 2017 08:11:26 +0200
From:      "Bradley T. Hughes" <bhughes@freebsd.org>
To:        freebsd-questions@freebsd.org
Cc:        Niklaas Baudet von Gersdorff <stdin@niklaas.eu>
Subject:   Re: Building my own poudriere build system
Message-ID:  <7D56F18F-3B71-42AD-9885-2453998081DE@freebsd.org>
In-Reply-To: <20170624122804.d5cx7n446zqqs67z@box-hlm-03.niklaas.eu>
References:  <20170622160501.piqo5hsfwzx7gpvk@box-hlm-03.niklaas.eu> <EB53E429-681C-4FB1-BE58-E584362C8FCA@freebsd.org> <20170624122804.d5cx7n446zqqs67z@box-hlm-03.niklaas.eu>

next in thread | previous in thread | raw e-mail | index | archive | help

> On 24 Jun 2017, at 14:28, Niklaas Baudet von Gersdorff via =
freebsd-questions <freebsd-questions@freebsd.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7D56F18F-3B71-42AD-9885-2453998081DE>