[oe] [PATCH] Revert "unzip: Add update-alternatives to unzip"

Martin Jansa martin.jansa at gmail.com
Sat Nov 13 14:27:52 UTC 2010


Hi Paul, 

On Sat, Nov 13, 2010 at 03:13:09PM +0100, Paul Menzel wrote:
> This reverts commit 902b98f32ffd35661e43382f47226f65528ff1b1.
> 
> With this patch, decompressing zip files does not work anymore in `angstrom-2008.1, angstrom-2010.x`, `minimal` and `minimal-uclibc`.
> diff --git a/recipes/unzip/unzip_552.bb b/recipes/unzip/unzip_552.bb
> index 0decc4a..6e3497e 100644
> --- a/recipes/unzip/unzip_552.bb
> +++ b/recipes/unzip/unzip_552.bb
> @@ -1,7 +1,7 @@
>  DESCRIPTION = "A (de)compression library for the ZIP format"
>  SECTION = "console/utils"
>  LICENSE = "Info-ZIP"
> -PR = "r2"
> +PR = "r1"

Even with revert the PR should be increased (need manual change).

>  SRC_URI = "${SOURCEFORGE_MIRROR}/project/infozip/UnZip%205.x%20and%20earlier/5.52/unzip${PV}.tar.gz"
>  S = "${WORKDIR}/unzip-5.52"
>  
> @@ -19,15 +19,6 @@ do_install() {
>          oe_runmake -f unix/Makefile install prefix=${D}${prefix}
>  	install -d ${D}${mandir}
>  	mv ${D}${prefix}/man/* ${D}${mandir}
> -	mv ${D}${bindir}/unzip ${D}${bindir}/unzip.${PN}
> -}

limit this mv only to target's do_install while do_install for
unzip-native keeps unzip name (or you can add unzip -> unzip.${PN} 
link to unzip-native)

Regards,
-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com




More information about the Openembedded-devel mailing list