and of course for the subdirectory in the subdirectory where the recipe is located. The file fetcher copies the entire path myvideos-1.0/myvideos-1.0.tar.gz to ${WORKDIR}.
Rudi
that didn't solve the problem. I still get file not found errors. The videos are unpack to WORKDIR, but the do_install is looking for them in S.
I think I need to control where the do_unpack puts the files.
Just a dumb thought, but I have been bitten many times by it.
please try bitbake myvideos -c cleansstate
then bitbake myvideos to build the recipe.
Alternatively, you can of course rev up the PR everytime you change the recipe. But that is cumbersome.
And yes, I forgot to mention in my previous mail that the mypics-1.0.tar.gz is located in meta-autif/recipes-autif/mypics/mypics-1.0/mypics-1.0.tar.gz
As Rudolf suggested - bitbake is a bit finickey about '-' and '_'
I was doing a "bitbake -c cleanall myvideos" before each run of bitbake myvideos, but I just now tried bitbake myvideos -c cleansstate with no change in behavior.
It seems clear to me that do_unpack unpacks the tar.gz file to the
${WORKDIR}
but install is looking for them in
${WORKDIR}/${PN}-${PV}
Since S is not defined, I think the default is ${WORKDIR}/${PN}-${PV}
Not sure how to fix that.
Set S to be what you need in the recipe, e.g. S = "${WORKDIR}/jfabernathy-${PV}" or whatever it is you need
Thanks, I know I can change S, but I need to change where do_unpack puts the files. with them in WORKDIR, I can't just say WORKDIR/* because there are a lot of other files and directories at that level.
I need do_unpack to put the files from tar.gz into S for example.