On Fri, 2020-06-12 at 17:45 -0300, Sergio Prado wrote:
> minigzip is a minimal implementation of the gzip utility that
> simulates
> gzip using the zlib compression library.
> 
> Having a package with minigzip could be useful in some cases.
> 
> Signed-off-by: Sergio Prado <sergio.pr...@e-labworks.com>
> ---
>  meta/recipes-core/zlib/zlib_1.2.11.bb | 15 ++++++++++++++-
>  1 file changed, 14 insertions(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-core/zlib/zlib_1.2.11.bb b/meta/recipes-
> core/zlib/zlib_1.2.11.bb
> index ef9431ae475c..3ecb90de2b5f 100644
> --- a/meta/recipes-core/zlib/zlib_1.2.11.bb
> +++ b/meta/recipes-core/zlib/zlib_1.2.11.bb
> @@ -19,6 +19,14 @@ CFLAGS += "-D_REENTRANT"
>  
>  RDEPENDS_${PN}-ptest += "make"
>  
> +PACKAGES =+ "${PN}-minigzip"
> +
> +FILES_${PN}-minigzip += "\
> +                         ${sbindir}/minigzip \
> +                         ${sbindir}/minigzipsh \
> +                         ${sbindir}/minigzip64 \
> +                         "
> +
>  inherit ptest
>  
>  do_configure() {
> @@ -26,11 +34,16 @@ do_configure() {
>  }
>  
>  do_compile() {
> -     oe_runmake shared
> +     oe_runmake shared minigzip minigzip64
>  }
>  
>  do_install() {
>       oe_runmake DESTDIR=${D} install
> +
> +     install -d ${D}${sbindir}
> +     install -m 0755 ${B}/minigzip ${D}${sbindir}
> +     install -m 0755 ${B}/minigzipsh ${D}${sbindir}
> +     install -m 0755 ${B}/minigzip64 ${D}${sbindir}
>  }
>  
>  do_install_ptest() {

Breaks oe-selftest:

https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/1039

Reproducer:
oe-selftest -r pkgdata.OePkgdataUtilTests.test_list_pkgs

Also breaks meta-mingw:

https://autobuilder.yoctoproject.org/typhoon/#/builders/89/builds/2031

Cheers,

Richard


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139537): 
https://lists.openembedded.org/g/openembedded-core/message/139537
Mute This Topic: https://lists.openembedded.org/mt/74847703/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to