From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6451845432830066688 X-Received: by 10.99.119.135 with SMTP id s129mr2374958pgc.8.1502187324218; Tue, 08 Aug 2017 03:15:24 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.107.131.200 with SMTP id n69ls2760930ioi.16.gmail; Tue, 08 Aug 2017 03:15:23 -0700 (PDT) X-Received: by 10.101.72.201 with SMTP id o9mr2209569pgs.14.1502187323760; Tue, 08 Aug 2017 03:15:23 -0700 (PDT) Received: by 10.55.101.138 with SMTP id z132msqkb; Tue, 8 Aug 2017 03:05:00 -0700 (PDT) X-Received: by 10.25.166.210 with SMTP id p201mr546714lfe.9.1502186699711; Tue, 08 Aug 2017 03:04:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502186699; cv=none; d=google.com; s=arc-20160816; b=zMimcW/Qc43rkGs+rLxFq3BVGTbZ1vN5TobCkjDNMLHAfDrbIKmeHYdt2iqjZhueZL z10uIIzPfzCuqr8ne4JKcaFcxTNg8Q58LenzNrWZAK52xPHVKbh2Xtjz7CjNqi73ZIcY aUB55abS8JnE1ZD147y/Jog9VEJXA0b1929cMSk1UtlYNA5WkVhiV8GTrt/ydiWRXFyh H/Se5ygIjfMk7Loq33ZD2tCFoFWSKJC5J5KJufITfWCVqD10ZngDkSGYi3GT5LyvUyF1 te3pNElyHHC5iC3r/Fy1zjkQ3a6QRZDx0HRAdpSCHgDJydZYq65ticxevgbtgGmH2MNK RTbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=Lb44e3eaW+mee/H69g2jgZTtOXHVFMaV7kQCVrs7j+Q=; b=BknDyHdonJy9x1Ffs1J6AGuMQgHZEWdhPVueTE6ZxSjDEzJEsGTdzYYm4mD2Pkq59p 2Xhcxyn9Pnmn9xyD0mWOmIqIvw1CGBXcL6C/thckxe3eOkb8+ocElV3ny65CntiXA2uz kHqx0jdcXhr1q+p22IAX4Iq938jSDSFjbxrsdQ+HPQ+dZrPgTSf6grhDNRHWCvH/pECA FbN6AGx8hlGdz3l7wPWx984dSxQuoW14fmBBbIf7EDcyKlZ+B/m0yOM/vPbeQHEVpHz4 XGlnfheeLmwG3C9QXdvkz/dtRM8IqElMCmIVX9EKeECTXdm31CvTbwBZU2VYepKzzG3V qTPA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=asmirnov@ilbers.de Return-Path: Received: from aqmola.ilbers.de (aqmola.ilbers.de. [85.214.62.211]) by gmr-mx.google.com with ESMTPS id f3si3053202wme.4.2017.08.08.03.04.59 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Aug 2017 03:04:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) client-ip=85.214.62.211; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=asmirnov@ilbers.de Received: from localhost.localdomain ([188.227.110.165]) (authenticated bits=0) by aqmola.ilbers.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id v78A4aD7021408 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 8 Aug 2017 12:04:50 +0200 From: Alexander Smirnov To: isar-users@googlegroups.com Cc: Frank Lenormand Subject: [PATCH 4/4] buildchroot: Update build script. Date: Tue, 8 Aug 2017 13:04:24 +0300 Message-Id: <20170808100424.19607-5-asmirnov@ilbers.de> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170808100424.19607-1-asmirnov@ilbers.de> References: <20170808100424.19607-1-asmirnov@ilbers.de> X-TUID: LZGwYU6emIjw From: Frank Lenormand Handle the `package [arch]` syntax in Debian's `Build-Depends` field. Signed-off-by: Frank Lenormand --- meta/recipes-devtools/buildchroot/files/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/buildchroot/files/build.sh b/meta/recipes-devtools/buildchroot/files/build.sh index ba443bc..19d554e 100644 --- a/meta/recipes-devtools/buildchroot/files/build.sh +++ b/meta/recipes-devtools/buildchroot/files/build.sh @@ -9,7 +9,7 @@ cd $1 # Get list of dependencies manually. The package is not in apt, so no apt-get # build-dep. dpkg-checkbuilddeps output contains version information and isn't # directly suitable for apt-get install. -DEPS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` +DEPS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)|\[[^]]+\]//mg; print if $p' < debian/control` # Install deps apt-get install -y $DEPS -- 2.1.4