summaryrefslogtreecommitdiffstats
path: root/fuel/build/fuel-agent_1.patch
diff options
context:
space:
mode:
authorJonas Bjurel <jonas.bjurel@ericsson.com>2015-10-03 17:42:28 +0200
committerJonas Bjurel <jonas.bjurel@ericsson.com>2015-10-03 17:43:44 +0200
commite94d5484ecdf8021245d961479dae07ea2f8321f (patch)
tree3b7235aa46dcb1de0c93dd68c3c874fa65ca6828 /fuel/build/fuel-agent_1.patch
parent563547b4a9f44090f32c0e17d040114854563760 (diff)
Removed fuel from Genesis master since fuel has moved to repo fuel.
Change-Id: If264c47c2df95201fe96dc58cf0db6f572859529 Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
Diffstat (limited to 'fuel/build/fuel-agent_1.patch')
-rw-r--r--fuel/build/fuel-agent_1.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/fuel/build/fuel-agent_1.patch b/fuel/build/fuel-agent_1.patch
deleted file mode 100644
index b080896..0000000
--- a/fuel/build/fuel-agent_1.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-*** build/repos/nailgun/fuel_agent/fuel_agent/manager.py.orig Thu Sep 24 11:08:38 2015
---- build/repos/nailgun/fuel_agent/fuel_agent/manager.py Thu Sep 24 11:10:25 2015
-***************
-*** 541,546 ****
---- 541,552 ----
- fs_options=fs.options,
- fs_label=fs.label,
- dev=str(fs.device))
-+ if fs.type == 'ext4':
-+ LOG.debug('Trying to disable journaling for ext4 '
-+ 'in order to speed up the build')
-+ utils.execute('tune2fs', '-O', '^has_journal',
-+ str(fs.device))
-+
-
- # mounting all images into chroot tree
- self.mount_target(chroot, treat_mtab=False, pseudo=False)
-***************
-*** 631,636 ****
---- 637,652 ----
- self.umount_target(chroot, pseudo=False, try_lazy_umount=False)
-
- for image in self.driver.image_scheme.images:
-+ # find fs with the same loop device object
-+ # as image.target_device
-+ fs = self.driver.partition_scheme.fs_by_device(
-+ image.target_device)
-+
-+ if fs.type == 'ext4':
-+ LOG.debug('Trying to re-enable journaling for ext4')
-+ utils.execute('tune2fs', '-O', 'has_journal',
-+ str(fs.device))
-+
- LOG.debug('Deattaching loop device from file: %s',
- image.img_tmp_file)
- bu.deattach_loop(str(image.target_device))