[OE-core] rootfs fails to build in current master

Mike Looijmans mike.looijmans at topic.nl
Sat Mar 1 17:46:26 UTC 2014


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:



-- 
Mike Looijmans



More information about the Openembedded-core mailing list