From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6521574336665485312 X-Received: by 10.25.33.67 with SMTP id h64mr177239lfh.4.1518545311597; Tue, 13 Feb 2018 10:08:31 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 10.25.44.194 with SMTP id s185ls1348580lfs.15.gmail; Tue, 13 Feb 2018 10:08:31 -0800 (PST) X-Google-Smtp-Source: AH8x224HSYsEwNphD7W5N4PJThJdZI2ERkBiU+A6g/SY6HWLt/HRuR1vQIqfMurgVYTrKW8tpxT2 X-Received: by 10.25.211.79 with SMTP id k76mr180598lfg.1.1518545311049; Tue, 13 Feb 2018 10:08:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518545311; cv=none; d=google.com; s=arc-20160816; b=fZmUz/Sm5BbhFJwI2NJx2L9P/2InolPAP2oND7/f7stXeczmApMF6a4Cy24Gbyqzf5 KPZ88hHb0KccB6UCd4PGDl8lvd02wLteQdDZwj1TznmuLTHoSKcg0S2rSF8PakaZToN3 PxWnDE51iCTx/AAc9b926ay2idKZEg++vr+67zRI4OYlfCZjUzFV4Dwc1Bxs5p0LHjni xTYM0KO5TWKXoRYYRm12g+Tz4BiyRO0BwCP33E0rAz+4Ftx/rnszk8eLdOmM1ouTI/qI MXgO/PsDkhs2CR1NR+RyyjMz2/riSA6kva2ER1BbSiw6kkWlJUAC/HFYH3ykVZzXu/C8 zdbQ== 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=rjmiGX15myXCUvHQFoLBDThyGgxDcITOdRgQ1v1lp38=; b=unAwYVQ675d3Cru7z4wFaOZ48HLzD5QTQJ8U/M8nx2d1TSdU4wHxbMQbJZ8va0F51D 80xryAn+MFs4LVlkLljw5TCcill/ZWSY6MVfN0CL0xV/Hj/kfqVnsWRg5IIJWj0hGDvo X/vyOTv3NJ0axB0JzcsNVrphF4dFYD5eMLTIiT867U4hJn7Gyz+5towaTMQ3e9zKf7qQ VzQDHlYhvYiUQHu9IrOHqzs0FYAh4xM0BAvbPs1jVp5zRN4EBGhVid9BSeJltUDSZlE+ MpNHxRFLwFPIKdzyv1v3Z2CSLfDgC+ZaiO7x/rCaswV33mnNhbrXuSxabwa427eFnyAO RBkw== 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 z10si655450lfj.3.2018.02.13.10.08.30 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Feb 2018 10:08:30 -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 w1DI8R1H007010 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 13 Feb 2018 19:08:29 +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> <73bd323b-0dc2-a84a-ae5a-59177cfe6921@ilbers.de> <4b84a0e3-df9e-8343-ff09-7b74474a0e95@siemens.com> From: Alexander Smirnov Message-ID: Date: Tue, 13 Feb 2018 21:08:22 +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: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: yeI30JrW+1EW On 02/13/2018 08:57 PM, Jan Kiszka wrote: > On 2018-02-13 17:21, Jan Kiszka wrote: >> On 2018-02-13 14:03, Alexander Smirnov wrote: >>> 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! >> >> Yes, I'm using it since this weekend for both Isar as well as >> jailhouse-images development, and it helped a lot already. The only >> limitation I found, but I do not remember right now if that isn't >> inherent to bitbake, is that it does not detect changes in files that >> the recipes carries in its SRC_URI (file://...). Then you need "-c >> clean" for the affected target - which now works as well. >> > > Found another issue, which worked surprisingly well so far despite being > fairly broken: do_setup_mounts is not re-run on rebuilds. Investigating exactly this issue. It occures for clean builds also. My guess is patch #3, currently I'm building with only 2 first applied. With 3rd one applied build failed. Alex > > Should be fixable, specifically by avoiding to stamp it. > > Jan >