diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-02-08 20:51:33 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-15 20:06:44 -0800 |
commit | 7cb17e3e9ecd82764ed317f221bc60127dad197d (patch) | |
tree | 0b1c4c92ef8bc50a72933532d9f336f907f65f97 /scripts/lib/wic/plugins | |
parent | 74aee7a1a7b584e062d7294c9a0263c5dbbe425d (diff) | |
download | poky-7cb17e3e9ecd82764ed317f221bc60127dad197d.tar.gz |
wic: remove unused argument scripts_path
There is no need to pass scripts_path from main wic module
down the stack as it's not used there.
Removed scripts_path argument from DirectPlugin class
and wic_create function.
(From OE-Core rev: f9f72c506befdff13260f37ded0beaea3aa30fad)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/plugins')
-rw-r--r-- | scripts/lib/wic/plugins/imager/direct.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/wic/plugins/imager/direct.py b/scripts/lib/wic/plugins/imager/direct.py index c399d476da..a9144e2f4b 100644 --- a/scripts/lib/wic/plugins/imager/direct.py +++ b/scripts/lib/wic/plugins/imager/direct.py | |||
@@ -68,7 +68,7 @@ class DirectPlugin(ImagerPlugin): | |||
68 | name = 'direct' | 68 | name = 'direct' |
69 | 69 | ||
70 | def __init__(self, wks_file, rootfs_dir, bootimg_dir, kernel_dir, | 70 | def __init__(self, wks_file, rootfs_dir, bootimg_dir, kernel_dir, |
71 | native_sysroot, scripts_path, oe_builddir, options): | 71 | native_sysroot, oe_builddir, options): |
72 | try: | 72 | try: |
73 | self.ks = KickStart(wks_file) | 73 | self.ks = KickStart(wks_file) |
74 | except KickStartError as err: | 74 | except KickStartError as err: |