From patchwork Fri Jun 16 17:56:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anthony PERARD X-Patchwork-Id: 9792507 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C51F260231 for ; Fri, 16 Jun 2017 17:59:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BD35728573 for ; Fri, 16 Jun 2017 17:59:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B21AF2862B; Fri, 16 Jun 2017 17:59:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6FE2728573 for ; Fri, 16 Jun 2017 17:59:32 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLvUf-0004wm-6U; Fri, 16 Jun 2017 17:57:13 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLvUe-0004w6-9o for xen-devel@lists.xenproject.org; Fri, 16 Jun 2017 17:57:12 +0000 Received: from [85.158.139.211] by server-16.bemta-5.messagelabs.com id 23/E0-01752-7FB14495; Fri, 16 Jun 2017 17:57:11 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuplkeJIrShJLcpLzFFi42JxWrrBXveLtEu kwdVuNovvWyYzOTB6HP5whSWAMYo1My8pvyKBNWPl+oCCKawVq5/tY2xg3MzSxcjJISHgL/Fm aQcTiM0mYCCxYvpVxi5GDg4RARWJ23sNQMLMAhESL26sYgOxhQXiJc6cXcsOYrMIqEq82vgHz OYVsJWYsfY6O8RIeYlp73pZQcZwCthJ/N5aDBIWAir5u6KRDcJWk7ixcBkLRKugxMmZT1ggVk lIHHzxgnkCI+8sJKlZSFILGJlWMaoXpxaVpRbpmuslFWWmZ5TkJmbm6BoamOrlphYXJ6an5iQ mFesl5+duYgQGDQMQ7GA8Ntn5EKMkB5OSKO/7J86RQnxJ+SmVGYnFGfFFpTmpxYcYZTg4lCR4 Q6RcIoUEi1LTUyvSMnOA4QuTluDgURLh3c8HlOYtLkjMLc5Mh0idYtTlaPqw5QuTEEtefl6ql DjvRJAZAiBFGaV5cCNgsXSJUVZKmJcR6CghnoLUotzMElT5V4ziHIxKwryaIFN4MvNK4Da9Aj qCCeiIoAsOIEeUJCKkpBoY6/beftkSsZ9Ne+vVrU0iE9paT/22re8X0X74deXCVX55XDnS2w/ 2/bqrGcez84Mxa6lc0CSrE34BDBtP3lERU/OT/OktULglJr48vUA58XugxZqEa/ud/3czZ2Wn MsTusla03Fz+b/+MVSUmilXrRGY0frwey6Czg+tku3e/D2vhub+HelqVWIozEg21mIuKEwEAc lOloAIAAA== X-Env-Sender: prvs=333b30148=anthony.perard@citrix.com X-Msg-Ref: server-16.tower-206.messagelabs.com!1497635826!87926452!1 X-Originating-IP: [66.165.176.63] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni42MyA9PiAzMDYwNDg=\n, received_headers: No Received headers X-StarScan-Received: X-StarScan-Version: 9.4.19; banners=-,-,- X-VirusChecked: Checked Received: (qmail 20732 invoked from network); 16 Jun 2017 17:57:07 -0000 Received: from smtp02.citrix.com (HELO SMTP02.CITRIX.COM) (66.165.176.63) by server-16.tower-206.messagelabs.com with RC4-SHA encrypted SMTP; 16 Jun 2017 17:57:07 -0000 X-IronPort-AV: E=Sophos;i="5.39,348,1493683200"; d="scan'208";a="436747342" From: Anthony PERARD To: Date: Fri, 16 Jun 2017 18:56:51 +0100 Message-ID: <20170616175704.7832-8-anthony.perard@citrix.com> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170616175704.7832-1-anthony.perard@citrix.com> References: <20170616175704.7832-1-anthony.perard@citrix.com> MIME-Version: 1.0 Cc: Anthony PERARD , Ian Jackson Subject: [Xen-devel] [OSSTEST PATCH v11 07/20] ts-openstack-deploy: Keep CURL_CA_BUNDLE when sudo is called X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP This is part of commit "ts-openstack-deploy: set CURL_CA_BUNDLE" but also allow pip to work when it is called via sudo without preserving the existing environment variables. Signed-off-by: Anthony PERARD Acked-by: Ian Jackson --- ts-openstack-deploy | 1 + 1 file changed, 1 insertion(+) diff --git a/ts-openstack-deploy b/ts-openstack-deploy index 6d7de1c..147071f 100755 --- a/ts-openstack-deploy +++ b/ts-openstack-deploy @@ -132,6 +132,7 @@ END target_putfilecontents_root_stash($ho, 100, <