diff options
Diffstat (limited to 'scripts/lib/wic/imager/direct.py')
| -rw-r--r-- | scripts/lib/wic/imager/direct.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/wic/imager/direct.py b/scripts/lib/wic/imager/direct.py index 11ec15e33f..52828c10cd 100644 --- a/scripts/lib/wic/imager/direct.py +++ b/scripts/lib/wic/imager/direct.py | |||
| @@ -270,8 +270,8 @@ class DirectImageCreator(BaseImageCreator): | |||
| 270 | # get rootfs size from bitbake variable if it's not set in .ks file | 270 | # get rootfs size from bitbake variable if it's not set in .ks file |
| 271 | if not part.size: | 271 | if not part.size: |
| 272 | # and if rootfs name is specified for the partition | 272 | # and if rootfs name is specified for the partition |
| 273 | image_name = part.rootfs_dir | 273 | image_name = self.rootfs_dir.get(part.rootfs_dir) |
| 274 | if image_name: | 274 | if image_name and os.path.sep not in image_name: |
| 275 | # Bitbake variable ROOTFS_SIZE is calculated in | 275 | # Bitbake variable ROOTFS_SIZE is calculated in |
| 276 | # Image._get_rootfs_size method from meta/lib/oe/image.py | 276 | # Image._get_rootfs_size method from meta/lib/oe/image.py |
| 277 | # using IMAGE_ROOTFS_SIZE, IMAGE_ROOTFS_ALIGNMENT, | 277 | # using IMAGE_ROOTFS_SIZE, IMAGE_ROOTFS_ALIGNMENT, |
