From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6864480010557718528 X-Received: by 2002:a1c:e0d4:: with SMTP id x203mr2176091wmg.91.1599073392023; Wed, 02 Sep 2020 12:03:12 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:adf:8288:: with SMTP id 8ls1860390wrc.0.gmail; Wed, 02 Sep 2020 12:03:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzONGoFsaYcSDeL/Z26Slbqa2GC0AK2ph4aSNrlTtyNxiT5EdguX4TsfJrEzKAbuCAGxOum X-Received: by 2002:a5d:5089:: with SMTP id a9mr9144492wrt.118.1599073391249; Wed, 02 Sep 2020 12:03:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599073391; cv=none; d=google.com; s=arc-20160816; b=dRwl8yWH9AhtzJnMAaj6geFIFxZ2HFnALcQ+QGYbPTFPmQilPL8K73nvGCBQelCTQJ cMGfilDc/R4yFvKc1vQHZ/nmbgVSZ48j8IgM3Fsuh5WVjviJ7K0DcJnfLxAnOjiGb/Oy I7Ke8nLxOr4qkzTp7wn0Bpb9u7qPMwDDu8x0/FbV/yvVsE7/0JoY/PBtQv9k6rR7QMXm yUHtp54KSeD0QdX+m/QcOhu2D4oWYkZkGQpChffAmTElIPqucq9RRPcegY6QAlxU53cz Tve/m5XxkuCtUcd5ky+jvRw3FWbUQu5CGsEnPdZnnwz7al9kBjJnPyVg/ivc7Jf3vFCG Z7Kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:references:in-reply-to:message-id:date:subject:to:from :ironport-sdr:ironport-sdr; bh=T3947Bmnx2hl3nHUzbdWwy/zINcPtM+Cy6u0cIQHbms=; b=YuUFGqUHyh7X4aKccZYqgK0Lp7QaRfReqiG39TQXnaMmCa8qZi1q2zLGN/gAyaPme5 WSsjzEgF+EpTACJgQmu9KURiXxi8zUYk4NpoYBy1/aRdktimB4Gt5Bmdd4HzBV3LpMP9 bqJxfutmy7iUajoeeLoG1wQfJMhl8+HeMWcv1N4SOLpPwK9bVfYAICNR5RDMqI0+/RxV YEBYt3N2tNm9cJvn+lC2CpRRQndXBAW4lCnP+JFS2oUGrY3cSfznH8dmLmsFnDeLV6ev POtXgL6q3ByizJ6MrzesR9sVW5Gl/yy7KGO4pNeCAgfypuCahl8NTGNK+lftdibPBO1a hWfw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.137.180 as permitted sender) smtp.mailfrom=Vijaikumar_Kanagarajan@mentor.com Return-Path: Received: from esa3.mentor.iphmx.com (esa3.mentor.iphmx.com. [68.232.137.180]) by gmr-mx.google.com with ESMTPS id w6si20912wmk.2.2020.09.02.12.03.10 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Sep 2020 12:03:11 -0700 (PDT) Received-SPF: pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.137.180 as permitted sender) client-ip=68.232.137.180; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.137.180 as permitted sender) smtp.mailfrom=Vijaikumar_Kanagarajan@mentor.com IronPort-SDR: Ae2U2vxamJUn6UIw1scEFAmLAAZ5WTeHU5G2mTa2AArWhP5vKzIDRRPnw1pvO3LVViVBNeYvzM T2dk5pWw2QVn7qVFnHBR6aZ53W5R4PUf5Gb4Je5jFp8kwnYMhRpIlHE7NteZDnuAFAAWQYtiCF dCsoyfvTz/qZYjsCSLmI9nY80ZqF2xXZdUMhJQoMgX3IkupsgBI6nvBjH7DkoY56EtV4aM0Hsk m//sfu0wn8uUSB/Fk7kJhwAoqPwoE3eSF9Dqnqpf6VaGpGj5RuBW0qDbnvafOAl8duLxq1u1RI bH8= X-IronPort-AV: E=Sophos;i="5.76,383,1592899200"; d="scan'208";a="52501828" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa3.mentor.iphmx.com with ESMTP; 02 Sep 2020 11:03:09 -0800 IronPort-SDR: yEgct7rSsdfaqgQHtnrJ2avvqYLvHlcDvBQG4d7gD66hEdlLJ9PLM41qeHVmw5ocWuvhKwx3Qt YO9z3/w4lY4Hm6x+IwJDUP3v9C7k2UIgkFi6KUnBAFZLfCti6TFXlog8cTzozvSdGWaQJSMMKa BqRpDkt9egXumX79eIWXsTNA02Rda7wEuqgRuClO60Rm7URzpDdnVuzY7DsAVVb3rfxca0ixy2 bbpAvDN9Mi09HoZDuVEu87wqOYddn56KqypU252kXS5eIQmLFjnIlBZnbzQBpr7wRCO/ULQkcZ QIw= From: Vijai Kumar K To: , Subject: [PATCH v2 09/10] wic: misc: Add /bin to the list of searchpaths Date: Thu, 3 Sep 2020 00:32:46 +0530 Message-ID: <20200902190247.15421-1-Vijaikumar_Kanagarajan@mentor.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200902185624.15044-9-Vijaikumar_Kanagarajan@mentor.com> References: <20200902185624.15044-9-Vijaikumar_Kanagarajan@mentor.com> MIME-Version: 1.0 Content-Type: text/plain Return-Path: Vijaikumar_Kanagarajan@mentor.com X-ClientProxiedBy: svr-orw-mbx-08.mgc.mentorg.com (147.34.90.208) To svr-orw-mbx-01.mgc.mentorg.com (147.34.90.201) X-TUID: qTPiNGsRtOn+ 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) -- 2.17.1