mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-26 20:12:44 +00:00
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
This commit is contained in:
parent
61d9bd21e9
commit
e368e9b756
@ -126,6 +126,7 @@ MTREES+= ../${mtree} /
|
||||
# scenario.
|
||||
DISTRIB_CLEANUP_FILES+= ${INCLUDEDIR}/c++/v1/__string
|
||||
DISTRIB_CLEANUP_FILES+= ${INCLUDEDIR}/c++/v1/__tuple
|
||||
DISTRIB_CLEANUP_FILES+= ${LIBEXECDIR}/kgdb
|
||||
distrib-cleanup: .PHONY
|
||||
for file in ${DISTRIB_CLEANUP_FILES}; do \
|
||||
if [ -f ${DESTDIR}/$${file} ]; then \
|
||||
|
Loading…
Reference in New Issue
Block a user