Cleaning obsolete files after make installworld
Luís Fernando Schultz Xavier da Silveira
schultz at ime.usp.br
Sun Dec 13 17:47:02 UTC 2015
Hi,
Indeed, I missed the include directive in the last line of
ObsoleteFiles.inc.
There are a really large number of files that failed to be included
there.
Now I understand the situation better and will send a problem report.
Thank you,
Luís Fernando
On Sun, Dec 13, 2015 at 08:30:35AM +0100, Herbert J. Skuhra wrote:
> On Sun, 13 Dec 2015 01:14:35 +0100,
> Luís Fernando Schultz Xavier da Silveira <schultz at ime.usp.br> wrote:
> >
> > Hello,
> >
> > > Check out the /usr/src/Makefile, particularly the # check-old and the #
> > > delete-old sections. I've never found a need to use these, so I really am
> > > uncertain how they would be used. But it seems as if they might come into
> > > play after a make buildworld but prior to a make installworld. I could be
> > > very wrong about that. But if you can track down how to actually use these
> > > targets I think it may remedy the problem.
> >
> > I did use the delete-old functionality. The problem is the files persist
> > even after that.
> >
> > The delete-old command does not seem to take into account software that
> > was disabled in /etc/src.conf and needs to be removed.
>
> It does but there are some options (e.g. WITHOUT_INETD) missing in
> /usr/src/tools/build/mk/OptionalObsoleteFiles.inc.
>
> I think for WITHOUT_INETD the following change is required:
>
> Index: tools/build/mk/OptionalObsoleteFiles.inc
> ===================================================================
> --- tools/build/mk/OptionalObsoleteFiles.inc (revision 291770)
> +++ tools/build/mk/OptionalObsoleteFiles.inc (working copy)
> @@ -2200,6 +2200,13 @@
> OLD_FILES+=rescue/ping6
> .endif
>
> +.if ${MK_INETD} == no
> +OLD_FILES+=etc/inetd.conf
> +OLD_FILES+=etc/rc.d/inetd
> +OLD_FILES+=usr/sbin/inetd
> +OLD_FILES+=usr/share/man/man8/inetd.8.gz
> +.endif
> +
> #.if ${MK_INFO} == no
> # to be filled in
> #.endif
>
> --
> Herbert
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
More information about the freebsd-questions
mailing list