Commit Graph

5 Commits

Author SHA1 Message Date
David Cassany
b3932de0a0 Convert user input to absolute paths
This commit converts the paths provided by the user with the
command line to absolute paths. The effected arguments are:
* --root
* --target-dir
* --bundle-dir

This supersedes and fixes #271
2017-03-24 17:24:13 +01:00
Marcus Schäfer
c91820aa27 Cleanup unit tests using sys.argv
The tests should restore to the default argv option set
as provided by the test_helper
2016-10-25 17:51:57 +02:00
Marcus Schäfer
a3ce96ae78
Use format method for messages in image_resize
There are more places where this cleanup from %x format
attributes to the format() method is required. Here it is
done in the scope of the image resize task
2016-10-19 11:34:05 +02:00
Marcus Schäfer
de80a1f9b7
Only resize disk format if required
Only resize the disk format if the raw disk has been changed
If the size of the raw disk is the same as the requested size
just print a message to the user
2016-10-18 17:47:18 +02:00
Marcus Schäfer
c9c71f4dc5 Added kiwi image resize command
The image resize command allows to resize a disk image
and its optional disk format to a new disk geometry
2016-10-18 10:13:41 +02:00