diff options
Diffstat (limited to 'bitbake/lib/bb/command.py')
| -rw-r--r-- | bitbake/lib/bb/command.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py index c842497e63..0fed25a3ed 100644 --- a/bitbake/lib/bb/command.py +++ b/bitbake/lib/bb/command.py | |||
| @@ -200,6 +200,16 @@ class CommandsSync: | |||
| 200 | filterfunc = params[0] | 200 | filterfunc = params[0] |
| 201 | bb.parse.parse_py.ConfHandler.confFilters.append(filterfunc) | 201 | bb.parse.parse_py.ConfHandler.confFilters.append(filterfunc) |
| 202 | 202 | ||
| 203 | def matchFile(self, command, params): | ||
| 204 | fMatch = params[0] | ||
| 205 | return command.cooker.matchFile(fMatch) | ||
| 206 | |||
| 207 | def generateNewImage(self, command, params): | ||
| 208 | image = params[0] | ||
| 209 | base_image = params[1] | ||
| 210 | package_queue = params[2] | ||
| 211 | return command.cooker.generateNewImage(image, base_image, package_queue) | ||
| 212 | |||
| 203 | class CommandsAsync: | 213 | class CommandsAsync: |
| 204 | """ | 214 | """ |
| 205 | A class of asynchronous commands | 215 | A class of asynchronous commands |
