HomeFreeBSD

etc: Don't create stray directories in NO_ROOT distrib-dirs

Description

etc: Don't create stray directories in NO_ROOT distrib-dirs

The loop above is responsible for creating the actual directories,
whilst this one is just responsible for creating the corresponding
METALOG. Since DESTDIR already includes DISTBASE, this results in
creating a second set of roots (one per MTREES entry) within DISTBASE
whenever DISTBASE is non-empty, such as base/base, base/base/var,
base/base/usr, etc. in the distributeworld case. This is purely cosmetic
though as they won't appear in the METALOG.

Details

Provenance
jrtc27Authored on Jun 8 2023, 4:00 PM
Parents
rG2e0d99a953ef: Makefile.inc1: Fix distributeworld mtree mangling for dist root dir
Branches
Unknown
Tags
Unknown