Patchwork Revert "busybox_1.18.4.bb: Fix checksums of busybox-1.18.4-hush.patch"

login
register
mail settings
Submitter Paul Menzel
Date June 4, 2011, 5:38 p.m.
Message ID <1307209126.4456.21.camel@mattotaupa>
Download mbox | patch
Permalink /patch/5385/
State Rejected
Headers show

Comments

Paul Menzel - June 4, 2011, 5:38 p.m.
Date: Sat, 4 Jun 2011 19:35:03 +0200

This reverts commit 688b8dc036f504ae1bdf1736bf211a0c62de03f8.

        commit 688b8dc036f504ae1bdf1736bf211a0c62de03f8
        Author: Khem Raj <raj.khem@gmail.com>
        Date:   Fri Jun 3 11:38:12 2011 -0700
        
            busybox_1.18.4.bb: Fix checksums of busybox-1.18.4-hush.patch
            
            Signed-off-by: Khem Raj <raj.khem@gmail.com>

The old checksums are the ones I get when downloading the patch.

        $ zless minimal-dev/work/armv7a-oe-linux-gnueabi/busybox-1.18.4-r43.2/temp/log.do_fetch
        NOTE: The checksums for 'busybox-1.18.4-hush.patch' did not match.
        Expected MD5: '91005640b4b434ab5029fa5a0349a33c' and Got: 'a81f2d7d3bdf1a35ab77c4414a530d38'
        Expected SHA256: 'e76da947c40784c9a0527c38b1e9edb615c80cfe911d28b9d8a5d67a492bf67c' and Got: 'c87e73ad942d53c8a2a5ffe6037c1cdf52d4b20d3f29caae5fffc7a99009b7cb'
        NOTE: Your checksums:
        SRC_URI[patch01.md5sum] = "a81f2d7d3bdf1a35ab77c4414a530d38"
        SRC_URI[patch01.sha256sum] = "c87e73ad942d53c8a2a5ffe6037c1cdf52d4b20d3f29caae5fffc7a99009b7cb"

Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
CC: Khem Raj <raj.khem@gmail.com>
CC: Eric BENARD <eric@eukrea.com>
---
 recipes/busybox/busybox_1.18.4.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Paul Menzel - June 4, 2011, 6:01 p.m.
Dear OpenEmbedded folks,


Am Samstag, den 04.06.2011, 19:38 +0200 schrieb Paul Menzel:
> Date: Sat, 4 Jun 2011 19:35:03 +0200
> 
> This reverts commit 688b8dc036f504ae1bdf1736bf211a0c62de03f8.
> 
>         commit 688b8dc036f504ae1bdf1736bf211a0c62de03f8
>         Author: Khem Raj <raj.khem@gmail.com>
>         Date:   Fri Jun 3 11:38:12 2011 -0700
>         
>             busybox_1.18.4.bb: Fix checksums of busybox-1.18.4-hush.patch
>             
>             Signed-off-by: Khem Raj <raj.khem@gmail.com>
> 
> The old checksums are the ones I get when downloading the patch.
> 
>         $ zless minimal-dev/work/armv7a-oe-linux-gnueabi/busybox-1.18.4-r43.2/temp/log.do_fetch
>         NOTE: The checksums for 'busybox-1.18.4-hush.patch' did not match.
>         Expected MD5: '91005640b4b434ab5029fa5a0349a33c' and Got: 'a81f2d7d3bdf1a35ab77c4414a530d38'
>         Expected SHA256: 'e76da947c40784c9a0527c38b1e9edb615c80cfe911d28b9d8a5d67a492bf67c' and Got: 'c87e73ad942d53c8a2a5ffe6037c1cdf52d4b20d3f29caae5fffc7a99009b7cb'
>         NOTE: Your checksums:
>         SRC_URI[patch01.md5sum] = "a81f2d7d3bdf1a35ab77c4414a530d38"
>         SRC_URI[patch01.sha256sum] = "c87e73ad942d53c8a2a5ffe6037c1cdf52d4b20d3f29caae5fffc7a99009b7cb"

[…]

Please ignore this patch as I had the old patch file in cached my
download directory.

Is there a way in BitBake to check and redownload a file if the
checksums do not match?

Another solution would be to handle all patches in OpenEmbedded
directly.


Thanks,

Paul
Koen Kooi - June 4, 2011, 6:05 p.m.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04-06-11 20:01, Paul Menzel wrote:

> Another solution would be to handle all patches in OpenEmbedded
> directly.

That is what I have been saying for a while now...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFN6nQGMkyGM64RGpERAkZbAJ9pE5fAuNMdnKbpPB2ChXInOAtgAACgsSLr
/xXZSPeVhGjaDJpTxUyL+t4=
=xeAs
-----END PGP SIGNATURE-----
Eric BENARD - June 4, 2011, 8:54 p.m.
On 04/06/2011 20:05, Koen Kooi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 04-06-11 20:01, Paul Menzel wrote:
>
>> Another solution would be to handle all patches in OpenEmbedded
>> directly.
>
> That is what I have been saying for a while now...

that's what was initially done but I was asked to change to remotely fetched 
patches which can create this trouble if busybox's patches are updated.

Eric

Patch

diff --git a/recipes/busybox/busybox_1.18.4.bb b/recipes/busybox/busybox_1.18.4.bb
index b72510d..68a023a 100644
--- a/recipes/busybox/busybox_1.18.4.bb
+++ b/recipes/busybox/busybox_1.18.4.bb
@@ -7,5 +7,5 @@  PR = "${INC_PR}.2"
 
 SRC_URI[md5sum] = "b03c5b46ced732679e525a920a1a62f5"
 SRC_URI[sha256sum] = "4d24d37bd6f1bd153e8cf9a984ec2f32f18464f73ca535e2cc2e8be9694097fa"
-SRC_URI[patch01.md5sum] = "91005640b4b434ab5029fa5a0349a33c"
-SRC_URI[patch01.sha256sum] = "e76da947c40784c9a0527c38b1e9edb615c80cfe911d28b9d8a5d67a492bf67c"
+SRC_URI[patch01.md5sum] = "a81f2d7d3bdf1a35ab77c4414a530d38"
+SRC_URI[patch01.sha256sum] = "c87e73ad942d53c8a2a5ffe6037c1cdf52d4b20d3f29caae5fffc7a99009b7cb"