]> code.ossystems Code Review - openembedded-core.git/commitdiff
logrotate: set downloadfilename
authorRobert Yang <liezhi.yang@windriver.com>
Mon, 17 Apr 2017 09:49:27 +0000 (02:49 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 19 Apr 2017 09:16:23 +0000 (10:16 +0100)
Otherwise, the filename is r3-9-1.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/logrotate/logrotate_3.9.1.bb

index c938d9f65ea5b0c01f98bf4953f978a4695d6842..3773170bcb3c15b32e0d9c8c25af177a8230b3c7 100644 (file)
@@ -19,7 +19,7 @@ S = "${WORKDIR}/${BPN}-r3-9-1"
 
 UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases"
 
-SRC_URI = "https://github.com/${BPN}/${BPN}/archive/r3-9-1.tar.gz \
+SRC_URI = "https://github.com/${BPN}/${BPN}/archive/r3-9-1.tar.gz;downloadfilename=${BP}.tar.gz\
            file://act-as-mv-when-rotate.patch \
            file://update-the-manual.patch \
            file://disable-check-different-filesystems.patch \