[oe] [meta-oe][PATCH v3] p7zip: new recipe

Freudiger, Raphael raphael.freudiger at siemens.com
Fri Jan 30 12:53:33 UTC 2015


Hi Jonathan

The resulting binary is already stripped, which leads to a QA warning when bitbake tries to strip it again.
The INHIBIT_PACKAGE_STRIP prevents this.

I will send a v4 without the PR soon.

Regards,
Raphael

----Ursprüngliche Nachricht-----
Von: Jonathan Liu [mailto:net147 at gmail.com] 
Gesendet: Freitag, 30. Januar 2015 13:35
An: Freudiger, Raphael
Cc: openembedded-devel at lists.openembedded.org
Betreff: Re: [oe] [meta-oe][PATCH v3] p7zip: new recipe

Hi Raphael,

On 30/01/2015 8:13 PM, Raphael Freudiger wrote:
> diff --git a/meta-oe/recipes-extended/p7zip/p7zip_9.20.1.bb 
> b/meta-oe/recipes-extended/p7zip/p7zip_9.20.1.bb
> new file mode 100644
> index 0000000..db46271
> --- /dev/null
> +++ b/meta-oe/recipes-extended/p7zip/p7zip_9.20.1.bb
> @@ -0,0 +1,23 @@
> +DESCRIPTION = "7-zip is a commandline utility handling 7z archives."
> +HOMEPAGE = "http://www.7-zip.org/"
> +LICENSE = "LGPL-2.1+ & unRAR"
> +LIC_FILES_CHKSUM = "file://DOCS/copying.txt;md5=ecfc54c9e37b63ac58900061ce2eab5a \
> +                    file://DOCS/unRarLicense.txt;md5=9c87ddde469ef94aed153b0951d088de"
> +PR = "r1"
PR is not needed.
> +
> +SRC_URI = "http://downloads.sourceforge.net/p7zip/p7zip/${PV}/p7zip_${PV}_src_all.tar.bz2 \
> +          file://do_not_override_compiler.patch"
> +
> +S = "${WORKDIR}/${PN}_${PV}"
> +
> +INHIBIT_PACKAGE_STRIP = "1"
Can this be removed? Why is INHIBIT_PACKAGE_STRIP needed?
> +
> +
> +do_install() {
> +    install -d ${D}${bindir}
> +    install -m 0755 ${S}/bin/* ${D}${bindir} }
> +
> +
> +SRC_URI[md5sum] = "bd6caaea567dc0d995c990c5cc883c89"
> +SRC_URI[sha256sum] = "49557e7ffca08100f9fc687f4dfc5aea703ca207640c76d9dee7b66f03cb4782"
Regards,
Jonathan



More information about the Openembedded-devel mailing list