diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-06-13 14:22:03 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-14 10:18:29 +0100 |
commit | 59e0600427a7cb72146be1e3f8d7b4f977f4c848 (patch) | |
tree | d59d9c3abb138b3bd2af406cab708c104dfeeea6 /scripts/lib/wic/plugins/imager | |
parent | 1344400f1a9ad24c7ec43e1b2f8190c48ba59ebb (diff) | |
download | poky-59e0600427a7cb72146be1e3f8d7b4f977f4c848.tar.gz |
filemap: change signature of sparse_copy function
Renamed parameter offset->skip to match names of dd
parameters.
Changed affected sparse_copy calls.
Added explanation of the parameters to docstring.
(From OE-Core rev: 08e2f4e59816c5757686255b267b08cbc46fbd95)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/plugins/imager')
-rw-r--r-- | scripts/lib/wic/plugins/imager/direct.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/wic/plugins/imager/direct.py b/scripts/lib/wic/plugins/imager/direct.py index f2e6127331..3cdedd1579 100644 --- a/scripts/lib/wic/plugins/imager/direct.py +++ b/scripts/lib/wic/plugins/imager/direct.py | |||
@@ -550,7 +550,7 @@ class PartitionedImage(): | |||
550 | source = part.source_file | 550 | source = part.source_file |
551 | if source: | 551 | if source: |
552 | # install source_file contents into a partition | 552 | # install source_file contents into a partition |
553 | sparse_copy(source, self.path, part.start * self.sector_size) | 553 | sparse_copy(source, self.path, seek=part.start * self.sector_size) |
554 | 554 | ||
555 | logger.debug("Installed %s in partition %d, sectors %d-%d, " | 555 | logger.debug("Installed %s in partition %d, sectors %d-%d, " |
556 | "size %d sectors", source, part.num, part.start, | 556 | "size %d sectors", source, part.num, part.start, |