From ba3aef9b06c5fdb2b9cc5bf43915886f3fa313a7 Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Thu, 14 Jul 2011 15:25:59 -0700 Subject: command|cooker: Add reparseFiles command Add command reparseFiles to reparse bb files in a running cooker instance. Fixes [YOCTO #1249] (Bitbake rev: de035ad99feb7644f99ad54804bf9f98cc776877) Signed-off-by: Joshua Lock Signed-off-by: Richard Purdie --- bitbake/lib/bb/command.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'bitbake/lib/bb/command.py') diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py index a902da2ce8..893a6d9070 100644 --- a/bitbake/lib/bb/command.py +++ b/bitbake/lib/bb/command.py @@ -311,6 +311,14 @@ class CommandsAsync: command.finishAsyncCommand() parseFiles.needcache = True + def reparseFiles(self, command, params): + """ + Reparse .bb files + """ + command.cooker.reparseFiles() + command.finishAsyncCommand() + reparseFiles.needcache = True + def compareRevisions(self, command, params): """ Parse the .bb files -- cgit v1.2.3-54-g00ecf