Closed mpchst closed 11 years ago
NAK, you're changing DEPLOY_DIR_IMAGE to DEPLOYDIR in that commit.
Well, that's the point. Since you inherit from deploy.bbclass here, you rely on the state cache implementation to copy the files from DEPLOYDIR to DEPLOY_DIR_IMAGE.
For comparison, I got the inspiration for this bug from oe-core's x-load recipe: https://github.com/openembedded/oe-core/blob/master/meta/recipes-bsp/x-load/x-load.inc
That one also inherits from deploy.bbclass and works just fine.
Another approach to fix the issue is to remove the "inherit deploy" line, and thus, avoid all interaction with the state cache (at least for the deploy task).
When running a build from a populated state cache, the u-boot and MLO was not been created in the DEPLOY_DIR_IMAGE directory. This fixes it by copying to and symlinking in DEPLOYDIR and letting the state cache implementation copy it to the final DEPLOY_DIR_IMAGE folder.