Re: Keeping -CURRENT up to date with Poudriere

2017-06-19 Thread Ben Lavery-Griffiths
Thanks very much,

I’ll look into doing similar.

Thanks again,
Ben

> On 18 Jun 2017, at 20:56, Ultima <ultima1...@gmail.com> wrote:
> 
> Poudriere will update based on how it initially was created
> unless it was modified in 
> /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.
> 
> 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.
> 
> /usr/src/head/src and obj /usr/src/head/obj the method
> will need to be set to src=/usr/src/head/src and object
> export MAKEOBJDIRPREFIX=/usr/src/head/obj in the
> ${JAIL}-poudriere.conf.
> 
> I also make a dataset for each target branch so it can
> be zfs send/received.
> 
> 
> I hope this helps
> Ultima
> 
> On Sun, Jun 18, 2017 at 9:49 AM, Ben Lavery-Griffiths 
> <ben.lav...@hashbang0.com <mailto:ben.lav...@hashbang0.com>> wrote:
> Hi all,
> 
> I’ve 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’t be updated - correct?
> 
> 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?
> 
> Currently when I try to update I get this:
> 
> > [00:00:00] >> 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] >> Recording filesystem state for clean… done
> 
> 
> 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-unsubscr...@freebsd.org 
> <mailto:freebsd-ports-unsubscr...@freebsd.org>"
> 

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Keeping -CURRENT up to date with Poudriere

2017-06-18 Thread Ben Lavery-Griffiths
Hi all,

I’ve 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’t be updated - correct?

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?

Currently when I try to update I get this:

> [00:00:00] >> 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] >> Recording filesystem state for clean… done


Many thanks,
Ben
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"