diff options
| -rw-r--r-- | meta/lib/oe/rootfs.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py index 0b9911e3a6..ad2a4c1441 100644 --- a/meta/lib/oe/rootfs.py +++ b/meta/lib/oe/rootfs.py | |||
| @@ -386,6 +386,10 @@ def create_rootfs(d, manifest_dir=None, progress_reporter=None, logcatcher=None) | |||
| 386 | 386 | ||
| 387 | 387 | ||
| 388 | def image_list_installed_packages(d, rootfs_dir=None): | 388 | def image_list_installed_packages(d, rootfs_dir=None): |
| 389 | # Theres no rootfs for baremetal images | ||
| 390 | if bb.data.inherits_class('baremetal-image', d): | ||
| 391 | return "" | ||
| 392 | |||
| 389 | if not rootfs_dir: | 393 | if not rootfs_dir: |
| 390 | rootfs_dir = d.getVar('IMAGE_ROOTFS') | 394 | rootfs_dir = d.getVar('IMAGE_ROOTFS') |
| 391 | 395 | ||
