---
morphlib/plugins/tarball-systembuilder_plugin.py | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/morphlib/plugins/tarball-systembuilder_plugin.py
b/morphlib/plugins/tarball-systembuilder_plugin.py
index 5975a5c..1114aaf 100644
--- a/morphlib/plugins/tarball-systembuilder_plugin.py
+++ b/morphlib/plugins/tarball-systembuilder_plugin.py
@@ -44,14 +44,12 @@ class RootfsTarballBuilder(SystemKindBuilder): # pragma: no cover
rootfs_artifact = self.new_artifact(
self.artifact.source.morphology['name'] + '-rootfs')
handle = self.local_artifact_cache.put(rootfs_artifact)
- image_name = handle.name
try:
- mount_point = self.staging_area.destdir(self.artifact.source)
- factory_path = mount_point
- self.unpack_strata(factory_path)
- self.create_fstab(factory_path)
- self.copy_kernel_into_artifact_cache(factory_path)
+ fs_root = self.staging_area.destdir(self.artifact.source)
+ self.unpack_strata(fs_root)
+ self.create_fstab(fs_root)
+ self.copy_kernel_into_artifact_cache(fs_root)
except BaseException, e:
logging.error(traceback.format_exc())
self.app.status(msg='Error while building system',
--
1.7.2.5