[yocto] Passing more than one md5sum in yocto

Rohit2 Jindal rohit2.jindal at aricent.com
Thu Dec 26 04:12:02 PST 2013


Thanks for your prompt reply!!


Please help me out how to add a new function task in yocto.

Actually I want to add function that create links after all dopopulate sysroot function finished .How to add my function

Regards,
Rohit Jindal

-----Original Message-----
From: Marko Lindqvist [mailto:cazfi74 at gmail.com]
Sent: Wednesday, December 25, 2013 5:18 PM
To: Rohit2 Jindal
Cc: yocto at yoctoproject.org; Paul Eggleton
Subject: Re: [yocto] Passing more than one md5sum in yocto

On 25 December 2013 13:37, Rohit2 Jindal <rohit2.jindal at aricent.com> wrote:
> Hi,
>
> Can u suggest me a way that we can pass more than one md5sum in yocto
> for two different sources to be downloaded.
>
>
>
> SRC_URI = "\
>
>      http://ftp.gnu.org/gnu/glibc/glibc-ports-2.13.tar.gz\
>
>         http://ftp.gnu.org/gnu/glibc/glibc-2.13.tar.gz\
>
> "
>
> SRC_URI[md5sum] = "094e3c9b57da605917a780ab24575187"
>
> SRC_URI[sha256sum] =
> "41cbdc05bd7b233464d649b59b34405e5bf3998522640b9f98f2c4eb91e87322"
>
> SRC_URI[md5sum] = "fafabe01cb9748acb0a11a6879ebaa7e"
>
> SRC_URI[sha256sum] =
> "bd90d6119bcc2898befd6e1bbb2cb1ed3bb1c2997d5eaa6fdbca4ee16191a906"
>
>
>
> I want to do like this but everytime it gives error due to glibc-ports
> it say mismatch of md5sum as it consider md5sum as fafb…
>
>
>
>
>
> I tried to make it separated but that also doesnot work
>
>
>
>
>
> SRC_URI = "\
>
>
> https://launchpad.net/glibc/head/2.13/+download/glibc-ports-2.13.tar.gz"
>
>
>
>
>
> SRC_URI[md5sum] = "094e3c9b57da605917a780ab24575187"
>
> SRC_URI[sha256sum] =
> "41cbdc05bd7b233464d649b59b34405e5bf3998522640b9f98f2c4eb91e87322"
>
>
>
> SRC_URI +=
> "https://launchpad.net/glibc/head/2.13/+download/glibc-2.13.tar.gz”
>
> SRC_URI[md5sum] += "fafabe01cb9748acb0a11a6879ebaa7e"
>
> SRC_URI[sha256sum] +=
> "bd90d6119bcc2898befd6e1bbb2cb1ed3bb1c2997d5eaa6fdbca4ee16191a906"
>
>
>
>
>
> Please help me out suggesting the proper way.
>
>
>
> Regards,
>
> Rohit Jindal
>

 See readline_6.2.bb for an example.

 You give each source package a name property like:
 SRC_URI = "https://launchpad.net/glibc/head/2.13/+download/glibc-2.13.tar.gz;name=glibc
\

https://launchpad.net/glibc/head/2.13/+download/glibc-ports-2.13.tar.gz;name=ports"


 and specify checksums to for these names

 SRC_URI[glibc.md5sum] = "..."
 SRC_URI[glibc.sha256sum = "..."
 SRC_URI[ports.md5sum] = "..."
 SRC_URI[ports.sha256.sum] = "...




 - ML




===============================================================================
Please refer to http://www.aricent.com/legal/email_disclaimer.html
for important disclosures regarding this electronic communication.
===============================================================================


More information about the yocto mailing list