From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6864480010557718528 X-Received: by 2002:a0c:8e4c:: with SMTP id w12mr10360079qvb.3.1599298400231; Sat, 05 Sep 2020 02:33:20 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:ac8:22ca:: with SMTP id g10ls4689723qta.3.gmail; Sat, 05 Sep 2020 02:33:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxciYwkhUnNywpOQkY+wv7IIl7F4HGXKJi3ZD4C/5AJyID6I1CRCElagLmh6KLgkTj5UIxA X-Received: by 2002:aed:2ce5:: with SMTP id g92mr12211028qtd.204.1599298399741; Sat, 05 Sep 2020 02:33:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599298399; cv=none; d=google.com; s=arc-20160816; b=QGUnl9uM94LuZDZZH6Ps9hcKRA0MTfWCxjiaqKDIv/dK5G8/Q3kMLBSsWhsY7lIPKO yTrBlyJYuADFJMLu9uwFPY1laHgSOm0eZOD+TUUuJuJkVAD5NMda7/DeSg4QVT1rvENB e1fLWcTXYsQ+PppaQfoQp86RITGDEwSJDxtSHLvtBgxQZhEQABqC7IcYVB/e4Qts4UAf sqRjhekSGuLTwsE4oo4dvRRAnTlYUUMD25o0puWey33bqdnVEXazAiS+wnyK9jTJQGr8 W2qBExoMjstia4cf6x1tzXACmKFb8o93luNKwV25+uQTyQ4+8l/fTSG3YTTcYfi+A1Vi PQTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=wVGweacc/ViQSgsGczXiRc+AUp8tP/qzENZ0jAjwr64=; b=uZSaXkvAvSydFH8NQmA/aXbIphBujMboeSvLNpaEqI9k7iDtDELiJZUTr9PWCBB7+C aFw544W4n+A+/PF5UPLNvM0QvRnA+GEz9boZd9N0njiC/e1a/WhDnve3HhBI0LKzbldO LesruF4HdyFVN/yhRqEP5FnaMcjalWz24R3Zfyb7jmgGFGam7fs0I8KBS0YxJipVo4b0 Fct0bFNOUNRif/5LaI8CwhX/XV0LVte7p/N56neBYHap4OgT/6UdkBNztFCpVjfDjf21 IHBGjIoDdzR9LGn8l0tNZDeYgIQE4Gx4ke0WAyGn0IVHzzN/pMlM+qf8AjvKeu8j60yB zqHw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qmTzmfnh; spf=pass (google.com: domain of vijaikumar.kanagarajan@gmail.com designates 2607:f8b0:4864:20::f42 as permitted sender) smtp.mailfrom=vijaikumar.kanagarajan@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail-qv1-xf42.google.com (mail-qv1-xf42.google.com. [2607:f8b0:4864:20::f42]) by gmr-mx.google.com with ESMTPS id q5si513789qkc.2.2020.09.05.02.33.19 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 05 Sep 2020 02:33:19 -0700 (PDT) Received-SPF: pass (google.com: domain of vijaikumar.kanagarajan@gmail.com designates 2607:f8b0:4864:20::f42 as permitted sender) client-ip=2607:f8b0:4864:20::f42; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qmTzmfnh; spf=pass (google.com: domain of vijaikumar.kanagarajan@gmail.com designates 2607:f8b0:4864:20::f42 as permitted sender) smtp.mailfrom=vijaikumar.kanagarajan@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: by mail-qv1-xf42.google.com with SMTP id f11so4312349qvw.3 for ; Sat, 05 Sep 2020 02:33:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wVGweacc/ViQSgsGczXiRc+AUp8tP/qzENZ0jAjwr64=; b=qmTzmfnhiiItkeZpL65wLqPOqz7x1dsPHT6mcV8TCdS4bSrnTbGQHgYg4JdaK8k/xU H9yTelb+AfAk5PWLPF9rTr3WeHmVMVOdxgqy3+8Jp31PRID+z1plm2/uWc9fWDdPCitL 5J1lT6tNAyHT6h98dmILOTdVt/j1OlQj2L/1I0cGU8ubP69Sh+FrKBUFU5Y+MVpGLMFR fcH4T4qMqp5WwZ5H4byUtwnr0UQBtPF/++dXQEmuW718kg4Qj9lqJuzSNCt9TLWG3lP7 t3ZJhMXg0cEbBuV3Z5BBwKx+5Dj0onANaux3bvDRFADvschauUjpS2O+e9HxE4LKfATv DD0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wVGweacc/ViQSgsGczXiRc+AUp8tP/qzENZ0jAjwr64=; b=iPrg7SB/OM8G3tmjVXlM5gaW5H2jslE9NJYV48Crwld2xE/nzdJmZIMZSwEd2gDLEV b6IzTrBjn5HJj+VXdA/B3aMzZdQSw/v0EeLruAnHfv32/bdoN92mLhZz8WymqZmk2Xp4 T+3XBmsYz3svPFjifcyK7QF9DA5yOB+Phg9jZ7bzaBNM24YUSzHlMld4l+jgP8gU30lW I/a5jhmABRL/6GPg912mAIEc9xj5Ep8W57Xc8aD4pxhGdobjVxRX1R0WkzNJm72YtHeG woBBrZSW/U6odyUrsoAuGeycncf2/KygL/P1NGOrpyFmGj66xayi2AX0SieSnJWevQTG QPow== X-Gm-Message-State: AOAM531l95S0xqm8Li2/RfYvVGARX/lS5SFf6XFERhID/izQP+y5dxz5 TaPY6c2F4+ioWH4iVx/m4wvPhY5qoCz1Q1/AWRg= X-Received: by 2002:a05:6214:7e1:: with SMTP id bp1mr8879105qvb.171.1599298399471; Sat, 05 Sep 2020 02:33:19 -0700 (PDT) MIME-Version: 1.0 References: <20200902185624.15044-9-Vijaikumar_Kanagarajan@mentor.com> <20200902190247.15421-1-Vijaikumar_Kanagarajan@mentor.com> <20200905104504.11f7b0a9@md1za8fc.ad001.siemens.net> In-Reply-To: <20200905104504.11f7b0a9@md1za8fc.ad001.siemens.net> From: vijai kumar Date: Sat, 5 Sep 2020 15:03:08 +0530 Message-ID: Subject: Re: [PATCH v2 09/10] wic: misc: Add /bin to the list of searchpaths To: Henning Schild Cc: Vijai Kumar K , isar-users@googlegroups.com Content-Type: multipart/alternative; boundary="000000000000fd8a9905ae8dac2a" X-TUID: DCVLiH33IU5e --000000000000fd8a9905ae8dac2a Content-Type: text/plain; charset="UTF-8" On Sat, 5 Sep 2020 at 2:15 PM, Henning Schild wrote: > We are patching wic here ... If that is upstream simply take another > > version in p1. > > Wic still is "clean" and purely taken from upstream, which probably > > made your version bump much easier ... it probably was not easy. Dont > > ruin that on the last meters. > > > > Maybe will will reach that clean state for bitbake as well, again. Ok. I will try to update to a version that has P9. > > > > Henning > > > > On Thu, 3 Sep 2020 00:32:46 +0530 > > Vijai Kumar K wrote: > > > > > From: Vijai Kumar K > > > > > > /bin is also a valid path where one can find executables. Add > > > that to the search path. > > > > > > Signed-off-by: Vijai Kumar K > > > Signed-off-by: Richard Purdie > > > [cherry-picked from OE-core ca0a6025351cb2135e87cecf828633cf12aa34c6] > > > Signed-off-by: Vijai Kumar K > > > --- > > > scripts/lib/wic/misc.py | 5 +++-- > > > 1 file changed, 3 insertions(+), 2 deletions(-) > > > > > > diff --git a/scripts/lib/wic/misc.py b/scripts/lib/wic/misc.py > > > index 91975ba..4b08d64 100644 > > > --- a/scripts/lib/wic/misc.py > > > +++ b/scripts/lib/wic/misc.py > > > @@ -138,8 +138,9 @@ def exec_native_cmd(cmd_and_args, native_sysroot, > > > pseudo=""): if pseudo: > > > cmd_and_args = pseudo + cmd_and_args > > > > > > - native_paths = "%s/sbin:%s/usr/sbin:%s/usr/bin" % \ > > > - (native_sysroot, native_sysroot, native_sysroot) > > > + native_paths = "%s/sbin:%s/usr/sbin:%s/usr/bin:%s/bin" % \ > > > + (native_sysroot, native_sysroot, > > > + native_sysroot, native_sysroot) > > > > > > native_cmd_and_args = "export PATH=%s:$PATH;%s" % \ > > > (native_paths, cmd_and_args) > > > > -- > > You received this message because you are subscribed to the Google Groups > "isar-users" group. > > To unsubscribe from this group and stop receiving emails from it, send an > email to isar-users+unsubscribe@googlegroups.com. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/isar-users/20200905104504.11f7b0a9%40md1za8fc.ad001.siemens.net > . > > --000000000000fd8a9905ae8dac2a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Sat, 5 Sep 2020 at 2:15 PM, Henning Schild <henning.schild@siemens.com> w= rote:
We are patching wic here ... = If that is upstream simply take another

