Statistics
| Branch: | Tag: | Revision:

root / image_creator / bundle_volume.py @ e36b5b14

History | View | Annotate | Download (15.3 kB)

# Date Author Comment
fa39c7e3 01/04/2013 02:06 pm Nikos Skalkotos

Truncate the image before fs creation

63e1b902 01/04/2013 01:17 pm Nikos Skalkotos

In rsync make src and dest labels configurable

1fa75c4c 01/03/2013 02:34 pm Nikos Skalkotos

Cleanup Rsync class and add extra options

Add options for preserving extended atrributes, hard links, ACLs.

6228d45e 12/31/2012 02:57 pm Nikos Skalkotos

Fix pep8 errors

d15368cc 12/31/2012 03:05 am Nikos Skalkotos

Fix bugs in rsync module

  • Fix a bug where the parent process did not wait on the child
    processes.
  • Make sure that when updating the copy progress bar, at least
    0.1 seconds have passed. This guarantees that we do not experience
    any flickering in the progress bar.
f3845095 12/31/2012 01:22 am Nikos Skalkotos

Retry cleanup commands if they fail

Add a new try_fail_repeat function that wraps cleanup system commands
and retries them if they fail. There are cases where commands like
dmsetup, umount and losetup -d may fail with device is busy. In most
of the cases, sleeping for halve a second and retrying does the job.

567891a6 12/30/2012 11:14 pm Nikos Skalkotos

Make sure the tmp bunble_volume img gets deleted

83fe59dd 12/29/2012 06:33 pm Nikos Skalkotos

In bundle_volume truncate img file after shrinking

bf15a033 12/28/2012 02:55 am Nikos Skalkotos

In bundle_volume replace UUIDs in new filesystems

Replace the UUID entries in fstab and grub files for filesystems that
have beeen recreated.

e6f134b3 12/24/2012 02:23 pm Nikos Skalkotos

Fix a bug in rsync

The exclude patterns should contain relative to the source paths

74149d07 12/23/2012 09:12 pm Nikos Skalkotos

In bundle volume copy host files with rsync

25b4d858 12/20/2012 08:16 pm Nikos Skalkotos

Create fs in image partitions in bundle_volume

Also do a code cleanup

a939e3b8 12/19/2012 07:04 pm Nikos Skalkotos

Fix bugs in bundle_volume module

The partition table of the image is created correct. The partitions
are not yet filled.

8eea5572 12/19/2012 04:22 pm Nikos Skalkotos

Further development in bundle_volume

Nothing is working yet

f911ff16 12/14/2012 07:20 pm Alex Pyrgiotis

Fix errors introduced in 9517bf29dadbb4f1257f240bc

9517bf29 12/13/2012 07:01 pm Nikos Skalkotos

Fix the image partitions in bundle_volume

Check the file system usage and accordingly reduce the size of the
last partition in the image.

27a4229d 12/11/2012 04:43 pm Nikos Skalkotos

Futher development for bundle_volume

Create a sparse file under /mnt in the size of the root hard disk
and copy the mbr into this file. Not yet workable.

9e4b4de2 11/21/2012 04:14 pm Nikos Skalkotos

Add new bundle_volume module

This is not yet workable but it will host the code for creating
images out of a running system.