Guard make distclean against local/ overlay source deletion
make distclean now documents that local/ is protected and will NOT be deleted. Add make distclean-nuclear as the only path that can touch local overlay sources (requires REDBEAR_ALLOW_LOCAL_UNFETCH=1). Add unfetch risk comments in mk/repo.mk for local overlay recipes.
This commit is contained in:
@@ -168,6 +168,14 @@ rebuild-push: $(FSTOOLS_TAG) FORCE
|
||||
$(MAKE) repo
|
||||
$(MAKE) push
|
||||
|
||||
# WARNING: unfetch deletes the recipe source tree.
|
||||
# For local overlay recipes (symlinked into local/), this will delete
|
||||
# source code in local/recipes/ that may not be recoverable.
|
||||
# The repo binary now guards against this, but verify with --dry-run first.
|
||||
# WARNING: unfetch --all deletes ALL recipe source trees.
|
||||
# For local overlay recipes (symlinked into local/), this will delete
|
||||
# source code in local/recipes/ that may not be recoverable.
|
||||
# The repo binary now guards against this for local overlays.
|
||||
# Invoke unfetch for one or more targets separated by comma
|
||||
u.%: $(FSTOOLS_TAG) FORCE
|
||||
ifeq ($(PODMAN_BUILD),1)
|
||||
|
||||
Reference in New Issue
Block a user