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') diff --git a/bitbake/bin/bbimage b/bitbake/bin/bbimage index fdc417617b..96b7dca323 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.2.3