Commit Graph

9 Commits

Author SHA1 Message Date
Marcus Schäfer
bdb7123fa1
Refactor use of logging facility
Use getLogger method instead of a global log object
Also use caplog fixture to capture log messages in
unit tests. This Fixes #1244
2019-10-23 17:54:27 +02:00
Marcus Schäfer
d70d8d85cc
Fixed losetup call due to move in option names
util-linux dropped losetup-Add-support-for-setting-logical-blocksize.patch
because different implementations exists in the new kernel, and it has
a conflicting implementation in util-linux. This caused a change in the
option to specify the logical sector size. The option --logical-blocksize
was replaced by --sector-size. We adapt this now in kiwi too
2019-02-21 15:49:11 +01:00
Marcus Schäfer
75b1e2d6c7
Fixed docstring :rtype: values
In Python the string type name is str not string
2018-04-18 10:33:15 +02:00
Marcus Schäfer
8668fbbc24
Cleanup api doc strings
This cleans up and fixes the api documentation for
the public interface of the projects storage source code
files and Fixes #698
2018-04-17 10:29:42 +02:00
Marcus Schäfer
a4e582eb6d
Resize partition table after image resize
The command 'kiwi image resize' allows to resize the size
of a disk image. Depending on the partition table type it
is also required to resize the partition table inside of
the image to let the file size change become effective
This Fixes #534
2018-03-06 11:24:25 +01:00
Marcus Schäfer
0368311f69 Fixed blocksize setup in losetup
The -L option was used to set the blocksize value for losetup
However there is an option name clash between suse util-linux
and upstream which now leads to the problem that option -L
has changed its meaning and actually means --nooverlap which
completely breaks the call in kiwi. This patch changes the
call to use the long form --logical-blocksize.
This Fixes bsc#1066873
2017-11-07 17:39:15 +01:00
Marcus Schäfer
1a5257a0e8 Prevent use of project relative import statements
For details on the motivation of this change please visit:
https://wiki.python.org/moin/FutureProofPython
2017-03-07 11:23:37 +01:00
Marcus Schäfer
4855fd92be
Update storage inline API documentation
References #49
2016-04-15 09:34:12 +02:00
Marcus Schäfer
f644d39a2f
Continue Refactor into subpackage
storage operations should have their own namespace
2016-02-29 11:37:27 +01:00