]> code.ossystems Code Review - openembedded-core.git/commit
module.bbclass: add lock to prevent error bulding ext modules
authorAnders Darander <anders@chargestorm.se>
Wed, 19 Oct 2011 11:15:19 +0000 (13:15 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 20 Oct 2011 12:07:15 +0000 (13:07 +0100)
commit8681b82e8b466929205edde7ba479f3ac1a6143e
tree4468ab9e7840da492f535dbcd2ec22dc143e63f3
parenta1d89422cc956e9bf08c1eac6a781ea1170e3860
module.bbclass: add lock to prevent error bulding ext modules

When external modules are built, files in $STAGING_KERNEL_DIR/scripts/basic will/can get
rebuilt.
This raises a potential race condition. Prevent this by adding a lock around the
do_make_scripts() function. Further, make sure that the kernel has been installed
to the sysroot, prior to executing this new task.

Signed-off-by: Anders Darander <anders@chargestorm.se>
meta/classes/module.bbclass