Richard

ping on this patch, I am also running into the issue fixed by it.

On Mon, Mar 16, 2020 at 11:49 AM Andre McCurdy <[email protected]> wrote:
>
> OE's packaging functions assume that the opkg-utils python scipts are
> always provided by opkg-utils-native, so the scripts should be removed
> for class-target only.
>
> Signed-off-by: Andre McCurdy <[email protected]>
> ---
>  meta/recipes-devtools/opkg-utils/opkg-utils_0.4.2.bb | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.2.bb 
> b/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.2.bb
> index eda73db6a4..9315240190 100644
> --- a/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.2.bb
> +++ b/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.2.bb
> @@ -34,13 +34,13 @@ do_install() {
>         if ! ${@bb.utils.contains('PACKAGECONFIG', 'update-alternatives', 
> 'true', 'false', d)}; then
>                 rm -f "${D}${bindir}/update-alternatives"
>         fi
> -
> -    if ! ${@bb.utils.contains('PACKAGECONFIG', 'python', 'true', 'false', 
> d)}; then
> -        grep -lZ "/usr/bin/env.*python" ${D}${bindir}/* | xargs -0 rm
> -    fi
>  }
>
>  do_install_append_class-target() {
> +       if ! ${@bb.utils.contains('PACKAGECONFIG', 'python', 'true', 'false', 
> d)}; then
> +               grep -lZ "/usr/bin/env.*python" ${D}${bindir}/* | xargs -0 rm
> +       fi
> +
>         if [ -e "${D}${bindir}/update-alternatives" ]; then
>                 sed -i ${D}${bindir}/update-alternatives -e 
> 's,/usr/bin,${bindir},g; s,/usr/lib,${nonarch_libdir},g'
>         fi
> --
> 2.24.0
>
> --
> _______________________________________________
> Openembedded-core mailing list
> [email protected]
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#136757): 
https://lists.openembedded.org/g/openembedded-core/message/136757
Mute This Topic: https://lists.openembedded.org/mt/72395948/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to