[poky] Source package with wrong directory in it
Laurentiu Palcu
laurentiu.palcu at intel.com
Tue Dec 3 23:42:33 PST 2013
On Wed, Dec 04, 2013 at 06:34:49AM +0000, Keskinarkaus, Teemu wrote:
> Hi,
>
>
>
> This might be another user issue and not poky issue itself, but hopefully
> someone could help me here.
>
>
>
> Usually when I download source package and unpack it will unpack itself to in
> directory name-version (eg. program-1.2.3) and yocto also assumes so. Well, I
> have managed to find one program that doesn’t have the version part of the
> directory name and haven’t been able to redirect the yocto/poky to use that
> program-directory without version to build the program.
>
>
>
> Is there a way to do that within the recipe and not needing to touch the
> class-files? And this is program that’s not originally in yocto so it’s .bb and
> not .bbappend – file.
Did you try to set S = ${WORKDIR}/program-blah-blah in the recipe?
Here's an example:
meta/recipes-extended/zip/zip_3.0.bb
I hope this helps,
Laurentiu
>
>
>
> And I don’t want to start repacking the software or trying to convince the
> author to rename the package since there might be other similar sources as
> well.
>
>
>
> Teemu Keskinarkaus
>
>
>
>
>
> ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
>
> Actuant Corporation Email Notice
>
> This message is intended only for the use of the Addressee and may contain
> information that is PRIVILEGED and/or CONFIDENTIAL.
> This email is intended only for the personal and confidential use of the
> recipient(s) named above. If the reader of this email is not an intended
> recipient, you have received this email in error and any review, dissemination,
> distribution or copying is strictly prohibited.
> If you have received this email in error, please notify the sender immediately
> by return mail and permanently delete the copy you received.
>
> Thank you.
> _______________________________________________
> poky mailing list
> poky at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
More information about the poky
mailing list