From f9d9cc87c59e309516c3e8db423715139f6a8f62 Mon Sep 17 00:00:00 2001 From: Cristiana Voicu Date: Wed, 12 Dec 2012 13:51:51 +0200 Subject: 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 Signed-off-by: Richard Purdie --- bitbake/lib/bb/command.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'bitbake/lib/bb/command.py') 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: filterfunc = params[0] bb.parse.parse_py.ConfHandler.confFilters.append(filterfunc) + def matchFile(self, command, params): + fMatch = params[0] + return command.cooker.matchFile(fMatch) + + def generateNewImage(self, command, params): + image = params[0] + base_image = params[1] + package_queue = params[2] + return command.cooker.generateNewImage(image, base_image, package_queue) + class CommandsAsync: """ A class of asynchronous commands -- cgit v1.2.3-54-g00ecf