diff options
author | Matt Turner <mattst88@gentoo.org> | 2019-10-05 15:30:38 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2019-10-05 15:30:38 -0700 |
commit | f97a050114eeef0550eec0052c526706a6bf3f0a (patch) | |
tree | 76af8a072b38d8df53ad131c88e8df399b1ded23 | |
parent | arch: Set -mcpu=ultrasparc on 32-bit sparc as well (diff) | |
download | catalyst-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.py | 2 |
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: |