The do_prepsources task runs after do_unpack at which point the
${S}/patches directory has been created. In the last step of
do_prepsources, code should be copied over to ${S} by the release.sh
script. However, this script silently fails if the target directory
(${S}) is not empty---it contains the 'patches' directory. The
failure manifests in the do_patch step when trying to applying patches
against the source which wasn't populated by release.sh.
Here, we pre-emptively clean out the directory release.sh intends to
use. The patch directory is re-created by the do_patch step.
Signed-off-by: Ash Charles <[email protected]>
---
recipes-ti/dmai/ti-dmai.inc | 1 +
1 file changed, 1 insertion(+)
diff --git a/recipes-ti/dmai/ti-dmai.inc b/recipes-ti/dmai/ti-dmai.inc
index 58955b5..f81b4cf 100644
--- a/recipes-ti/dmai/ti-dmai.inc
+++ b/recipes-ti/dmai/ti-dmai.inc
@@ -74,6 +74,7 @@ do_prepsources() {
chmod a+x
${WORKDIR}/${DMAIBRANCH}/davinci_multimedia_application_interface/release.sh
chmod a+x
${WORKDIR}/${DMAIBRANCH}/davinci_multimedia_application_interface/tdox
sed -i 's|tdox|./tdox|g'
${WORKDIR}/${DMAIBRANCH}/davinci_multimedia_application_interface/release.sh
+ rm -rf
${WORKDIR}/${DMAIBRANCH}/davinci_multimedia_application_interface/dmai_${PV}/*
(cd ${WORKDIR}/${DMAIBRANCH}/davinci_multimedia_application_interface;
./release.sh ${PV})
}
--
1.8.3.2
--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti