diff options
Diffstat (limited to 'scripts/lib/wic/imager/direct.py')
| -rw-r--r-- | scripts/lib/wic/imager/direct.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/wic/imager/direct.py b/scripts/lib/wic/imager/direct.py index 2bedef08d6..11ec15e33f 100644 --- a/scripts/lib/wic/imager/direct.py +++ b/scripts/lib/wic/imager/direct.py | |||
| @@ -290,7 +290,7 @@ class DirectImageCreator(BaseImageCreator): | |||
| 290 | self.bootimg_dir, self.kernel_dir, self.native_sysroot) | 290 | self.bootimg_dir, self.kernel_dir, self.native_sysroot) |
| 291 | 291 | ||
| 292 | 292 | ||
| 293 | self.__image.add_partition(int(part.size), | 293 | self.__image.add_partition(part.disk_size, |
| 294 | part.disk, | 294 | part.disk, |
| 295 | part.mountpoint, | 295 | part.mountpoint, |
| 296 | part.source_file, | 296 | part.source_file, |
