[OE-core] [PATCH 3/3] package_ip.bbclass: add xz threading

Khem Raj raj.khem at gmail.com
Thu Dec 27 02:33:33 UTC 2018


On Wed, Dec 26, 2018 at 4:44 PM Alejandro del Castillo
<alejandro.delcastillo at ni.com> wrote:
>
> Before, threading was enabled via a patch to opkg-build. Now that
> opkg-build provides a hook for extra arguments, use that.
>
> Signed-off-by: Alejandro del Castillo <alejandro.delcastillo at ni.com>
> ---
>  meta/classes/package_ipk.bbclass | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass
> index 5eb910ca31..991ecac7e4 100644
> --- a/meta/classes/package_ipk.bbclass
> +++ b/meta/classes/package_ipk.bbclass
> @@ -8,7 +8,7 @@ IPKGCONF_SDK =  "${WORKDIR}/opkg-sdk.conf"
>  PKGWRITEDIRIPK = "${WORKDIR}/deploy-ipks"
>
>  # Program to be used to build opkg packages
> -OPKGBUILDCMD ??= "opkg-build -Z xz"
> +OPKGBUILDCMD ??= "opkg-build -Z xz -a "--threads 0""

double strings look confusing, may be use single quotes here ?

>
>  OPKG_ARGS += "--force_postinstall --prefer-arch-to-version"
>  OPKG_ARGS += "${@['', '--no-install-recommends'][d.getVar("NO_RECOMMENDATIONS") == "1"]}"
> --
> 2.20.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


More information about the Openembedded-core mailing list