There were three problems with saving and copying the
defconfig in the configure phase:
1) the deploy directory may not exist by the time it's
copied, and
2) it was wrong in the first place to deploy anything in the
configure phase, and
3) DEPLOY_DIR_IMAGE should not be used in do_deploy, anyway.
This patch moves that whole operation to the deploy phase,
using the right DEPLOYDIR mechanism (sstate-safe).
There were three problems with saving and copying the defconfig in the configure phase: 1) the deploy directory may not exist by the time it's copied, and 2) it was wrong in the first place to deploy anything in the configure phase, and 3) DEPLOY_DIR_IMAGE should not be used in do_deploy, anyway.
This patch moves that whole operation to the deploy phase, using the right DEPLOYDIR mechanism (sstate-safe).
Signed-off-by: Daniel Díaz daniel.diaz@linaro.org