Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save konsolebox/154d53fffbf43fc68854480f567469b6 to your computer and use it in GitHub Desktop.
Save konsolebox/154d53fffbf43fc68854480f567469b6 to your computer and use it in GitHub Desktop.
diff --git a/lib/portage/package/ebuild/doebuild.py b/lib/portage/package/ebuild/doebuild.py
index 8b65a78..ea09721 100644
--- a/lib/portage/package/ebuild/doebuild.py
+++ b/lib/portage/package/ebuild/doebuild.py
@@ -1006,6 +1006,10 @@ def doebuild(
)
if mydo in clean_phases:
+ for f in ["keeptemp", "keepwork"]:
+ if f in mysettings.features:
+ writemsg(f"Warning: {f} affects how '{mydo}' behaves.\n")
+
builddir_lock = None
if not returnpid and "PORTAGE_BUILDDIR_LOCKED" not in mysettings:
builddir_lock = EbuildBuildDir(
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment