From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6521574336665485312 X-Received: by 10.28.15.145 with SMTP id 139mr353334wmp.27.1518422350971; Sun, 11 Feb 2018 23:59:10 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 10.223.154.77 with SMTP id z71ls3585709wrb.7.gmail; Sun, 11 Feb 2018 23:59:10 -0800 (PST) X-Google-Smtp-Source: AH8x224Dj6QKJzwMW4JoKgG8jEDV1iLXBVWSaKZ/iMvTh1fZ4GkiPPjL8sm4OyLqMI7bcj6tZVYf X-Received: by 10.223.156.136 with SMTP id d8mr55029wre.9.1518422350422; Sun, 11 Feb 2018 23:59:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518422350; cv=none; d=google.com; s=arc-20160816; b=qRgJlwNdAkAWxGEXDd0KiqnzSjmDJRecMKxBA0/zfEeZR81ru40wmXwdnC9A75A1rM rLoMI+4qyU3rRk8ug4bOP1SboZCPootb6stcjIxUeKYdY28uTj+HbWc+VT5x1yJDT/LW ZvhIAAsrbpuuEcGnnQh/vufP3qGoeQzFT4AjRk4cqahtMsDvu59xk8kabhVYIxPA4Kou qcmrPsvVz3MKi/7v+8vr5s7B2COYMcTyHg2KK08oq0LCcCQNKXcKytvRaAu1P6+DCk+a JqR7L2iZdZnzZahP2SsgGSzgGxQr+n7wZt3tU8vMEbuLTrX1b2bjBwfx+4gXUtY4uGWk bmcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:references:in-reply-to:message-id:date :subject:to:from:arc-authentication-results; bh=w1sSaEX36soeDbfUYVjyenEvQfjQCyoWORMN75vRXQg=; b=Iv8hkSAvgXkYpmWd+6NT+tnsZlz9pdoWA6oIsgWOCF7a9sMGesEz5FPHtWZOCZvjn/ h0GmvGuMGVZqXZcpJ0VffPeqpgxyImmk8YybFqv+n0RlIoZjlm1Sp71ZUgmGUUIucsmI 4YBRMmQTLMnunezhbeuUFaF3v1xbarXJQL7T4fEUSfDCrYRZXbl5MQpQCx9P4j0Ha7Af JBFYiVse0/FryF38zSTka3JP1bzhWVFx4At5eCrag4ErfldqNCCR8K6md6KekeOGAt/O DJyLSObQPAnCktjHB2EmL3diTUXRwF6jZWRV9bYCYF1ufJ+QRuxkZBQffUYUP0DZEEPx nCuQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.14 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com Return-Path: Received: from david.siemens.de (david.siemens.de. [192.35.17.14]) by gmr-mx.google.com with ESMTPS id 200si316070wml.2.2018.02.11.23.59.10 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 11 Feb 2018 23:59:10 -0800 (PST) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.14 as permitted sender) client-ip=192.35.17.14; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.14 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com Received: from mail3.siemens.de (mail3.siemens.de [139.25.208.14]) by david.siemens.de (8.15.2/8.15.2) with ESMTPS id w1C7xA5f012898 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 12 Feb 2018 08:59:10 +0100 Received: from md1f2u6c.ww002.siemens.net ([167.87.31.168]) by mail3.siemens.de (8.15.2/8.15.2) with ESMTP id w1C7x8RX025201 for ; Mon, 12 Feb 2018 08:59:09 +0100 From: Jan Kiszka To: isar-users Subject: [PATCH 4/6] Enable proper rebuilds on dependency changes Date: Mon, 12 Feb 2018 08:59:05 +0100 Message-Id: <7d0504da7640612abded5ffe1e1b3c6d10168b49.1518422347.git.jan.kiszka@siemens.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: References: In-Reply-To: References: X-TUID: 6xQd6lG2VnTM 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. 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" -- 2.13.6