Date: Wed, 6 Mar 2019 18:23:49 +0100 From: Stefan Bethke <stb@lassitu.de> To: tech-lists <tech-lists@zyxst.net> Cc: freebsd-questions@freebsd.org, freebsd-stable@freebsd.org Subject: Re: poudriere(-devel) ports updating question Message-ID: <30D9DC41-0FE6-4B2F-846B-E7E1BDEF485D@lassitu.de> In-Reply-To: <20190305140939.GA18890@rpi3.zyxst.net> References: <20190305140939.GA18890@rpi3.zyxst.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> Am 05.03.2019 um 15:09 schrieb tech-lists <tech-lists@zyxst.net>: > > Hi, > > There are several categories of ports I'd like to avoid for some > architectures. For example, I don't want x11 for mips.mips64. Or astronomy. But let's say, for this architecture, I want to build everything else. > > I can't see a way of excluding categories with poudriere ports when > updating the ports tree - the only workaround I can see is to download another tree, call it something and then manually edit that tree, and then set the build off with -p port-treename. Every time I want to > make a bulk run. > > Basically I'm looking for exclude mask functionality when updating a > ports tree with poudriere ports. > > Do I need to do this manually or have I missed something? I don’t think it’s easy to do that. How would you handle dependencies? (For example, some ports require X11 libs and stuff, even though they’re in a different category.) Do you want to save time on builds by excluding pkgs that you know you’ll never need? Or what is your goal with this? In my setup, I rely on the regular packages from the official repo, but for those pkg that I need built with different options, I run a custom list. You could try to produce a filtered list of all ports, removing those that you’d never select manually, and let poudriere figure out what needs to be built. Something along the lines of: - update ports - list all ports | grep -v '^x11/' - run poudriere with resulting list Stefan -- Stefan Bethke <stb@lassitu.de> Fon +49 151 14070811
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?30D9DC41-0FE6-4B2F-846B-E7E1BDEF485D>
