From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6521574339082452992 X-Received: by 10.28.3.11 with SMTP id 11mr166638wmd.4.1518530468904; Tue, 13 Feb 2018 06:01:08 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 10.28.141.4 with SMTP id p4ls1595373wmd.12.canary-gmail; Tue, 13 Feb 2018 06:01:08 -0800 (PST) X-Google-Smtp-Source: AH8x225CMt9lIvgQZqUcRwBdIgBs3kPSfXS32sNotcy5fSDK7iID+eZf4ZYa0M5OtxoySMDYqWSr X-Received: by 10.28.190.2 with SMTP id o2mr181243wmf.2.1518530468573; Tue, 13 Feb 2018 06:01:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518530468; cv=none; d=google.com; s=arc-20160816; b=rvfmGq6US6TtEGZdgSq8A8TmvBUeJwYFrA2H/gok6iInvGxxvL5Coo7XLq7S32rtdR 6bzePlEQ/Y8cZzKlx48o44IDsVZVVxzYzlzA2zjqk6GROYaYfxPb4T93/on3Th/kw2VC 8o10f6cIbdUubo0yZVeIPoPO0yvxIYt596ApvDo8SvybgJygMqZ6Q5pDLgKzcqKlyXry YP1az6d66bxOLcrZRhs4HIFDWzCe60d9geSdWWHmfhIG1GSA/n4jBfn/pcLBgvtgDvLx 3p3ltklChiKMwPfYTKmsoxiBShCE6wo7TnymtPMEVlEjGkIMwDc5h3S3rI1VK6NIhhyF x6Sg== 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=KTLwt2yA4izu4wHtWpioB0PO22OXr5RFUaAo48L93ho=; b=gd0fdtRiRY5O/MBfd9JDLzLuZKiBrK3R14oh00bzucsP0T56/6DEx3RSv1gemwdEw7 LsECGy/zxFGH1/L+98DvCg4VbvEO3cLtg3h1JWZOOr6q0ux79ZdMxJtjYDH9BNmd+Hjx dJNh8pzn9yPfJP99vMCkUS/4VeEHtX+Zp5en8tYNqFKo6J+3H0oTPZhM4J+GJDyHRjYn zjpaplwP9b73jPbv9F0Z0yHc25Gt9AgaqAzWQPsCmcSnqr29JegmwYXbGfF6skrPTVUE y1+ehF0c5wO1GxzuNqh4vGOLU8aFNpHy/2u7vcE13taNeggNRX7ltEIawDhEox5it+8N ABAw== 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 c11si687428wrb.0.2018.02.13.06.01.08 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Feb 2018 06:01:08 -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 w1DE15G6006224 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 13 Feb 2018 15:01:07 +0100 Subject: Re: [PATCH 0/6] Add support for automatic partial rebuilds on recipe changes To: Jan Kiszka , isar-users References: From: Alexander Smirnov Message-ID: Date: Tue, 13 Feb 2018 17:01:00 +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: 8bit X-TUID: SVs3sdsnZM8m On 02/12/2018 10:59 AM, Jan Kiszka wrote: > Yeah, finally Yocto/OE-like usability: This ensures for many cases that > changes to recipes lead to rebuilds of dependent recipes, including the > final image. Some extra measures are needed so that those rebuilds work > with clean dirs. > > And if the change detection should not work, e.g. changes to file:// > resources are not detected, then a clean or cleanall task is now > available and ensures a proper manual rebuild. > > This massively increases the fun factor when developing Isar projects. > Got error during build: $ time bitbake multiconfig:qemuarm-wheezy:isar-image-base multiconfig:qemuarm-jessie:isar-image-base multiconfig:qemuarm-stretch:isar-image-base multiconfig:qemui386-jessie:isar-image-base multiconfig:qemui386-stretch:isar-image-base multiconfig:qemuamd64-jessie:isar-image-base multiconfig:qemuamd64-stretch:isar-image-base multiconfig:rpi-jessie:isar-image-base ......... builder@zbook:~/isar$ cat /home/builder/isar/build/tmp/work/raspbian-jessie-armhf/example-raw-0.2-r0/temp/log.do_install.16775 DEBUG: Executing shell function do_install NOTE: Creating example-raw binary NOTE: Putting example-raw into package install: creating directory ‘/home/builder/isar/build/tmp/work/raspbian-jessie-armhf/example-raw-0.2-r0/image’ install: creating directory ‘/home/builder/isar/build/tmp/work/raspbian-jessie-armhf/example-raw-0.2-r0/image//usr’ install: creating directory ‘/home/builder/isar/build/tmp/work/raspbian-jessie-armhf/example-raw-0.2-r0/image//usr/local’ install: creating directory ‘/home/builder/isar/build/tmp/work/raspbian-jessie-armhf/example-raw-0.2-r0/image//usr/local/bin/’ ‘/home/builder/isar/build/tmp/work/raspbian-jessie-armhf/example-raw-0.2-r0/example-raw’ -> ‘/home/builder/isar/build/tmp/work/raspbian-jessie-armhf/example-raw-0.2-r0/image//usr/local/bin/example-raw’ NOTE: Now copy /README into package install: creating directory ‘/home/builder/isar/build/tmp/work/raspbian-jessie-armhf/example-raw-0.2-r0/image//usr/local/doc/’ ‘/home/builder/isar/build/tmp/work/raspbian-jessie-armhf/example-raw-0.2-r0/README’ -> ‘/home/builder/isar/build/tmp/work/raspbian-jessie-armhf/example-raw-0.2-r0/image//usr/local/doc/README-example-raw-0.2’ NOTE: Now for a debian hook, see dpkg-deb ‘/home/builder/isar/build/tmp/work/raspbian-jessie-armhf/example-raw-0.2-r0/postinst’ -> ‘/home/builder/isar/build/tmp/work/raspbian-jessie-armhf/example-raw-0.2-r0/image//DEBIAN/postinst’ install: cannot create regular file ‘/home/builder/isar/build/tmp/work/raspbian-jessie-armhf/example-raw-0.2-r0/image//DEBIAN/postinst’: No such file or directory WARNING: exit code 1 from a shell command. ERROR: Function failed: do_install (log file is located at /home/builder/isar/build/tmp/work/raspbian-jessie-armhf/example-raw-0.2-r0/temp/log.do_install.16775) Alex