diff options
Diffstat (limited to 'scripts/lib/wic/plugins')
-rw-r--r-- | scripts/lib/wic/plugins/imager/direct_plugin.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/lib/wic/plugins/imager/direct_plugin.py b/scripts/lib/wic/plugins/imager/direct_plugin.py index 07811bd26d..db01c411ba 100644 --- a/scripts/lib/wic/plugins/imager/direct_plugin.py +++ b/scripts/lib/wic/plugins/imager/direct_plugin.py | |||
@@ -62,7 +62,7 @@ class DirectPlugin(ImagerPlugin): | |||
62 | """ | 62 | """ |
63 | Create direct image, called from creator as 'direct' cmd | 63 | Create direct image, called from creator as 'direct' cmd |
64 | """ | 64 | """ |
65 | if len(args) != 7: | 65 | if len(args) != 8: |
66 | raise errors.Usage("Extra arguments given") | 66 | raise errors.Usage("Extra arguments given") |
67 | 67 | ||
68 | native_sysroot = args[0] | 68 | native_sysroot = args[0] |
@@ -75,6 +75,7 @@ class DirectPlugin(ImagerPlugin): | |||
75 | 75 | ||
76 | image_output_dir = args[5] | 76 | image_output_dir = args[5] |
77 | oe_builddir = args[6] | 77 | oe_builddir = args[6] |
78 | compressor = args[7] | ||
78 | 79 | ||
79 | krootfs_dir = cls.__rootfs_dir_to_dict(rootfs_dir) | 80 | krootfs_dir = cls.__rootfs_dir_to_dict(rootfs_dir) |
80 | 81 | ||
@@ -86,6 +87,7 @@ class DirectPlugin(ImagerPlugin): | |||
86 | bootimg_dir, | 87 | bootimg_dir, |
87 | kernel_dir, | 88 | kernel_dir, |
88 | native_sysroot, | 89 | native_sysroot, |
90 | compressor, | ||
89 | creatoropts) | 91 | creatoropts) |
90 | 92 | ||
91 | try: | 93 | try: |