Created
November 6, 2017 16:33
-
-
Save vathpela/24c4569222c4df41aadb735858c37ae1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From cfd52b5212d0e5b5280f6c2cca4dd725bd1e9eb6 Mon Sep 17 00:00:00 2001 | |
From: Peter Jones <[email protected]> | |
Date: Mon, 6 Nov 2017 11:30:47 -0500 | |
Subject: [PATCH] Make --cache-alterations behave sanely. | |
Signed-off-by: Peter Jones <rpm-build> | |
--- | |
py/mockbuild/plugins/root_cache.py | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
diff --git a/py/mockbuild/plugins/root_cache.py b/py/mockbuild/plugins/root_cache.py | |
index f40bbdc..1d71307 100644 | |
--- a/py/mockbuild/plugins/root_cache.py | |
+++ b/py/mockbuild/plugins/root_cache.py | |
@@ -204,5 +204,5 @@ class RootCache(object): | |
@traceLog() | |
def _rootCachePostShellHook(self): | |
- if self._haveVolatileRoot() and self.config['cache_alterations']: | |
+ if self.config['cache_alterations']: | |
self._rebuild_root_cache() | |
-- | |
2.14.3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment