From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail1.windriver.com (mail1.windriver.com [147.11.146.13]) by mail.openembedded.org (Postfix) with ESMTP id 8379760024 for ; Mon, 29 Jun 2015 08:16:54 +0000 (UTC) Received: from ALA-HCB.corp.ad.wrs.com (ala-hcb.corp.ad.wrs.com [147.11.189.41]) by mail1.windriver.com (8.15.1/8.15.1) with ESMTPS id t5T8GtXD002063 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL); Mon, 29 Jun 2015 01:16:55 -0700 (PDT) Received: from [128.224.162.200] (128.224.162.200) by ALA-HCB.corp.ad.wrs.com (147.11.189.41) with Microsoft SMTP Server id 14.3.224.2; Mon, 29 Jun 2015 01:16:54 -0700 Message-ID: <5590FEF5.3000901@windriver.com> Date: Mon, 29 Jun 2015 16:16:53 +0800 From: Robert Yang User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: "Burton, Ross" References: <7eaec2a8209ca34e5d8b247f31935af496134aea.1435299778.git.liezhi.yang@windriver.com> <5590B63E.70009@windriver.com> In-Reply-To: <5590B63E.70009@windriver.com> Cc: OE-core Subject: Re: [PATCH 1/1] sanity.bbclass: check /bin/sh is dash or bash X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2015 08:16:56 -0000 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit On 06/29/2015 11:06 AM, Robert Yang wrote: > > > On 06/26/2015 09:10 PM, Burton, Ross wrote: >> >> On 26 June 2015 at 07:23, Robert Yang > > wrote: >> >> The build would fail when /bin/sh links to ksh or csh, we only test dash >> and bash AFAIK. >> >> >> csh definitely isn't a suitable candidate for /bin/sh, and I doubt ksh is too. >> Are people really doing this? They're just wrong... I seriously doubt Linux >> would boot with /bin/sh->csh and ksh would be asking for trouble. > > Hi Ross, > > Yes, Ubuntu would not boot well when /bin/sh -> ksh or csh, I just took > them as an example, I think that we only test on bash or dash, so I > think that this checking can reduce the potential errors, and I think > that we also need check SHELL, I will test and send another patch. I confirmed that the build is OK when set SHELL to /bin/ksh or /bin/csh, so we don't have to check SHELL. > > // Robert > >> >> Was this a real world problem, or a hypothetical problem? >> >> Ross