HomeFreeBSD

Proactively remove /usr/lib/kgdb file that became a directory

Description

Proactively remove /usr/lib/kgdb file that became a directory

This was already handled in ObsoleteFiles.inc (see the 20201215 entry),
but some people never run "make delete-old", or want to upgrade directly
from a revision that still had the file to the most recent revision.

They would then encounter a failure during installworld, similar to:

install: /usr/libexec/kgdb exists but is not a directory

Therefore, clean it up in the distrib-cleanup phase, similar to the
earlier instances of libc++ header files that became a directory.

MFC after: 3 days

(cherry picked from commit e368e9b756772264acdbc11f3cc1d223bcd48dee)

Details

Provenance
dimAuthored on Feb 17 2024, 11:27 AM
Parents
rGc8c5d91f48c4: pkgbase: pass --recurse-submodules to `git ls-files`
Branches
Unknown
Tags
Unknown