diff options
| author | Tom Zanussi <tom.zanussi@linux.intel.com> | 2014-08-08 14:46:28 -0500 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-11 10:53:12 +0100 |
| commit | 312479cf075fc614afb9588412c03d716c850ab6 (patch) | |
| tree | ceea217eb099ac9fe675b8d771739eb8d3c4ef17 /scripts/lib/mic/utils | |
| parent | 28453ae63cf00b1b23f0176241901cd1ad28d2e0 (diff) | |
| download | poky-312479cf075fc614afb9588412c03d716c850ab6.tar.gz | |
wic: Rename PartitionedMount
It's actually a container for disks and partitions, and wic doesn't
mount anything, so rename it to match what it really is.
(From OE-Core rev: 28c5249b4df46ba3ac227d0c4dc6e545b40dbaf3)
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/mic/utils')
| -rw-r--r-- | scripts/lib/mic/utils/partitionedfs.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/lib/mic/utils/partitionedfs.py b/scripts/lib/mic/utils/partitionedfs.py index 2f950a69d4..f4ce4a9dee 100644 --- a/scripts/lib/mic/utils/partitionedfs.py +++ b/scripts/lib/mic/utils/partitionedfs.py | |||
| @@ -32,7 +32,13 @@ MBR_OVERHEAD = 1 | |||
| 32 | # Size of a sector in bytes | 32 | # Size of a sector in bytes |
| 33 | SECTOR_SIZE = 512 | 33 | SECTOR_SIZE = 512 |
| 34 | 34 | ||
| 35 | class PartitionedMount: | 35 | class Image: |
| 36 | """ | ||
| 37 | Generic base object for an image. | ||
| 38 | |||
| 39 | An Image is a container for a set of DiskImages and associated | ||
| 40 | partitions. | ||
| 41 | """ | ||
| 36 | def __init__(self): | 42 | def __init__(self): |
| 37 | self.disks = {} | 43 | self.disks = {} |
| 38 | self.partitions = [] | 44 | self.partitions = [] |
