From 98555dd5a0d0e5285b10490c003937e39f389d47 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 4 Mar 2008 00:28:55 +0000 Subject: bitbake: Sync bbimage with upstream git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3895 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- bitbake/bin/bbimage | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bitbake/bin') diff --git a/bitbake/bin/bbimage b/bitbake/bin/bbimage index fdc4176..96b7dca 100755 --- a/bitbake/bin/bbimage +++ b/bitbake/bin/bbimage @@ -79,6 +79,11 @@ if cfg_bb is None: fatal("Unable to open/parse %s" % os.path.join('conf', 'bitbake.conf')) usage(1) +# Handle any INHERITs and inherit the base class +inherits = ["base"] + (bb.data.getVar('INHERIT', cfg_bb, True ) or "").split() +for inherit in inherits: + cfg_bb = bb.parse.handle(os.path.join('classes', '%s.bbclass' % inherit), cfg_bb, True ) + rootfs = None extra_files = [] -- cgit v1.1