summaryrefslogtreecommitdiff
path: root/morphlib/builder2.py
diff options
context:
space:
mode:
authorDaniel Silverstone <daniel.silverstone@codethink.co.uk>2012-10-09 10:14:43 +0000
committerDaniel Silverstone <daniel.silverstone@codethink.co.uk>2012-10-09 10:14:43 +0000
commit05834974c55caae117f16b33c5fc164f323462c4 (patch)
tree13196c4306ee79c5da228e9a99ea9c9693d4c1e4 /morphlib/builder2.py
parentc6751cc5ede93c06186342ede53ab59d722fe71a (diff)
downloadmorph-05834974c55caae117f16b33c5fc164f323462c4.tar.gz
Correct a few long lines.
Diffstat (limited to 'morphlib/builder2.py')
-rw-r--r--morphlib/builder2.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/morphlib/builder2.py b/morphlib/builder2.py
index 81ee5692..856587a2 100644
--- a/morphlib/builder2.py
+++ b/morphlib/builder2.py
@@ -676,7 +676,8 @@ class DiskImageBuilder(SystemKindBuilder): # pragma: no cover
mount_point = None
try:
self._create_fs(partition)
- mount_point = self.staging_area.destdir(self.artifact.source)
+ mount_point = \
+ self.staging_area.destdir(self.artifact.source)
self._mount(partition, mount_point)
factory_path = os.path.join(mount_point, 'factory')
self._create_subvolume(factory_path)
@@ -685,8 +686,10 @@ class DiskImageBuilder(SystemKindBuilder): # pragma: no cover
self._create_bootloader_config(factory_path)
self._create_subvolume_snapshot(
mount_point, 'factory', 'factory-run')
- factory_run_path = os.path.join(mount_point, 'factory-run')
- self._install_boot_files(arch, factory_run_path, mount_point)
+ factory_run_path = os.path.join(mount_point,
+ 'factory-run')
+ self._install_boot_files(arch, factory_run_path,
+ mount_point)
self._install_bootloader(mount_point)
self.copy_kernel_into_artifact_cache(factory_path)
self._unmount(mount_point)