diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2015-10-11 19:12:56 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-01 21:32:04 +0000 |
commit | 3f46af2b1923cbfd3af0b8ce3c360eb34f316dfc (patch) | |
tree | c16745171141cd56d7425fa1bc59cb2c030a26ef | |
parent | 176211abebb875324d2300ec0362b64231668964 (diff) | |
download | poky-3f46af2b1923cbfd3af0b8ce3c360eb34f316dfc.tar.gz |
devtool: drop unused plugin_init() functions
This function is no longer required to be defined for a plugin, so drop
it where it's a no-op.
(From OE-Core rev: 49716a5e27e704598321bd6c82275b16afc444aa)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | scripts/lib/devtool/build.py | 4 | ||||
-rw-r--r-- | scripts/lib/devtool/package.py | 4 | ||||
-rw-r--r-- | scripts/lib/devtool/sdk.py | 4 | ||||
-rw-r--r-- | scripts/lib/devtool/upgrade.py | 4 | ||||
-rw-r--r-- | scripts/lib/recipetool/newappend.py | 5 |
5 files changed, 0 insertions, 21 deletions
diff --git a/scripts/lib/devtool/build.py b/scripts/lib/devtool/build.py index 9b58858a62..62d8599aeb 100644 --- a/scripts/lib/devtool/build.py +++ b/scripts/lib/devtool/build.py | |||
@@ -25,10 +25,6 @@ from devtool import exec_build_env_command, check_workspace_recipe, DevtoolError | |||
25 | 25 | ||
26 | logger = logging.getLogger('devtool') | 26 | logger = logging.getLogger('devtool') |
27 | 27 | ||
28 | def plugin_init(pluginlist): | ||
29 | """Plugin initialization""" | ||
30 | pass | ||
31 | |||
32 | def _create_conf_file(values, conf_file=None): | 28 | def _create_conf_file(values, conf_file=None): |
33 | if not conf_file: | 29 | if not conf_file: |
34 | fd, conf_file = tempfile.mkstemp(suffix='.conf') | 30 | fd, conf_file = tempfile.mkstemp(suffix='.conf') |
diff --git a/scripts/lib/devtool/package.py b/scripts/lib/devtool/package.py index 53d3dc7a38..a296fce9b1 100644 --- a/scripts/lib/devtool/package.py +++ b/scripts/lib/devtool/package.py | |||
@@ -24,10 +24,6 @@ from devtool import exec_build_env_command, setup_tinfoil, check_workspace_recip | |||
24 | 24 | ||
25 | logger = logging.getLogger('devtool') | 25 | logger = logging.getLogger('devtool') |
26 | 26 | ||
27 | def plugin_init(pluginlist): | ||
28 | """Plugin initialization""" | ||
29 | pass | ||
30 | |||
31 | def package(args, config, basepath, workspace): | 27 | def package(args, config, basepath, workspace): |
32 | """Entry point for the devtool 'package' subcommand""" | 28 | """Entry point for the devtool 'package' subcommand""" |
33 | check_workspace_recipe(workspace, args.recipename) | 29 | check_workspace_recipe(workspace, args.recipename) |
diff --git a/scripts/lib/devtool/sdk.py b/scripts/lib/devtool/sdk.py index 7a842afc24..85c0fb1729 100644 --- a/scripts/lib/devtool/sdk.py +++ b/scripts/lib/devtool/sdk.py | |||
@@ -11,10 +11,6 @@ from devtool import exec_build_env_command, setup_tinfoil, DevtoolError | |||
11 | 11 | ||
12 | logger = logging.getLogger('devtool') | 12 | logger = logging.getLogger('devtool') |
13 | 13 | ||
14 | def plugin_init(pluginlist): | ||
15 | """Plugin initialization""" | ||
16 | pass | ||
17 | |||
18 | def parse_locked_sigs(sigfile_path): | 14 | def parse_locked_sigs(sigfile_path): |
19 | """Return <pn:task>:<hash> dictionary""" | 15 | """Return <pn:task>:<hash> dictionary""" |
20 | sig_dict = {} | 16 | sig_dict = {} |
diff --git a/scripts/lib/devtool/upgrade.py b/scripts/lib/devtool/upgrade.py index 86d1214908..d7fd408a2e 100644 --- a/scripts/lib/devtool/upgrade.py +++ b/scripts/lib/devtool/upgrade.py | |||
@@ -33,10 +33,6 @@ from devtool import exec_build_env_command, setup_tinfoil, DevtoolError, parse_r | |||
33 | 33 | ||
34 | logger = logging.getLogger('devtool') | 34 | logger = logging.getLogger('devtool') |
35 | 35 | ||
36 | def plugin_init(pluginlist): | ||
37 | """Plugin initialization""" | ||
38 | pass | ||
39 | |||
40 | def _run(cmd, cwd=''): | 36 | def _run(cmd, cwd=''): |
41 | logger.debug("Running command %s> %s" % (cwd,cmd)) | 37 | logger.debug("Running command %s> %s" % (cwd,cmd)) |
42 | return bb.process.run('%s' % cmd, cwd=cwd) | 38 | return bb.process.run('%s' % cmd, cwd=cwd) |
diff --git a/scripts/lib/recipetool/newappend.py b/scripts/lib/recipetool/newappend.py index 77b74cb730..4eeac0e943 100644 --- a/scripts/lib/recipetool/newappend.py +++ b/scripts/lib/recipetool/newappend.py | |||
@@ -32,11 +32,6 @@ logger = logging.getLogger('recipetool') | |||
32 | tinfoil = None | 32 | tinfoil = None |
33 | 33 | ||
34 | 34 | ||
35 | def plugin_init(pluginlist): | ||
36 | # Don't need to do anything here right now, but plugins must have this function defined | ||
37 | pass | ||
38 | |||
39 | |||
40 | def tinfoil_init(instance): | 35 | def tinfoil_init(instance): |
41 | global tinfoil | 36 | global tinfoil |
42 | tinfoil = instance | 37 | tinfoil = instance |