Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jun 2022 21:01:00 +0200 (CEST)
From:      Sysadmin Lists <sysadmin.lists@mailfence.com>
To:        questions@freebsd.org
Cc:        Dave Cottlehuber <dch@skunkwerks.at>, Arthur Chance <freebsd@qeng-ho.org>
Subject:   Re: port binary updates
Message-ID:  <1340730450.2352099.1654714860252@ichabod.co-bxl>
In-Reply-To: <26e7b8e9-50dc-08a3-eee6-b4eb68570f8e@qeng-ho.org>
References:  <799b6d8c-518b-838e-3cb1-e286db142b70@ifdnrg.com> <65588ea3-1125-7fef-bb00-d6b2eaf341f8@qeng-ho.org> <e829add9-8fd8-42ac-82e9-403e048a1356@www.fastmail.com> <094c8a24-ea93-0145-e08d-bd486cf981b8@qeng-ho.org> <b72c1c4e-cc5a-411a-83aa-7c2f30337bb3@www.fastmail.com> <26e7b8e9-50dc-08a3-eee6-b4eb68570f8e@qeng-ho.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> ----------------------------------------
> From: Arthur Chance <freebsd@qeng-ho.org>
> Sent: Tue Jun 07 18:06:43 CEST 2022
> To: Dave Cottlehuber <dch@skunkwerks.at>, <questions@freebsd.org>
> Subject: Re: port binary updates
> 
> 
> On 07/06/2022 17:03, Dave Cottlehuber wrote:
> > On Tue, 7 Jun 2022, at 15:21, Arthur Chance wrote:
> >> On 07/06/2022 16:08, Dave Cottlehuber wrote:
> >>> On Tue, 7 Jun 2022, at 11:32, Arthur Chance wrote:
> >>>> In theory it's supposed to be possible to use poudriere hooks to fetch
> >>>> prebuilt packages from the FreeBSD repositories, but I've never found it
> >>>> how. If anyone has ideas/incantations on this they'd be very welcome.
> >>>
> >>> I've not tested this, but it should be correct, extracted from our
> >>> ansible stuff.
> >>>
> >>> - poudriere-devel poudriere-devel-3.3.99.20211130
> >>>
> >>> # ansible managed
> >>> # ... snip
> >>> # seed packages from pkg.FreeBSD.org
> >>> # pick either latest or quarterly as you like
> >>> PACKAGE_FETCH_BRANCH="latest"
> >>> # allow or deny, pick one
> >>> # PACKAGE_FETCH_WHITELIST="gcc* rust* llvm* mono* cargo cmake openjdk*"
> >>> # PACKAGE_FETCH_BLACKLIST="zig* collectd* foundationdb* erlfdb"
> >>
> >> I'm probably being a bit slow, but where do the above lines go? [I'm
> >> running poudriere rather than poudriere-devel if that makes a difference.]
> > 
> > Woops, that is somewhat relevant:
> > 
> > /usr/local/etc/poudriere.conf
> > 
> > AFAICT this is not in ports-mgmt/poudriere yet, only in the -devel flavour.
> 
> Thanks. I feel a switch to the -devel version coming on. Building llvm
> on my machine wastes rather a lot of time and bottlenecks many other big
> builds.

There's no need to switch to -devel. That feature was added to poudriere many months ago.
One thing to note: if you run a poudriere jail update before building ports, it rebuilds
all of them. Only update the jails when you know an update exists. That, plus the prefetch
option makes package upgrades very simple. And when you feel brave enough you can start
mixing binaries and ports, using the locking feature and multiple repos.



-- 
Sent with https://mailfence.com  
Secure and private email



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1340730450.2352099.1654714860252>