Building logrotate for older releases is broken (was: RE: [PATCH 1/1] logrotate: set downloadfilename)
Quoted 29 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Robert Yang
Sent: den 17 april 2017 11:49
To: [email protected]
Subject: [OE-core] [PATCH 1/1] logrotate: set downloadfilenameOtherwise, the filename is r3-9-1.tar.gz which isn't straightforward.
Signed-off-by Robert Yang <[email protected]>--- meta/recipes-extended/logrotate/logrotate_3.9.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/recipes-extended/logrotate/logrotate_3.9.1.bb +1
-2@@ -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 \ --
Quoted 1 line
2.10.2
The integration of this patch into OE-Core has broken building old releases that rely on fetching the logrotate-3.9.1.tar.gz tar ball with MD5 checksum 4492b145b6d542e4a2f41e77fa199ab0 from the mirror at http://downloads.yoctoproject.org/mirror/sources/. Can you please change the recipe to not call the downloaded tar ball the same name as it had in Jethro, Krogoth and Morty (given that the checksums do not match), and then restore the original tar ball in the mirror?
Without this correction, it is impossible to recreate old builds based on either of the Jethro, Krogoth and Morty releases without doing manual fixes.
//Peter
Quoted 8 lines · Peter Kjellerstedt
The integration of this patch into OE-Core has broken building old releases that rely on fetching the logrotate-3.9.1.tar.gz tar ball with MD5 checksum
4492b145b6d542e4a2f41e77fa199ab0from the mirror at http://downloads.yoctoproject.org/mirror/sources/. Can you please change the recipe to not call the downloaded tar ball the same name as it had in Jethro, Krogoth and Morty (given that the checksums do not match), and then restore the original tar ball in the mirror?
Eek, of course. :(
Staged a revert locally for pyro/master.
Michael, would it be possible to restore this older logrotate tarball to the mirror? We might need donations of a tarball...
Ross
Re: Building logrotate for older releases is broken
Quoted 14 lines · Ross
On 20 April 2017 at 13:51, Peter Kjellerstedt <[email protected] <mailto:[email protected]>> wrote:
The integration of this patch into OE-Core has broken building old releases that rely on fetching the logrotate-3.9.1.tar.gz tar ball with MD5 checksum
4492b145b6d542e4a2f41e77fa199ab0from the mirror at http://downloads.yoctoproject.org/mirror/sources/
<http://downloads.yoctoproject.org/mirror/sources/>. Can you please change the recipe to not call the downloaded tar ball the same name as it had in Jethro, Krogoth and Morty (given that the checksums do not match), and then restore the original tar ball in the mirror?
Quoted 7 lines
Eek, of course. :(
Staged a revert locally for pyro/master.
Michael, would it be possible to restore this older logrotate tarball to the mirror? We might need donations of a tarball...
I've restored "4492b145b6d542e4a2f41e77fa199ab0 logrotate-3.9.1.tar.gz" on downloads.yoctoproject.org and set it so it can't be overwritten.
Please let me know if anything else is required.
Quoted 1 line
Ross
Signature · 2 lines
Michael Halstead Linux Foundation / SysAdmin
Re: Building logrotate for older releases is broken
Quoted 5 lines · Michael Halstead
I've restored "
4492b145b6d542e4a2f41e77fa199ab0logrotate-3.9.1.tar.gz" on downloads.yoctoproject.org and set it so it can't be overwritten.Please let me know if anything else is required.
Thanks Michael!
Ross