Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Dec 2023 17:33:29 +0100
From:      "Herbert J. Skuhra" <herbert@gojira.at>
To:        stable@freebsd.org
Subject:   Re: some dirs don't get deleted with make-delete-old
Message-ID:  <87cyvgbqna.wl-herbert@gojira.at>
In-Reply-To: <ZXMJMoK69PsdvpCS@int21h>
References:  <ZXMJMoK69PsdvpCS@int21h>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 08 Dec 2023 13:16:50 +0100, void wrote:
> 
> It seems some dirs don't get deleted with make delete-old:
> 
> # yes | make delete-old
> 
> [...]
> /usr/share/doc/atf
> rmdir: /usr/share/certs/blacklisted: Directory not empty

This directory should no longer exist. It was renamed to untrusted in
June 2021 (commit 64e6e1e46363de5d4843cf0fc79406060ec44c03). 

> /usr/share/atf
> [...]
> /usr/lib/debug/lib
> rmdir: /usr/lib/debug/boot: Directory not empty
> /usr/lib/debug/bin
> 
> is this an error?

Do you use WITHOUT_DEBUG_FILES= in /etc/src.conf? 

I think the problem is:

1. etc/mtree/BSD.debug.dist
The Makefile contains the following note: "# NOTE: BSD.debug.dist is
unconditionally installed for developer ease-of-use."

2. make delete-old does not empty and delete
/usr/lib/debug/boot/kernel and /usr/lib/debug/boot/modules. Both
directories are excluded in tools/build/mk/OptionalObsoleteFiles.inc
(lines 1336-1350). This code was commited in August 2017 by emaste
(commit 63cd05d97a6d280e280538229040537d5ac75788).

--
Herbert



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87cyvgbqna.wl-herbert>