commit: faa1349963f41c39c4fbf5da5445c526fab3430f
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 8 23:13:59 2017 +0000
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Wed Mar 8 23:14:50 2017 +0000
URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=faa13499
base/stagebase.py: Add additional log messages for autoresume point invalidation
catalyst/base/stagebase.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index 0d36e33..a6233b2 100644
--- a/catalyst/base/stagebase.py
+++ b/catalyst/base/stagebase.py
@@ -729,24 +729,28 @@ class StageBase(TargetBase, ClearBase, GenBase):
# Autoresume is valid, SEEDCACHE is valid
_unpack = False
invalid_snapshot = False
+ log.notice('Resume point "unpack" valid...')
elif os.path.isfile(self.settings["source_path"]) \
and self.settings["source_path_hash"] ==
clst_unpack_hash:
# Autoresume is valid, tarball is valid
_unpack = False
invalid_snapshot = False
+ log.notice('Resume point "source_path_hash"
valid...')
elif os.path.isdir(self.settings["source_path"]) \
and self.resume.is_disabled("unpack"):
# Autoresume is invalid, SEEDCACHE
_unpack = True
invalid_snapshot = True
+ log.notice('Resume point "unpack is disabled"
is True, invalidating snapshot... :(')
elif os.path.isfile(self.settings["source_path"]) \
and self.settings["source_path_hash"] !=
clst_unpack_hash:
# Autoresume is invalid, tarball
_unpack = True
invalid_snapshot = True
+ log.notice('Resume point "source_path_hash" is
invalid... :(')
unpack_info['source'] =
file_check(unpack_info['source'])
else: