[oe] [PATCH 2/2] binutils-2.20.1: fix checksums

Martin Jansa martin.jansa at gmail.com
Fri Sep 9 06:51:28 UTC 2011


On Fri, Sep 09, 2011 at 04:33:21AM +0100, Ilya Dmitrichenko wrote:
> From: Ilya Dmitrichenko <errordeveloper at newbrik.new-synth.info>
> 
> Signed-off-by: Ilya Dmitrichenko <errordeveloper at gmail.com>
> ---
>  recipes/binutils/binutils_2.20.1.bb  |   33 ---------------------------------
>  recipes/binutils/binutils_2.20.1a.bb |   33 +++++++++++++++++++++++++++++++++
>  2 files changed, 33 insertions(+), 33 deletions(-)
>  delete mode 100644 recipes/binutils/binutils_2.20.1.bb
>  create mode 100644 recipes/binutils/binutils_2.20.1a.bb

And what happens with binutils-cross* etc?
they won't even parse OK, because could not find
require binutils_${PV}.bb

Renaming just the tarbal in SRC_URI is easier then renaming recipes and
works fine (will force everybody to redownload right sources with right
checksums) see:

http://patches.openembedded.org/patch/11149/

Or you have to rename all binutils*2.20.1 recipes.

Regards,
 
> diff --git a/recipes/binutils/binutils_2.20.1.bb b/recipes/binutils/binutils_2.20.1.bb
> deleted file mode 100644
> index f40b676..0000000
> --- a/recipes/binutils/binutils_2.20.1.bb
> +++ /dev/null
> @@ -1,33 +0,0 @@
> -require binutils.inc
> -LICENSE = "GPLv3"
> -
> -PR = "${INC_PR}.4"
> -EXTRA_OECONF += "--disable-werror"
> -
> -#COMPATIBLE_TARGET_SYS = "."
> -
> -SRC_URI = "\
> -     ${GNU_MIRROR}/binutils/binutils-${PV}.tar.bz2;name=tarball \
> -     file://binutils-uclibc-100-uclibc-conf.patch \
> -     file://110-arm-eabi-conf.patch \
> -     file://binutils-uclibc-300-001_ld_makefile_patch.patch \
> -     file://binutils-uclibc-300-006_better_file_error.patch \
> -     file://binutils-uclibc-300-012_check_ldrunpath_length.patch \
> -     file://binutils-uclibc-gas-needs-libm.patch \
> -     file://binutils-x86_64_i386_biarch.patch \
> -     ${@['file://libtool-update.patch','file://libtool-2.4-update.patch'][bb.data.getVar('LIBTOOL_HAS_SYSROOT', d, 1) == 'yes']} \
> -     file://binutils-2.19.1-ld-sysroot.patch \
> -     "
> -
> -SRC_URI_append_nios2 =" \
> -	file://binutils-nios2-files.patch \
> -	file://binutils-nios2.patch \
> -	"
> -
> -SRC_URI[tarball.sha256sum] = "71d37c96451333c5c0b84b170169fdcb138bbb27397dc06281905d9717c8ed64"
> -SRC_URI[tarball.md5sum] = "2b9dc8f2b7dbd5ec5992c6e29de0b764"
> -
> -# powerpc patches
> -SRC_URI += "\
> -     file://binutils-2.16.1-e300c2c3.patch \
> -     "
> diff --git a/recipes/binutils/binutils_2.20.1a.bb b/recipes/binutils/binutils_2.20.1a.bb
> new file mode 100644
> index 0000000..f40b676
> --- /dev/null
> +++ b/recipes/binutils/binutils_2.20.1a.bb
> @@ -0,0 +1,33 @@
> +require binutils.inc
> +LICENSE = "GPLv3"
> +
> +PR = "${INC_PR}.4"
> +EXTRA_OECONF += "--disable-werror"
> +
> +#COMPATIBLE_TARGET_SYS = "."
> +
> +SRC_URI = "\
> +     ${GNU_MIRROR}/binutils/binutils-${PV}.tar.bz2;name=tarball \
> +     file://binutils-uclibc-100-uclibc-conf.patch \
> +     file://110-arm-eabi-conf.patch \
> +     file://binutils-uclibc-300-001_ld_makefile_patch.patch \
> +     file://binutils-uclibc-300-006_better_file_error.patch \
> +     file://binutils-uclibc-300-012_check_ldrunpath_length.patch \
> +     file://binutils-uclibc-gas-needs-libm.patch \
> +     file://binutils-x86_64_i386_biarch.patch \
> +     ${@['file://libtool-update.patch','file://libtool-2.4-update.patch'][bb.data.getVar('LIBTOOL_HAS_SYSROOT', d, 1) == 'yes']} \
> +     file://binutils-2.19.1-ld-sysroot.patch \
> +     "
> +
> +SRC_URI_append_nios2 =" \
> +	file://binutils-nios2-files.patch \
> +	file://binutils-nios2.patch \
> +	"
> +
> +SRC_URI[tarball.sha256sum] = "71d37c96451333c5c0b84b170169fdcb138bbb27397dc06281905d9717c8ed64"
> +SRC_URI[tarball.md5sum] = "2b9dc8f2b7dbd5ec5992c6e29de0b764"
> +
> +# powerpc patches
> +SRC_URI += "\
> +     file://binutils-2.16.1-e300c2c3.patch \
> +     "
> -- 
> 1.7.3.4
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20110909/a7a4f78b/attachment-0002.sig>


More information about the Openembedded-devel mailing list