From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from song.cn.fujitsu.com (unknown [222.73.24.84]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id E8F5AE013A2 for ; Mon, 27 May 2013 00:24:57 -0700 (PDT) X-IronPort-AV: E=Sophos;i="4.87,749,1363104000"; d="scan'208,217";a="7377328" Received: from unknown (HELO tang.cn.fujitsu.com) ([10.167.250.3]) by song.cn.fujitsu.com with ESMTP; 27 May 2013 15:22:00 +0800 Received: from fnstmail02.fnst.cn.fujitsu.com (tang.cn.fujitsu.com [127.0.0.1]) by tang.cn.fujitsu.com (8.14.3/8.13.1) with ESMTP id r4R7OoQv007731; Mon, 27 May 2013 15:24:50 +0800 Received: from [127.0.0.1] ([10.167.226.197]) by fnstmail02.fnst.cn.fujitsu.com (Lotus Domino Release 8.5.3) with ESMTP id 2013052715232407-1554018 ; Mon, 27 May 2013 15:23:24 +0800 Message-ID: <51A30A7F.9080901@cn.fujitsu.com> Date: Mon, 27 May 2013 15:25:51 +0800 From: Li Zhijian Organization: fnst-ulinux User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: Nicolas Dechesne References: <51A2F1DC.6010307@cn.fujitsu.com> In-Reply-To: X-MIMETrack: Itemize by SMTP Server on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2013/05/27 15:23:24, Serialize by Router on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2013/05/27 15:23:24, Serialize complete at 2013/05/27 15:23:24 Cc: Yocto list discussion Subject: Re: How to modify SRC_URI[md5sum] if there are mutil remote files X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2013 07:24:58 -0000 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=ISO-8859-1
resolved.
thanks


at 2013-5-27 14:52, Nicolas Dechesne wrote:

On Mon, May 27, 2013 at 7:40 AM, Li Zhijian <lizhijian@cn.fujitsu.com> wrote:
I modified as follows ,but it don't work.

--- a/meta-oe/recipes-support/ntp/ntp.inc
+++ b/meta-oe/recipes-support/ntp/ntp.inc
@@ -20,6 +20,9 @@ SRC_URI = "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-${PV}.tar.g
file://ntpdate.default \
file://ntp.keys \
"
+SRC_URI[md5sum] = "00df80a84ec9528fcfb09498075525bc"
+SRC_URI[sha256sum] = "d6ab8371f9d31e594eb6922823d5ccd03dcc4e9d84b0e23ea25ac1405432f91c"
+SRC_URI += "http://jaist.dl.sourceforge.net/project/ictom/ntpstat-0.2.tar.gz "
+SRC_URI[md5sum] += "516847d99a772305cab711339998f9ea"
+SRC_URI[sha256sum] += "486fdfceb38590a9ff52ab8de1cc1ec4fc696f2e94da992e9ccf30157c32f01e"


Any help or ideas?

you should have a look at:


or


and for more examples, you can run 
$ git grep "\.md5sum" 

in the OE-core tree.

basically, the idea is to 'name' each of your sources, and refer them as <name>.md5sum



-- 
Best regards.
Li Zhijian