diff options
author | Maciej Borzecki <maciej.borzecki@rndity.com> | 2016-11-10 13:18:35 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-11 17:21:42 +0000 |
commit | d6f478d9df350b7a2656e47ab8db03487f0b98ec (patch) | |
tree | 06c40df37279477581da25a57baed8b79d087c3d | |
parent | 0a25fbfdb4e7eac69c6247684853c6b203a22d98 (diff) | |
download | poky-d6f478d9df350b7a2656e47ab8db03487f0b98ec.tar.gz |
wic: fix function comment typos
Fix typos in documentation of Image.add_partition() and
Image.__format_disks().
(From OE-Core rev: f5bf7bf253224912c66bab89f48ff63a73e0d698)
(From OE-Core rev: 44ce5b4bb0873d5a2dec25f2dc489a6ab8f7995e)
Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | scripts/lib/wic/utils/partitionedfs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/wic/utils/partitionedfs.py b/scripts/lib/wic/utils/partitionedfs.py index cb03009fc7..9e76487844 100644 --- a/scripts/lib/wic/utils/partitionedfs.py +++ b/scripts/lib/wic/utils/partitionedfs.py | |||
@@ -92,7 +92,7 @@ class Image(): | |||
92 | def add_partition(self, size, disk_name, mountpoint, source_file=None, fstype=None, | 92 | def add_partition(self, size, disk_name, mountpoint, source_file=None, fstype=None, |
93 | label=None, fsopts=None, boot=False, align=None, no_table=False, | 93 | label=None, fsopts=None, boot=False, align=None, no_table=False, |
94 | part_type=None, uuid=None, system_id=None): | 94 | part_type=None, uuid=None, system_id=None): |
95 | """ Add the next partition. Prtitions have to be added in the | 95 | """ Add the next partition. Partitions have to be added in the |
96 | first-to-last order. """ | 96 | first-to-last order. """ |
97 | 97 | ||
98 | ks_pnum = len(self.partitions) | 98 | ks_pnum = len(self.partitions) |
@@ -292,7 +292,7 @@ class Image(): | |||
292 | # even number of sectors. | 292 | # even number of sectors. |
293 | if part['mountpoint'] == "/boot" and part['fstype'] in ["vfat", "msdos"] \ | 293 | if part['mountpoint'] == "/boot" and part['fstype'] in ["vfat", "msdos"] \ |
294 | and part['size'] % 2: | 294 | and part['size'] % 2: |
295 | msger.debug("Substracting one sector from '%s' partition to " \ | 295 | msger.debug("Subtracting one sector from '%s' partition to " \ |
296 | "get even number of sectors for the partition" % \ | 296 | "get even number of sectors for the partition" % \ |
297 | part['mountpoint']) | 297 | part['mountpoint']) |
298 | part['size'] -= 1 | 298 | part['size'] -= 1 |