Date: Mon, 19 Jun 2017 19:24:25 +0100 From: Ben Lavery-Griffiths <ben.lavery@hashbang0.com> To: Ultima <ultima1252@gmail.com> Cc: FreeBSD Ports <freebsd-ports@freebsd.org> Subject: Re: Keeping -CURRENT up to date with Poudriere Message-ID: <5FD6B35B-3591-4228-80C7-1FF8AB3DDC65@hashbang0.com> In-Reply-To: <CANJ8om6EP=sk33xkSvu%2B1sv_4i--PXwV4%2BTOq67hCG69fJqtdQ@mail.gmail.com> References: <52A7B196-B76B-4920-B352-7187DE2513DA@hashbang0.com> <CANJ8om6EP=sk33xkSvu%2B1sv_4i--PXwV4%2BTOq67hCG69fJqtdQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks very much, I=E2=80=99ll look into doing similar. Thanks again, Ben > On 18 Jun 2017, at 20:56, Ultima <ultima1252@gmail.com> wrote: >=20 > Poudriere will update based on how it initially was created > unless it was modified in=20 > /usr/local/etc/poudriere.d/jails/$JAIL/method. For the > -STABLE and -CURRENT branch, It *may* somehow be > obtained another way, but usually it has to be compiled > from the respected branch. So it needs to be manually > compiled in /usr/src before doing a poudriere update. >=20 > The way I handle multiple branches is adding adding > multiple in /usr/src, eg /usr/src/head, /usr/src/11-stable, > then setting the src in that directory with obj in it as well. >=20 > /usr/src/head/src and obj /usr/src/head/obj the method > will need to be set to src=3D/usr/src/head/src and object > export MAKEOBJDIRPREFIX=3D/usr/src/head/obj in the > ${JAIL}-poudriere.conf. >=20 > I also make a dataset for each target branch so it can > be zfs send/received. >=20 >=20 > I hope this helps > Ultima >=20 > On Sun, Jun 18, 2017 at 9:49 AM, Ben Lavery-Griffiths = <ben.lavery@hashbang0.com <mailto:ben.lavery@hashbang0.com>> wrote: > Hi all, >=20 > I=E2=80=99ve got a 12.0-CURRENT Poudriere jail for ports testing. Am = I right in thinking that when Poudriere updates a jail it uses = freebsd-update? In which case, -STABLE and -CURRENT jails can=E2=80=99t = be updated - correct? >=20 > In this case, if I want to get the latest -STABLE or -CURRENT = snapshot, will I need to recreate my jail? Or can Poudriere do it a = different way? >=20 > Currently when I try to update I get this: >=20 > > [00:00:00] =3D=3D=3D=3D>> Upgrading using ftp > > /etc/resolv.conf -> /poudriere/jails/12Ci386/etc/resolv.conf > > mount: /poudriere/jails/12Ci386/compat: No such file or directory > > Bad system call (core dumped) > > 12.0-CURRENT > > [00:00:01] =3D=3D=3D=3D>> Recording filesystem state for clean=E2=80=A6= done >=20 >=20 > Many thanks, > Ben > _______________________________________________ > freebsd-ports@freebsd.org <mailto:freebsd-ports@freebsd.org> mailing = list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports = <https://lists.freebsd.org/mailman/listinfo/freebsd-ports> > To unsubscribe, send any mail to = "freebsd-ports-unsubscribe@freebsd.org = <mailto:freebsd-ports-unsubscribe@freebsd.org>" >=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5FD6B35B-3591-4228-80C7-1FF8AB3DDC65>