Re: another fuse panic

From: Garrett Cooper <gcooper_at_FreeBSD.org>
Date: Wed, 10 Nov 2010 12:21:36 -0800
On Wed, Nov 10, 2010 at 12:18 PM, Garrett Cooper <gcooper_at_freebsd.org> wrote:
> On Wed, Nov 10, 2010 at 11:42 AM, Andriy Gapon <avg_at_freebsd.org> wrote:
>> on 10/11/2010 21:08 Andriy Gapon said the following:
>>> on 10/11/2010 20:26 Sergey Kandaurov said the following:
>>>> Hi.
>>>> If I understood you correctly, then you need
>>>> PORTS_MODULES set in /etc/make.conf.
>>>
>>> It was a long time ago when I tried it last time, but I remember having problems
>>> with it during upgrades.
>>
>> I think this is what it was/is.
>> If a port in PORTS_MODULES has dependencies, then buildkernel would try to install
>> those dependencies even if they are already installed.  And that, obviously, would
>> fail.
>
> Didn't know about this knob -- cool!
>
> And FWIW, all it does is a:
>
> all
> install: deinstall reinstall (huh?)
> reinstall: deinstall reinstall (huh?)
> clean
>
> Seems like it should be:
>
> clean
> all
> [deinstall]
> install
> clean
>
> or:
>
> clean
> all
> install -DFORCE_PKG_REGISTER
> clean
>
> the first clean is just in case the PORTSWORKDIR is dirty.

And FWIW an even better idea might be to align the port with the
process in use, i.e.

clean (i.e. NO_CLEAN, KERNFAST, etc not specified) ->
[${PORTSDIR}/${PORT}] clean
buildkernel -> [${PORTSDIR}/${PORT}] all
installkernel -> [${PORTSDIR}/${PORT}] deinstall install

*shrugs*
-Garrett
Received on Wed Nov 10 2010 - 19:21:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:09 UTC