From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6491554293275951104 X-Received: by 10.28.132.202 with SMTP id g193mr809347wmd.24.1511432765744; Thu, 23 Nov 2017 02:26:05 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 10.28.120.3 with SMTP id t3ls1334865wmc.5.canary-gmail; Thu, 23 Nov 2017 02:26:05 -0800 (PST) X-Google-Smtp-Source: AGs4zMY6qPzvhAaxSuB8020ShCbxRrrNr2lX6ubwhPETGFaEq/j2uMpQrQH1glXzJKVliauxBWg3 X-Received: by 10.223.142.214 with SMTP id q80mr1940357wrb.22.1511432765115; Thu, 23 Nov 2017 02:26:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511432764; cv=none; d=google.com; s=arc-20160816; b=JN7NJuTi81nRZIuFw9tg0m+1SCOAei7Wnc2dCYkcrSC1il5vRFL54QW8ovMTqUVQSk eIYu0Xopc6KaEGbfQpUN+8/8rfCekIrQjT4rcWFdWFkUKZlpltzYHjYRinTkKEoizhYi 1uM0N14YptoxqktrOalyCvoHj/nJh2XOEmh2ko5rns56U1S+8Ymw20QtZpoayWZjfvCY oSRVRZnZvzY2H/6/AHuNTeQ1XD5+I8HL1bspPzCJfWglUtlQ1ZdIBrMCAqV/hpdlWyAC pCnudU/GCIs8Ah/5BtFeBnei6i5+ggHB8ScDN2Oz0LAlQYvyRuUlKOfOS+RUhu/DADX7 IgPQ== 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=YpXmtI+TlydNxn2qLK3Z+gxgIKokY4BZiA945VfchVU=; b=RSC2Y5a7hwoTiw5ocEiLVOOzg9sYOW2eQTHKS85bsR/hF0FxECSPVrf8IdKrdFzexl A0bt2QJOQ/tqcnOJ2BZFsr+hAQ081SVH/YDExeBDH2WNXTtLx+LWJ07I7y+Pd6iKa8MS oUYFU680pBhl1Emh66B9V3R64LUJVOF1FMgcq16qu4eBYSAbgdxWUL9sFrCn3N0pqWWy PPQ92L0PZY44xKgr5Ew5iXNgxQOKaUqCoqSQFv5kHKZOaAcG/B6yJvGXCFhGxGCSzxHL TIgEjDsCKEqOy31rbQNI1dDeb3q+0X3S+1j3+Zokxxqer+9BAwoQK2CN7mdjTlThIDM3 fktw== 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 r70si961039wmg.2.2017.11.23.02.26.04 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Nov 2017 02:26:04 -0800 (PST) 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 vANAPlsU005990 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 23 Nov 2017 11:25:55 +0100 From: Alexander Smirnov To: isar-users@googlegroups.com Cc: Alexander Smirnov Subject: [PATCH 1/4 v2] dpkg-base: Fix buildchroot dependancy Date: Thu, 23 Nov 2017 13:25:29 +0300 Message-Id: <20171123102532.26274-2-asmirnov@ilbers.de> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20171123102532.26274-1-asmirnov@ilbers.de> References: <20171123102532.26274-1-asmirnov@ilbers.de> X-TUID: +HXJJkkixlrA Existing code forces recipe to depends from 'do_build' task for all the items listed in DEPENDS, what actually makes no sense. This task only produces binary deb package and it can't satisfy any dependancies for another task. Original idea was to add dependancy from 'buildchroot:do_build' task, so this patch fixes this. Signed-off-by: Alexander Smirnov --- meta/classes/dpkg-base.bbclass | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta/classes/dpkg-base.bbclass b/meta/classes/dpkg-base.bbclass index 35af6d5..4941f9b 100644 --- a/meta/classes/dpkg-base.bbclass +++ b/meta/classes/dpkg-base.bbclass @@ -2,8 +2,7 @@ # Copyright (C) 2017 Siemens AG # Add dependency from buildchroot creation -DEPENDS += "buildchroot" -do_build[deptask] = "do_build" +do_build[depends] = "buildchroot:do_build" # Each package should have its own unique build folder, so use # recipe name as identifier -- 2.9.5