version in p1.

Wic st= ill is "clean" and purely taken from upstream, which probably
=
made your version bump much easier ... it probably was not easy. Dont
ruin that on the last meters.



Maybe will will reach th= at clean state for bitbake as well, again.
Ok. I will try to update to a version that has P9= .



=

Henning



On Thu, 3 Sep 2020 00:32:46 +0530

Vij= ai Kumar K <Vijaikumar_Kanagarajan@mentor.com> wrote:


> From: Vijai Kumar K <vijaikumar.kanagarajan@gmail.com>

&g= t;

> /bin is also a valid path where one can find executables. A= dd

> that to the search path.

>

> Signed-off= -by: Vijai Kumar K <vijaikumar.kanagarajan@gmail.com>

> Sign= ed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> [cherry-picked from OE-core ca0a6025351cb2135e87cecf828633cf12aa34c6= ]

> Signed-off-by: Vijai Kumar K <Vijaikumar_Kanagarajan@mentor.co= m>

> ---

>=C2=A0 scripts/lib/wic/misc.py | 5 +++= --

>=C2=A0 1 file changed, 3 insertions(+), 2 deletions(-)
>

> diff --git a/scripts/lib/wic/misc.py b/scripts/lib/wic/m= isc.py

> index 91975ba..4b08d64 100644

