On 1 March 2014 17:46, Mike Looijmans <[email protected]> wrote: > I get this mysterious error at rootfs after updating to current master: > > Exception: AttributeError: 'module' object has no attribute > 'shell_trap_code' > > > I haven't been following OE for a while, so I have no clue as to what caused > this. > > Stack trace: > > File: '/media/work/master-next/openembedded-core/meta/lib/oe/image.py', > lineno: 248, function: _write_script > 0244: self.d.setVarFlag('img_creation_func', 'func', 1) > 0245: self.d.setVarFlag('img_creation_func', 'fakeroot', 1) > 0246: > 0247: with open(script_name, "w+") as script: > *** 0248: script.write("%s" % bb.build.shell_trap_code()) > 0249: script.write("export ROOTFS_SIZE=%d\n" % > self._get_rootfs_size()) > 0250: bb.data.emit_func('img_creation_func', script, self.d) > 0251: script.write("img_creation_func\n") > 0252: >
As a quick stab-in-the-dark guess: Are you using the current master of Bitbake to build this? Each branch of OpenEmbedded has a corresponding branch of Bitbake, OE master requires Bitbake master. -- Paul Barker Email: [email protected] http://www.paulbarker.me.uk _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
