From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6521574336665485312 X-Received: by 10.84.77.150 with SMTP id y22mr470042oix.63.1518527012284; Tue, 13 Feb 2018 05:03:32 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 10.202.16.14 with SMTP id 14ls448596oiq.6.gmail; Tue, 13 Feb 2018 05:03:31 -0800 (PST) X-Google-Smtp-Source: AH8x224HOIaUGH7b+0PHw3KYQH9fvN5HIC4CaLd5QUQZ3gXY5bSV3F+cf/e/L8hf1OnPUujK0nM4 X-Received: by 10.202.61.134 with SMTP id k128mr473120oia.114.1518527011941; Tue, 13 Feb 2018 05:03:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518527011; cv=none; d=google.com; s=arc-20160816; b=ETsGRVBysrf+8Tz4uFRhJcvlsCeFL/Snv+RB3SQPuj1c9Oa5yRvTybDyJaHmk0JtTa i/R4jitYHA9gbSYi0wm9xcE48gUcZtIau7HdZpyQHDM6k9YmPc12QZRE1ZtvtJg6r/Hm TCgvjF30/KoFzrRkKwvOPPI9PlKR/M6vb9LK+9QGmvJEXafh0I36bPNjJ1aE0ugKOu4v IUuunpcX5XBLn+vCIb3XUBOMd5OdeZZDimiawO7OKrdCFPmLjjJF7ZV5NAKmPcOQQX9m shgqheHh9wUnhPXfaBvyuACIs7mFvpN14V23K3ZdtmkN8t8pOCbjDPJTkTeRWQeK88pL +hfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject :arc-authentication-results; bh=O7qjZpamw1U879IU6oSVAvcFYEiKCA2ilMjgR5qZTxM=; b=rPKtAiChkYj9b2TadpHlAhqIF0/QofuZ0n0EWBLx/FPIg4EyDj9INltjb3M8g2aJ1J 8H+Np9jA7vU3ukk8GeJ5XK2syWSLPab8kuWLmEU0qVitCowC4obVUdhWnTIWWByad3G8 MYlOVwMAtyPsP2I6JcEf7T21PpSy6B5shkTrHBaOU916kRUlpRz9vq/xIi9xnvBFy3kc k3gkkOcNZWfpJGvmvML79vQwGC4sc5gnGFZJLSqHcJc5BLJP+ZuruC8EBfzU53dtPuAI aaBA1JMcQJwCP5maIlix9ln4CFbaJvNhKnfqgj9vE/IZYvBrqeBirE4WhDqnI3y6bcyq rL+A== 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 d67si778452otb.0.2018.02.13.05.03.30 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Feb 2018 05:03:31 -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 [10.0.2.15] ([188.227.110.165]) (authenticated bits=0) by aqmola.ilbers.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id w1DD3Odj006089 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 13 Feb 2018 14:03:26 +0100 Subject: Re: [PATCH 4/6] Enable proper rebuilds on dependency changes To: Jan Kiszka , isar-users References: <7d0504da7640612abded5ffe1e1b3c6d10168b49.1518422347.git.jan.kiszka@siemens.com> From: Alexander Smirnov Message-ID: <73bd323b-0dc2-a84a-ae5a-59177cfe6921@ilbers.de> Date: Tue, 13 Feb 2018 16:03:19 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <7d0504da7640612abded5ffe1e1b3c6d10168b49.1518422347.git.jan.kiszka@siemens.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: RleU19xfGqWB On 02/12/2018 10:59 AM, Jan Kiszka wrote: > From: Jan Kiszka > > Install a basichash as signature handler and set the stamp policy to > full - and suddenly we get proper rebuilds of the image and all affected > packages when some recipe down the dependency chain changed! > > We are using the legacy bitbake mechanism here as we do not have > setscene machinery like OE. Still good enough for us. > BTW: have you tried this? Two years ago I tried it in Yocto and it didn't work properly, not all the dependents were rebuilt. If it works, it's a very good feature! Also do you know if this feature relies on DEPENDS variable? If so, we should keep this in mind with the idea to drop DEPENDS from recipes. Alex > Signed-off-by: Jan Kiszka > --- > meta/conf/isar-bitbake.conf | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/meta/conf/isar-bitbake.conf b/meta/conf/isar-bitbake.conf > index 660e0c0..c01e486 100644 > --- a/meta/conf/isar-bitbake.conf > +++ b/meta/conf/isar-bitbake.conf > @@ -37,9 +37,8 @@ BB_HASHCONFIG_WHITELIST ?= "${BB_HASHBASE_WHITELIST} DATE TIME SSH_AGENT_PID \ > GIT_PROXY_COMMAND ALL_PROXY all_proxy NO_PROXY no_proxy FTP_PROXY ftp_proxy \ > HTTP_PROXY http_proxy HTTPS_PROXY https_proxy SOCKS5_USER SOCKS5_PASSWD \ > BB_SETSCENE_ENFORCE BB_CMDLINE BB_SERVER_TIMEOUT" > - > -# Setup our default hash policy > -BB_SIGNATURE_HANDLER ?= "noop" > +BB_SIGNATURE_HANDLER ?= "basichash" > +BB_STAMP_POLICY ?= "full" > > # Add event handlers for bitbake > INHERIT += "isar-events" >