Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
From cfd52b5212d0e5b5280f6c2cca4dd725bd1e9eb6 Mon Sep 17 00:00:00 2001
From: Peter Jones <pjones@redhat.com>
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
You can’t perform that action at this time.