. In a nutshell, it involved try using HOB to rebuild many times and add a package, save the customized .bb file, reload it and rebuild. You can play with the following scenarios: 1. pick core-minimal-image, bake, then back bake again, after repeating several times, I'm seeing the following print from the command line: Traceback (most recent call last): File "/home/jzhang/YBC/bitbake/lib/bb/ui/hob.py", line 468, in bake_clicked_cb self.handler.build_image(image_name, self.configurator) File "/home/jzhang/YBC/bitbake/lib/bb/ui/crumbs/hobeventhandler.py", line 259, in build_image if self.image_dir in bbpath.split(":"): AttributeError: 'bool' object has no attribute 'split' I put print statement, seems somewhere along the way BBPATH value will be changed to "True". But once you hit this error, if you keep click on "Bake" eventually the correct BBPATH will be restored and you can do another build... 2. I add acl-dbg into my core-image-minimal, save the customization, then restart hob, I see following 2 issues: a. Even though after reload the customized .bb file, I see core-image-minimal is selected, when I hit bake, it'll complain empty image b. After I do reset then build, I'm starting to see the following from cml: Traceback (most recent call last): File "/home/jzhang/YBC/bitbake/lib/bb/ui/hob.py", line 498, in build_complete_cb os.remove(f) OSError: [Errno 2] No such file or directory: '/tmp/hob-images/hob-core-image-minimal-variant-2011-09-08.bb' 3. After seeing the above issues, when I start hob, it'll complain on the cml that parser can't parse BBFILES value since there're self reference, and I've noticed this is due to more following entries got into hob-post file: BBFILES := "${BBFILES} /tmp/hob-images/*.bb" And with following patch : diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/cru index 66dffac..de5fea0 100644 --- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py +++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py @@ -277,7 +277,7 @@ class HobHandler(gobject.GObject): else: nbbf = None - if not bbfiles_ok or not bbpath_ok: + if not bbfiles_ok and not bbpath_ok: configurator.insertTempBBPath(nbbp, nbbf) Again, all the problem will start showing after you use hob for several iterations
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=3d09687196ec8596afad6b04bc5ff7efb594eaa7 http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=58570ec6a57b7e50e72066dc8f459ba9279d1752 http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=684a7c655ba002bb657f93b4976625adde6ba3f7 http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=826a53adf65aaf709383b8b8caed7b99d20f8909