diff options
Diffstat (limited to 'scripts/lib/wic/plugins/imager')
| -rw-r--r-- | scripts/lib/wic/plugins/imager/direct_plugin.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/lib/wic/plugins/imager/direct_plugin.py b/scripts/lib/wic/plugins/imager/direct_plugin.py index 17888e971c..1720f7bb20 100644 --- a/scripts/lib/wic/plugins/imager/direct_plugin.py +++ b/scripts/lib/wic/plugins/imager/direct_plugin.py | |||
| @@ -36,7 +36,7 @@ class DirectPlugin(ImagerPlugin): | |||
| 36 | name = 'direct' | 36 | name = 'direct' |
| 37 | 37 | ||
| 38 | @classmethod | 38 | @classmethod |
| 39 | def __rootfs_dir_to_dict(self, rootfs_dirs): | 39 | def __rootfs_dir_to_dict(cls, rootfs_dirs): |
| 40 | """ | 40 | """ |
| 41 | Gets a string that contain 'connection=dir' splitted by | 41 | Gets a string that contain 'connection=dir' splitted by |
| 42 | space and return a dict | 42 | space and return a dict |
| @@ -49,7 +49,7 @@ class DirectPlugin(ImagerPlugin): | |||
| 49 | return krootfs_dir | 49 | return krootfs_dir |
| 50 | 50 | ||
| 51 | @classmethod | 51 | @classmethod |
| 52 | def do_create(self, subcmd, opts, *args): | 52 | def do_create(cls, subcmd, opts, *args): |
| 53 | """ | 53 | """ |
| 54 | Create direct image, called from creator as 'direct' cmd | 54 | Create direct image, called from creator as 'direct' cmd |
| 55 | """ | 55 | """ |
| @@ -67,7 +67,7 @@ class DirectPlugin(ImagerPlugin): | |||
| 67 | image_output_dir = args[5] | 67 | image_output_dir = args[5] |
| 68 | oe_builddir = args[6] | 68 | oe_builddir = args[6] |
| 69 | 69 | ||
| 70 | krootfs_dir = self.__rootfs_dir_to_dict(rootfs_dir) | 70 | krootfs_dir = cls.__rootfs_dir_to_dict(rootfs_dir) |
| 71 | 71 | ||
| 72 | configmgr._ksconf = ksconf | 72 | configmgr._ksconf = ksconf |
| 73 | 73 | ||