> --- a/scripts/= lib/wic/misc.py

> +++ b/scripts/lib/wic/misc.py

> @@ -1= 38,8 +138,9 @@ def exec_native_cmd(cmd_and_args, native_sysroot,

>= ; pseudo=3D""): if pseudo:

>=C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 cmd_and_args =3D pseudo + cmd_and_args

>=C2=A0

&g= t; -=C2=A0 =C2=A0 native_paths =3D "%s/sbin:%s/usr/sbin:%s/usr/bin&quo= t; % \

> -=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0(native_sysroot, native_sysroot, native_sysroot)

> = +=C2=A0 =C2=A0 native_paths =3D "%s/sbin:%s/usr/sbin:%s/usr/bin:%s/bin= " % \

> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0(native_sysroot, native_sysroot,

> +=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 native_sysro= ot, native_sysroot)

>=C2=A0

>=C2=A0 =C2=A0 =C2=A0 nati= ve_cmd_and_args =3D "export PATH=3D%s:$PATH;%s" % \

>= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0(native_paths, cmd_and_args)



--

You received this= message because you are subscribed to the Google Groups "isar-users&q= uot; group.

To unsubscribe from this group and stop receiving emails= from it, send an email to isar-users+unsubscribe@googlegroups.com.=

To view this discussion on the web visit https://groups.google.com/d/m= sgid/isar-users/20200905104504.11f7b0a9%40md1za8fc.ad001.siemens.net.
--000000000000fd8a9905ae8dac2a--