protobuf-c: set downloadfilename
PATCH 1/1 protobuf-c: set downloadfilename
From: Jackie Huang <[email protected]>
Set downloadfilename to avoid the file name without package name like v{PV}.tar.gz.
--- meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb +1 -1
@@ -16,7 +16,7 @@ RDEPENDS_${PN}-compiler = "protobuf-compiler" RDEPENDS_${PN}-dev += "${PN}-compiler" LIC_FILES_CHKSUM = "file://LICENSE;md5=235c3195a3968524dc1524b4ebea0c0e" -SRC_URI = "https://github.com/protobuf-c/protobuf-c/archive/v${PV}.tar.gz" +SRC_URI = "https://github.com/protobuf-c/protobuf-c/archive/v${PV}.tar.gz;downloadfilename=${BP}.tar.gz" SRC_URI[md5sum] = "b884aeba4283309445a8e3b6e7322dd6" SRC_URI[sha256sum] = "2d708fb3c024b9e6e86df141faff802194f5db90a4b79e6d4aa6bd61dd983dd6"
Signature · 1 line
2.11.0
Change it to use git fetcher as github archives can be regenerated from time to time with different checksums.
Quoted 36 lines · On Mon, Sep 4, 2017 at 9:02 AM, <[email protected]> wrote:
From: Jackie Huang <[email protected]>
Set downloadfilename to avoid the file name without package name like v{PV}.tar.gz.
Signed-off-by Jackie Huang <[email protected]>--- meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb +0
-1@@ -16,7 +16,7 @@ RDEPENDS_${PN}-compiler = "protobuf-compiler" RDEPENDS_${PN}-dev += "${PN}-compiler" LIC_FILES_CHKSUM = "file://LICENSE;md5=235c3195a3968524dc1524b4ebea0c0e" -SRC_URI = "https://github.com/protobuf-c/protobuf-c/archive/v${PV}.tar.gz"
+SRC_URI = "https://github.com/protobuf-c/protobuf-c/archive/v${PV}. tar.gz;downloadfilename=${BP}.tar.gz"SRC_URI[md5sum] = "
b884aeba4283309445a8e3b6e7322dd6" SRC_URI[sha256sum] = "2d708fb3c024b9e6e86df141faff802194f5db90a4b79e6d4aa6bd61dd983dd6"
--
2.11.0--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Ok, v2 is sent for the change.
Thanks,
Jackie
From: Martin Jansa [mailto:[email protected]]
Sent: Monday, September 04, 2017 21:01
To: Huang, Jie (Jackie)
Cc: openembedded-devel
Subject: Re: [oe] [meta-oe][PATCH] protobuf-c: set downloadfilename
Change it to use git fetcher as github archives can be regenerated from time to time with different checksums.
On Mon, Sep 4, 2017 at 9:02 AM, <[email protected]<mailto:[email protected]>> wrote:
From: Jackie Huang <[email protected]<mailto:[email protected]>>
Set downloadfilename to avoid the file name without package name like v{PV}.tar.gz.
--- meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb<http://protobuf-c_1.2.1.bb> | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb<http://protobuf-c_1.2.1.bb> +1 -1
@@ -16,7 +16,7 @@ RDEPENDS_${PN}-compiler = "protobuf-compiler" RDEPENDS_${PN}-dev += "${PN}-compiler" LIC_FILES_CHKSUM = "file://LICENSE;md5=235c3195a3968524dc1524b4ebea0c0e<file:///\\LICENSE;md5=235c3195a3968524dc1524b4ebea0c0e>" -SRC_URI = "https://github.com/protobuf-c/protobuf-c/archive/v${PV}.tar.gz<https://github.com/protobuf-c/protobuf-c/archive/v$%7bPV%7d.tar.gz>" +SRC_URI = "https://github.com/protobuf-c/protobuf-c/archive/v${PV}.tar.gz;downloadfilename=${BP}.tar.gz<https://github.com/protobuf-c/protobuf-c/archive/v$%7bPV%7d.tar.gz;downloadfilename=$%7bBP%7d.tar.gz>" SRC_URI[md5sum] = "b884aeba4283309445a8e3b6e7322dd6" SRC_URI[sha256sum] = "2d708fb3c024b9e6e86df141faff802194f5db90a4b79e6d4aa6bd61dd983dd6"
--
2.11.0
--
_______________________________________________
Openembedded-devel mailing list [email protected]<mailto:[email protected]>
http://lists.openembedded.org/mailman/listinfo/openembedded-devel