diff options
Diffstat (limited to 'scripts/lib/wic/plugins/source/rootfs.py')
| -rw-r--r-- | scripts/lib/wic/plugins/source/rootfs.py | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/scripts/lib/wic/plugins/source/rootfs.py b/scripts/lib/wic/plugins/source/rootfs.py index 7d444301fb..0ee383efb7 100644 --- a/scripts/lib/wic/plugins/source/rootfs.py +++ b/scripts/lib/wic/plugins/source/rootfs.py | |||
| @@ -54,7 +54,7 @@ class RootfsPlugin(SourcePlugin): | |||
| 54 | return image_rootfs_dir | 54 | return image_rootfs_dir | 
| 55 | 55 | ||
| 56 | @classmethod | 56 | @classmethod | 
| 57 | def do_prepare_partition(self, part, source_params, cr, cr_workdir, | 57 | def do_prepare_partition(cls, part, source_params, cr, cr_workdir, | 
| 58 | oe_builddir, bootimg_dir, kernel_dir, | 58 | oe_builddir, bootimg_dir, kernel_dir, | 
| 59 | krootfs_dir, native_sysroot): | 59 | krootfs_dir, native_sysroot): | 
| 60 | """ | 60 | """ | 
| @@ -77,7 +77,7 @@ class RootfsPlugin(SourcePlugin): | |||
| 77 | msg += " or it is not a valid path, exiting" | 77 | msg += " or it is not a valid path, exiting" | 
| 78 | msger.error(msg % part.rootfs) | 78 | msger.error(msg % part.rootfs) | 
| 79 | 79 | ||
| 80 | real_rootfs_dir = self.__get_rootfs_dir(rootfs_dir) | 80 | real_rootfs_dir = cls.__get_rootfs_dir(rootfs_dir) | 
| 81 | 81 | ||
| 82 | part.set_rootfs(real_rootfs_dir) | 82 | part.set_rootfs(real_rootfs_dir) | 
| 83 | part.prepare_rootfs(cr_workdir, oe_builddir, real_rootfs_dir, native_sysroot) | 83 | part.prepare_rootfs(cr_workdir, oe_builddir, real_rootfs_dir, native_sysroot) | 
