Forcing poudriere to rebuild a package and all dependencies
Russell L. Carter
rcarter at pinyon.org
Mon Aug 29 23:46:33 UTC 2016
Hi Bryan,
On 08/26/16 22:44, Bryan Drewery wrote:
> On 8/26/2016 3:21 PM, Russell L. Carter wrote:
>> Hi,
>>
>> So I'm in the middle of jumping a herd of 6 boxen from 10.3 to 11, and
>
> Upgrading/Replacing a poudriere jail from 10.3 to 11 normally would
> rebuild all packages since there would either be no packages in the new
> jail (if using a name such as 10-amd64 and 11-amd64), or it would
> rebuild all packages for the major version updating (if you used a
> simple jail name like 'foo').
>
> So I'm not sure how you don't have all packages rebuilding in that case.
>
> How did you upgrade your jail from 10.3 to 11?
Now that I think about it, I'm surprised it worked as well as it did.
I just installed 11, copied my 10/stable poudriere config over
(including packages), brought up an 11/stable jail and then ran
poudriere bulk. LOL. Amazing. Something like a third of my 1000+
packages got rebuilt, and the only ones that didn't that needed to
be rebuilt were the kernel modules. Next time, though, no screwing
around. I will fire up poudriere in the evening and install the
entire new set of packages the next day.
Anyway, it seesms the easiest way to force a (re)build of a package
might be to toggle poudriere options on the port (if it has an
option.)
I will say again that the architecture of poudriere is a gigantic
leap forward from e.g. debian apt. Packaging the base will be
killer.
Many thanks!
Russell
>> I can't find how to update necessary ports modules such as, but not
>> limited to, the several nvidia kernel modules. This information does
>> not appear to be googleable, so let's correct that.
>>
>> Here's my /usr/local/etc/poudriere.d/make.conf, which is indeed
>> appended at the beginning of a poudriere bulk run:
>>
>> WITH_OPENSSL_PORT= yes
>> OPENSSL_PORT= security/openssl
>> DEFAULT_VERSIONS=pgsql=9.5 php=7.0
>> # Set this to the list of ports you wish to rebuild every time the
>> # kernel is built.
>> PORTS_MODULES=nvidia-driver-340 nvidia-driver virtualbox-ose-kmod
>> sysutils/vm-bhyve sysutils/pefs-kmod
>> DISABLE_LICENSES=yes
>>
>> Simply rm'ing the package file does not work. Ideas? Otherwise, the
>> upgrade is going fairly smoothly, kudos to the team. I've had worse
>> experiences with apt-get.
>>
>> Thanks,
>> Russell
>> _______________________________________________
>> freebsd-ports at freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
>> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>
>
More information about the freebsd-ports
mailing list