Patchwork [meta-oe,1/2] evtest: Stop using Cgit based archive

login
register
mail settings
Submitter Otavio Salvador
Date Aug. 4, 2014, 6:38 p.m.
Message ID <1407177515-15086-1-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/77211/
State Accepted, archived
Headers show

Comments

Otavio Salvador - Aug. 4, 2014, 6:38 p.m.
The Cgit based archive may change depending on the order of images,
timestamp and like causing checksum to change.

This patch uses the same 1.25 version but fetching it using Git, so no
code changes are done.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 .../recipes-support/evtest/{evtest_1.25.bb => evtest_git.bb}  |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-support/evtest/{evtest_1.25.bb => evtest_git.bb} (55%)
Otavio Salvador - Aug. 4, 2014, 6:46 p.m.
Hello Martin,

On Mon, Aug 4, 2014 at 3:38 PM, Otavio Salvador <otavio@ossystems.com.br> wrote:
> The Cgit based archive may change depending on the order of images,
> timestamp and like causing checksum to change.
>
> This patch uses the same 1.25 version but fetching it using Git, so no
> code changes are done.
>
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>

Please queue this update for Daisy as well, as this is failing to
fetch currently (cced other Daisy maintainers).

Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Cliff Brake - Aug. 4, 2014, 9:26 p.m.
On Mon, Aug 4, 2014 at 2:46 PM, Otavio Salvador <otavio@ossystems.com.br> wrote:
> Hello Martin,
>
> On Mon, Aug 4, 2014 at 3:38 PM, Otavio Salvador <otavio@ossystems.com.br> wrote:
>> The Cgit based archive may change depending on the order of images,
>> timestamp and like causing checksum to change.
>>
>> This patch uses the same 1.25 version but fetching it using Git, so no
>> code changes are done.
>>
>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
>
> Please queue this update for Daisy as well, as this is failing to
> fetch currently (cced other Daisy maintainers).
>
> Acked-by: Otavio Salvador <otavio@ossystems.com.br>

Acked-by: Cliff Brake <cbrake@bec-systems.com>
Otavio Salvador - Aug. 11, 2014, 8:06 p.m.
Hello Martin,

On Mon, Aug 4, 2014 at 6:26 PM, Cliff Brake <cbrake@bec-systems.com> wrote:
> On Mon, Aug 4, 2014 at 2:46 PM, Otavio Salvador <otavio@ossystems.com.br> wrote:
>> Hello Martin,
>>
>> On Mon, Aug 4, 2014 at 3:38 PM, Otavio Salvador <otavio@ossystems.com.br> wrote:
>>> The Cgit based archive may change depending on the order of images,
>>> timestamp and like causing checksum to change.
>>>
>>> This patch uses the same 1.25 version but fetching it using Git, so no
>>> code changes are done.
>>>
>>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
>>
>> Please queue this update for Daisy as well, as this is failing to
>> fetch currently (cced other Daisy maintainers).
>>
>> Acked-by: Otavio Salvador <otavio@ossystems.com.br>
>
> Acked-by: Cliff Brake <cbrake@bec-systems.com>

Please merged this.
Paul Eggleton - Aug. 11, 2014, 8:25 p.m.
On Monday 11 August 2014 17:06:30 Otavio Salvador wrote:
> Hello Martin,
> 
> On Mon, Aug 4, 2014 at 6:26 PM, Cliff Brake <cbrake@bec-systems.com> wrote:
> > On Mon, Aug 4, 2014 at 2:46 PM, Otavio Salvador <otavio@ossystems.com.br> wrote:
> >> Hello Martin,
> >> 
> >> On Mon, Aug 4, 2014 at 3:38 PM, Otavio Salvador <otavio@ossystems.com.br> wrote:
> >>> The Cgit based archive may change depending on the order of images,
> >>> timestamp and like causing checksum to change.
> >>> 
> >>> This patch uses the same 1.25 version but fetching it using Git, so no
> >>> code changes are done.
> >>> 
> >>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> >> 
> >> Please queue this update for Daisy as well, as this is failing to
> >> fetch currently (cced other Daisy maintainers).
> >> 
> >> Acked-by: Otavio Salvador <otavio@ossystems.com.br>
> > 
> > Acked-by: Cliff Brake <cbrake@bec-systems.com>
> 
> Please merged this.

It's already merged:

http://cgit.openembedded.org/meta-openembedded/commit/?id=9c762b824cbf7ecd9ce7f7859d22ff89c59fa28d
Otavio Salvador - Aug. 11, 2014, 8:34 p.m.
On Mon, Aug 11, 2014 at 5:25 PM, Paul Eggleton
<paul.eggleton@linux.intel.com> wrote:
> On Monday 11 August 2014 17:06:30 Otavio Salvador wrote:
>> Hello Martin,
>>
>> On Mon, Aug 4, 2014 at 6:26 PM, Cliff Brake <cbrake@bec-systems.com> wrote:
>> > On Mon, Aug 4, 2014 at 2:46 PM, Otavio Salvador <otavio@ossystems.com.br> wrote:
>> >> Hello Martin,
>> >>
>> >> On Mon, Aug 4, 2014 at 3:38 PM, Otavio Salvador <otavio@ossystems.com.br> wrote:
>> >>> The Cgit based archive may change depending on the order of images,
>> >>> timestamp and like causing checksum to change.
>> >>>
>> >>> This patch uses the same 1.25 version but fetching it using Git, so no
>> >>> code changes are done.
>> >>>
>> >>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
>> >>
>> >> Please queue this update for Daisy as well, as this is failing to
>> >> fetch currently (cced other Daisy maintainers).
>> >>
>> >> Acked-by: Otavio Salvador <otavio@ossystems.com.br>
>> >
>> > Acked-by: Cliff Brake <cbrake@bec-systems.com>
>>
>> Please merged this.
>
> It's already merged:
>
> http://cgit.openembedded.org/meta-openembedded/commit/?id=9c762b824cbf7ecd9ce7f7859d22ff89c59fa28d

In Daisy ;-)

Patch

diff --git a/meta-oe/recipes-support/evtest/evtest_1.25.bb b/meta-oe/recipes-support/evtest/evtest_git.bb
similarity index 55%
rename from meta-oe/recipes-support/evtest/evtest_1.25.bb
rename to meta-oe/recipes-support/evtest/evtest_git.bb
index 640cec0..e4e4347 100644
--- a/meta-oe/recipes-support/evtest/evtest_1.25.bb
+++ b/meta-oe/recipes-support/evtest/evtest_git.bb
@@ -7,8 +7,11 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
 
 DEPENDS = "libxml2"
 
-SRC_URI = "http://cgit.freedesktop.org/~whot/evtest/snapshot/evtest-${PV}.tar.bz2;name=archive"
-SRC_URI[archive.md5sum] = "770d6af03affe976bdbe3ad1a922c973"
-SRC_URI[archive.sha256sum] = "3d34123c68014dae6f7c19144ef79ea2915fa7a2f89ea35ca375a9cf9e191473"
+SRCREV = "67f3dfefb0b5708ad5b692f19c1a3a5b135264ca"
+SRC_URI = "git://anongit.freedesktop.org/evtest;protocol=git"
+
+PV = "1.25+${SRCPV}"
+
+S = "${WORKDIR}/git"
 
 inherit autotools pkgconfig