From 912602b697f0115b5110bad217395d424e27c42b Mon Sep 17 00:00:00 2001 From: "Carl D. Roth" Date: Mon, 23 May 2016 17:23:36 -0700 Subject: [PATCH] Set hostDir to None to skip cleanup --- .../vendor-config-onl/src/python/onl/install/InstallUtils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/base/all/vendor-config-onl/src/python/onl/install/InstallUtils.py b/packages/base/all/vendor-config-onl/src/python/onl/install/InstallUtils.py index f2e2232f..830e042e 100644 --- a/packages/base/all/vendor-config-onl/src/python/onl/install/InstallUtils.py +++ b/packages/base/all/vendor-config-onl/src/python/onl/install/InstallUtils.py @@ -260,7 +260,9 @@ class MountContext(SubprocessMixin): cmd = ('umount', self.hostDir,) self.check_call(cmd, vmode=self.V1) - self.rmdir(self.hostDir) + if self.hostDir is not None: + self.rmdir(self.hostDir) + return False class BlkidEntry: