]> code.ossystems Code Review - openembedded-core.git/commit
populate_sdk_base/image: Fix races for variable mappings
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 4 Mar 2013 17:43:41 +0000 (17:43 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 5 Mar 2013 12:29:46 +0000 (12:29 +0000)
commit90cfa16bd4a02ada84ef94f6ae6f182beb8bdc01
treef1053c3f9556ba5fda35d8b696c5020dcc70e344
parentaef171f824659b255b0ed2f6430bb757fc26f9c2
populate_sdk_base/image: Fix races for variable mappings

When using the -c populate_sdk option, images are not generated quite as
they should be under certain circumstances. For example the dropbear
feature may not get replaced with openssh, leading to both being installed
with an appropriate rootfs failure.

This patch moves the remapping logic to later points in the code, ensuring
there is no conflict. The result is slightly simpler too as an added bonus.

[YOCTO #3749]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image.bbclass
meta/classes/populate_sdk_base.bbclass