Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Dec 2015 15:48:39 -0200
From:      =?utf-8?B?THXDrXM=?= Fernando Schultz Xavier da Silveira <schultz@ime.usp.br>
To:        "Herbert J. Skuhra" <h.skuhra@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Cleaning obsolete files after make installworld
Message-ID:  <20151213174839.GA871@hpmini>
In-Reply-To: <86egeqls9w.wl-h.skuhra@gmail.com>
References:  <20151205201107.GA19335@hpmini> <CAA2O=b9j4X0WjpdDgBRbUn66qw+QGK1u-Ypt5kxqT3n9u9sofA@mail.gmail.com> <20151205204943.GA19890@hpmini> <n4i9hr$6aq$1@ger.gmane.org> <20151213001435.GA6169@hpmini> <86egeqls9w.wl-h.skuhra@gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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@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@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20151213174839.GA871>