diff options
| author | Cristiana Voicu <cristiana.voicu@intel.com> | 2012-12-12 13:51:51 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-12-14 13:08:49 +0000 |
| commit | f9d9cc87c59e309516c3e8db423715139f6a8f62 (patch) | |
| tree | eeed21d7dbd0fce3da1e4d9d30d38155a576b473 /bitbake/lib/bb/command.py | |
| parent | a947b547d0a5f247e39cbc0fae88c0de5438aa7b (diff) | |
| download | poky-f9d9cc87c59e309516c3e8db423715139f6a8f62.tar.gz | |
bitbake: hob/bitbake: custom image is now using the base image
Till now, a custom image made in Hob was using only the packages from
the base image. Now it is using everything declared in the base image.
Also next to hob-image.bb, it creates another .bb file which is used
in building process. Those images are ignored by git.
[YOCTO #2601]
(Bitbake rev: 22007cf71a00fbb03b40f97201a6eb06c9aebd16)
Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 |
