From patchwork Fri Sep 29 03:18:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Fam Zheng X-Patchwork-Id: 114468 Delivered-To: patch@linaro.org Received: by 10.140.104.133 with SMTP id a5csp308103qgf; Thu, 28 Sep 2017 20:20:39 -0700 (PDT) X-Google-Smtp-Source: AOwi7QDcaTdrvrr2uqbFQNBXTu6K//oTv6f9OE7H03D7cDkMhxBumj94vOerfu8MM/0V6p72V3IR X-Received: by 10.55.97.68 with SMTP id v65mr1450370qkb.124.1506655239205; Thu, 28 Sep 2017 20:20:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506655239; cv=none; d=google.com; s=arc-20160816; b=RCuhGQO45dcWUpJvvWFxfTfn+nNFVeNjxuldoeQVFr9WxULh2xzQf5daox+RgEtQAf 5Xs6s+unUsboRG2nwrom7RtkpwjeEpI8uPoUk5M29IuNmlxLdY5nfp0RLR1zXm2TN9wm GXxn5jzAJxoZNNmpiL+XYktrUvm9RhtvfVMMP2B/krUzurYFUmhPPAdQ13ZRrSiohuKn Cltxb9d50sm8aJS2ipuwJEjnn9p0kQfTJV9vNln+FisY9mMRescYZ7wTzQQOb0BaEUtQ yXfUbrIt3LPYg4r50m1U86HHrw8vi9X5RD4zof8pH1qtKpzhLZPp9Bwq+N2TcuNediWD Ruyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dmarc-filter:arc-authentication-results; bh=/3Z7yVidQqwGeuwVbom6t8dGCZx5WD4R960PqfdWqfs=; b=PWzSUlvXymdBU5ct4DRvCNXam4EO+taDydDbb+cWcqqzoVSLS4z4vJQPdJbsqLVH43 +kfyQCus5DeFxq40TY/heHBJDEvFcJa6BjsbpqfchB+knXp4TBYARw6mekcZcaOegbKL OXJ+hH07E1CRHpqIc6cd6OLTZb+L4u0wXlXKbtITG0v0vsw1qnA3+sn+JGsN4rtmXQu2 ET0Y8sDRqWVBKUl0Lpc9QoI3x0CTcbRwa9Mw50xzQyjSCcc1OClMkfXC70UImbdPULol Zypb+EuSEuwpfdNEZS7cDs7wGxetugpWgw6z8bid9wyEANhHT76XOx513bnO9HCHJZ6C 6bTQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@gnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@gnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id 61si2894767qta.46.2017.09.28.20.20.38 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 28 Sep 2017 20:20:39 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@gnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@gnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@gnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from localhost ([::1]:33482 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxlqv-0008TQ-3N for patch@linaro.org; Thu, 28 Sep 2017 23:20:37 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33631) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxlp3-0007dE-Rh for qemu-devel@nongnu.org; Thu, 28 Sep 2017 23:18:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dxlp2-0002Yf-RG for qemu-devel@nongnu.org; Thu, 28 Sep 2017 23:18:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52746) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dxlp2-0002YD-LV for qemu-devel@nongnu.org; Thu, 28 Sep 2017 23:18:40 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A1A16C04AC45; Fri, 29 Sep 2017 03:18:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com A1A16C04AC45 Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=famz@redhat.com Received: from lemon.redhat.com (ovpn-12-154.pek2.redhat.com [10.72.12.154]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7CFC617103; Fri, 29 Sep 2017 03:18:38 +0000 (UTC) From: Fam Zheng To: qemu-devel@nongnu.org Date: Fri, 29 Sep 2017 11:18:29 +0800 Message-Id: <20170929031831.10179-4-famz@redhat.com> In-Reply-To: <20170929031831.10179-1-famz@redhat.com> References: <20170929031831.10179-1-famz@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Fri, 29 Sep 2017 03:18:39 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PULL 3/5] tests/docker/run: don't source /etc/profile X-BeenThere: qemu-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@gnu.org Sender: "Qemu-devel" From: Alex Bennée The usual behaviour of /etc/profile is to set the default PATH for users. This runs into problems when we have updated PATH in our dockerfile e.g. to access a cross-compiler in a non-standard location. It shouldn't be needed anyway as we inherit the env from the image when it was setup. Signed-off-by: Alex Bennée CC: Philippe Mathieu-Daudé Message-Id: <20170926133622.14991-1-alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Fam Zheng --- tests/docker/run | 1 - 1 file changed, 1 deletion(-) -- 2.13.5 diff --git a/tests/docker/run b/tests/docker/run index 0fd2f358ce..642084bcb8 100755 --- a/tests/docker/run +++ b/tests/docker/run @@ -18,7 +18,6 @@ fi BASE="$(dirname $(readlink -e $0))" # Prepare the environment -. /etc/profile export PATH=/usr/lib/ccache:$PATH if test -n "$J"; then