summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2019-10-05 15:30:38 -0700
committerMatt Turner <mattst88@gentoo.org>2019-10-05 15:30:38 -0700
commitf97a050114eeef0550eec0052c526706a6bf3f0a (patch)
tree76af8a072b38d8df53ad131c88e8df399b1ded23
parentarch: Set -mcpu=ultrasparc on 32-bit sparc as well (diff)
downloadcatalyst-f97a050114eeef0550eec0052c526706a6bf3f0a.tar.gz
catalyst-f97a050114eeef0550eec0052c526706a6bf3f0a.tar.bz2
catalyst-f97a050114eeef0550eec0052c526706a6bf3f0a.zip
Warn if skipping unbinding a path
Signed-off-by: Matt Turner <mattst88@gentoo.org>
-rw-r--r--catalyst/base/stagebase.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index 4e81a9b1..3c274587 100644
--- a/catalyst/base/stagebase.py
+++ b/catalyst/base/stagebase.py
@@ -1001,9 +1001,11 @@ class StageBase(TargetBase, ClearBase, GenBase):
for x in myrevmounts:
target = normpath(mypath + self.target_mounts[x])
if not os.path.exists(target):
+ log.warning('%s does not exist. Skipping', target)
continue
if not ismount(target):
+ log.warning('%s is not a mount point. Skipping', target)
continue
try: