[OE-core] [PATCH v5 00/53] Rootfs/image generation refactoring (cover letter only)
David Nyström
david.c.nystrom at gmail.com
Tue Feb 11 08:56:33 UTC 2014
On 2014-02-11 09:50, Laurentiu Palcu wrote:
> Hi David,
>
> On Tue, Feb 11, 2014 at 09:42:49AM +0100, David Nyström wrote:
>> File: '/media/sdb5/poky-contrib/meta/lib/oe/image.py', lineno: 158,
>> function: _write_script
>> 0154: self.d.setVarFlag('img_creation_func', 'func', 1)
>> 0155: self.d.setVarFlag('img_creation_func', 'fakeroot', 1)
>> 0156:
>> 0157: with open(script_name, "w+") as script:
>> *** 0158: script.write("%s" % bb.build.shell_trap_code())
>> 0159: script.write("export ROOTFS_SIZE=%d\n" %
>> self._get_rootfs_size())
>> 0160: bb.data.emit_func('img_creation_func', script,
>> self.d)
>> 0161: script.write("img_creation_func\n")
>> 0162:
>> Exception: AttributeError: 'module' object has no attribute
>> 'shell_trap_code'
> I guess you're missing this commit:
>
> bitbake: build.py: create separate function for shell trap creation code
>
> which is already in master.
Thanks,
David
> laurentiu
>
>
>>
>> ERROR: Function failed: do_rootfs
>> ERROR: Logfile of failure stored in: /media/sdb5/bld/tmp/work/qemuppc-poky-linux/core-image-minimal/1.0-r0/temp/log.do_rootfs.9994
>> ERROR: Task 6 (/media/sdb5/poky-contrib/meta/recipes-core/images/core-image-minimal.bb,
>> do_rootfs) failed with exit code '1'
>>
>>
>>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
More information about the Openembedded-core
mailing list