tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Adjusting pkg_chk to spend less time cleaning



On Tue, 14 Nov 2023 at 18:51, Rhialto <rhialto%falu.nl@localhost> wrote:
>
> On Tue 14 Nov 2023 at 18:19:53 +0000, David Brownlee wrote:
> > By default pkg_chk calls
> >
> > ${MAKE} update CLEANDEPENDS=yes
> >
> > which is great for leaving everything clean afterwards, but results in
> > a lot of time with every package cleaning all its depends... (it uses
> > this if the target package is installed or not)
> >
> > Would anyone object to it being adjusted to
> >
> > ${MAKE} update 'DEPENDS_TARGET=package-install clean'
> >
> > which should result in all the rebuilt packages and dependencies being
> > clean afterwards, but without the wasted effort. I've been running
> > with this for a few months
>
> Sounds like a good idea. Because of excessive cleaning, I have run
> pkg_chk inside pkg_comp1 with
>
> CLEANDEPENDS="no" # it's done anyway, this turns off a duplicate
>
> for ages now. Your change seems pretty similar in effect.
> I vaguely recall removing some cleaning from another place as well, but
> I can't find that right now.
>

Updated pkgtools/pkg_chk to 2.0.12 with this change

David


Home | Main Index | Thread Index | Old Index