Setting S to a subdir of ${WORKDIR}/${P} as in S="${WORKDIR}/${P}/${PN}-core" will result in a failure as ${WORKDIR}/${P} doesn't exist yet. I suggest to move to ${WORKDIR}/${P} instead of ${S} so the above will work. Thanks.
That would be actually not the behavior we are looking for, I think? Any reason just not to add 'mkdir' for parents there and move the stuff to yours ${S}? Or are you just building a sub-tree of the tarball?
Yes, just building a subtree. The current solution is to not use vcs-snapshot.eclass I was of the impression setting ${WORKDIR}/${P} was the intention all along and ${S} was used in an oversight. After all S defaults to ${WORKDIR}/${P} and using vcs-snapshot.eclass there is no need to touch S unless you are after a subtree.
(In reply to comment #2) > I was of the impression setting ${WORKDIR}/${P} was the intention all along > and ${S} was used in an oversight. After all S defaults to ${WORKDIR}/${P} > and using vcs-snapshot.eclass there is no need to touch S unless you are > after a subtree. Yes, you're probably right. I am going to submit a patch for review today and commit it soon if no-one objects.
(In reply to comment #3) > Yes, you're probably right. I am going to submit a patch for review today > and commit it soon if no-one objects. Thanks.
Ah, I've committed the change a few days ago and forgot to close the bug.
(In reply to comment #5) > Ah, I've committed the change a few days ago and forgot to close the bug. :), thanks.