]> code.ossystems Code Review - openembedded-core.git/commitdiff
pigz: set downloadfilename
authorRobert Yang <liezhi.yang@windriver.com>
Mon, 20 Feb 2017 03:00:42 +0000 (19:00 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Feb 2017 20:29:18 +0000 (12:29 -0800)
Otherwise, the filename is v${PV}.tar.gz which isn't straightforward.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-extended/pigz/pigz_2.3.4.bb

index 53c56c59479c4a21f30a828608314c066ee89401..f4832dffe155a7100cbee8bf4a7c7dc71f6b8b2b 100644 (file)
@@ -3,7 +3,7 @@ LIC_FILES_CHKSUM = "file://pigz.c;beginline=7;endline=21;md5=a21d4075cb00ab4ca17
 
 UPSTREAM_CHECK_URI = "http://zlib.net/${BPN}/"
 UPSTREAM_CHECK_REGEX = "pigz-(?P<pver>.*)\.tar"
-SRC_URI = "https://github.com/madler/pigz/archive/v${PV}.tar.gz"
+SRC_URI = "https://github.com/madler/pigz/archive/v${PV}.tar.gz;downloadfilename=${BP}.tar.gz"
 SRC_URI[md5sum] = "c109057050b15edf3eb9bb4d0805235e"
 SRC_URI[sha256sum] = "763f2fdb203aa0b7b640e63385e38e5dd4e5aaa041bc8e42aa96f2ef156b06e8"