From patchwork Wed Mar 21 02:42:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andre McCurdy X-Patchwork-Id: 132173 Delivered-To: patch@linaro.org Received: by 10.80.152.129 with SMTP id j1csp4871018edb; Tue, 20 Mar 2018 19:42:51 -0700 (PDT) X-Google-Smtp-Source: AG47ELtNCeZE3b5gUZXM4Q5kg9v9Hc31nlk7D1hiZ2zBSvnZCBzZOmZbro9jW+BfZdgl1L9f5SW7 X-Received: by 10.101.100.141 with SMTP id e13mr14087023pgv.333.1521600171810; Tue, 20 Mar 2018 19:42:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521600171; cv=none; d=google.com; s=arc-20160816; b=niTQ+tIxYZbFBny8dxOUfJqzgjJ8A1QyYbERreekA4EymkFkTsM6l/bOp8p4ORkyGi NPzxatlVd/DWW0pML5QxfmCZ22mK6IgJJ5h/9mPBMqHJXT6qSDSh23w8cvb1AwNMD7AD w9SIkgLrLRHhXJ7efU0Pi9ci39W2a2ivPwvyfD3Yam2wkk2ox66iP1OkskVDn1FnsPtL rqFtvlxvQtJbyPN5un7ubN7kAV3hpVCNuzvD9tu7+FWz78Tb27IbY1BnQ44dH7HcXQLo sd80IkVlxQ2oJ52rptyn3E3n2wtAY5CQ9GWNPTMGxPp12g3JqccEO4pfgnvD3B01okmX Kr3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=tEui9g/U4buIGUS3CdsDAqGpLsxUuZEdCYFQuxtxAGw=; b=Tt1NuiFYM2AEnimLdkUfkSimEsbIUmlDLzNT3LBxm630kl8XlMkTgT8oyI3JhbYEzU Vp8YV9n97jz28iKlfQa34h7zk0HktWdVCjfcCdvZSegFIUSypiOS1iGd6FHMVFASJN+O sY+vP9FdEJnuMQ3Qi2iZC4yJb9DwkWxbv7vcVdF9O4t4us4XelMgtoMaClhg3eRYe+Vb 202EY7a+JRgRr7jcGFM0ocxAO9ZB09L2tPFs/YYSsEHxT4LEYyZPKG9OgZtcJxtIkTmi PIU+CGD1Az2waFVH39t5D7ozsKHsaUP0JBZ4zBj5oNIN1aUIW4ybtBbVkZWBJZBuRMbC I8Pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=biEfGF1/; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id d16-v6si2797325pll.504.2018.03.20.19.42.51; Tue, 20 Mar 2018 19:42:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=biEfGF1/; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id EBC8278972; Wed, 21 Mar 2018 02:42:44 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f196.google.com (mail-pf0-f196.google.com [209.85.192.196]) by mail.openembedded.org (Postfix) with ESMTP id 7AD0278966 for ; Wed, 21 Mar 2018 02:42:40 +0000 (UTC) Received: by mail-pf0-f196.google.com with SMTP id h11so1463526pfn.4 for ; Tue, 20 Mar 2018 19:42:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=JwTA1a0Hl48lJUMMVDAw9rysxGSN05BsA0aQWndQqWw=; b=biEfGF1/M09yGc0qwN+uwbhQN5PyqZKSC49vW1jZW8kYz5vedLXpGbSDDdhIVAxspz ixlZuzteTtiwc34Jr/9TQVrrAs1TsCEppfoAsakWnIQ2tBTI2QBQDR6766la9o99QS3k p32bWWMUgy0wxL+3nao6fzgS7MQqDelCM/VXHT72Dw+RQ6vntMuio7D9H91ynvGK00pc 5Tz8t1frCSfNnhP3mXjye/wgqC0+N8/H8iROe79Vjahzu9cP1wXmAQXIGkZSk4vWAoUH jIdqLD/gh2vjTwlbIk3rK8dicaVxguxaOxPhptRZ3e6gRUuaiJPzTjv1dGyCqkTFIAMQ BD+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=JwTA1a0Hl48lJUMMVDAw9rysxGSN05BsA0aQWndQqWw=; b=PXsYg/Piglx2sUIfx4Z7SUATCd3U7GQPZIMIjDWash77qwUkLQB4dQk84q8RQqRAbh VdMuwOcH4ZyCYx41Et4/j2pveD2fRsNMQcIU3nmp0sZzhZvDwkOfF+1VQ4kQaYRWGczP eIFTCelD1jfqeFpIJ1FpeNCfNxJlQKaZXNJatELLlIKJfTLH8ZIlYxCNtaC9251ihuXl InezIcEleWqSIVuXn352owfpZxjOsdrLtTUUjuvBxizoBN1d8BWHi5dTQSMC1aiDLuUt OTYV5o/bi1ZNcBwsAaagPcaZXTAE+p62GZsVeVlPA3iG59NuJ1vpnK4h9q7U9t9ZqKyz kMZg== X-Gm-Message-State: AElRT7F0pKeDeg9NR8USifqgesWSjDkIsyNlBmYoFGcQvjw573l8U21p rDczd1/yUholsKh5YmrL780MwQ== X-Received: by 10.98.213.9 with SMTP id d9mr8933506pfg.234.1521600161530; Tue, 20 Mar 2018 19:42:41 -0700 (PDT) Received: from e6520.cablelabs.com ([4.16.80.121]) by smtp.gmail.com with ESMTPSA id 12sm6172559pfr.108.2018.03.20.19.42.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 20 Mar 2018 19:42:40 -0700 (PDT) From: Andre McCurdy To: openembedded-core@lists.openembedded.org Date: Tue, 20 Mar 2018 19:42:25 -0700 Message-Id: <1521600149-3894-3-git-send-email-armccurdy@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1521600149-3894-1-git-send-email-armccurdy@gmail.com> References: <1521600149-3894-1-git-send-email-armccurdy@gmail.com> Subject: [OE-core] [daisy][PATCH 2/6] kernel.bbclass: Remove bashism 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org From: Khem Raj Fixes build on systems using dash for default shell e.g. errors like run.do_strip.25842: [[: not found | readelf: Error: Unable to read in 0x37 bytes of section headers | readelf: Error: Not an ELF file - it has the wrong magic bytes at the start Change-Id: I29cac15be44a02d75a3d6889b6ae9b2e19bf46af Signed-off-by: Khem Raj Signed-off-by: Ross Burton (cherry picked from commit 6956ffdc6e9879e32360b6ee3a3d286618807485) Signed-off-by: Andre McCurdy --- meta/classes/kernel.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.9.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 922752b..049f86b 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass @@ -391,7 +391,7 @@ python split_kernel_packages () { do_strip() { if [ -n "${KERNEL_IMAGE_STRIP_EXTRA_SECTIONS}" ]; then - if [[ "${KERNEL_IMAGETYPE}" != "vmlinux" ]]; then + if [ "${KERNEL_IMAGETYPE}" != "vmlinux" ]; then bbwarn "image type will not be stripped (not supported): ${KERNEL_IMAGETYPE}" return fi