From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6491554293275951104 X-Received: by 10.223.154.111 with SMTP id z102mr7938wrb.14.1512991932036; Mon, 11 Dec 2017 03:32:12 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 10.223.133.238 with SMTP id 43ls1690696wru.14.gmail; Mon, 11 Dec 2017 03:32:11 -0800 (PST) X-Google-Smtp-Source: ACJfBouo5qJQqXkQtakCHznFGPLnE1wsgRyED2FUHjnZQoBNyfWEgPOMyziVd9R40FWg/vjVLpan X-Received: by 10.223.163.72 with SMTP id d8mr6154wrb.32.1512991931730; Mon, 11 Dec 2017 03:32:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512991931; cv=none; d=google.com; s=arc-20160816; b=tUhu2mlCS34K8UnvbMO8d+ImQ1aNf0BWY672XTiWI2qkDYVWe2DSz2NZWmhdknZ/o7 2P+SKHS9kE7gs8XJjkZiR5NQyZ4zlKOSbftNBL/kHdV7xzWoseFcSmtD28RxkUYADlfD QC2DZQb0NrSGlS8GzZrtL8bL06l9Abbr9kSzrFGukEcYtO7LIaBFwYeszuPaVxuo1dmp Dni46Y+Kq2J2FD4vsfdbk+lHrjfVsOEBfW943BYOmHrE/SMc2Jxy5khW4vfNCsyOOoR+ VJHHfAcaEo18DkoVx/jSicZ8DGX9hrEOT/7sPEcs6lnaX7tVFOh+PFcXDLESllRim6Pl BVGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:arc-authentication-results; bh=Gp8fkWTzEBCIRGDLIQaHUBd1diDjXPDNib0rVdoXbaw=; b=fKoxwZooszCUMqfhB+hiwHrL8/oJTl9TwsTJkTWP0CWI0FciRsfMayq9T/XXi/LOfP 79hObWeEYiHdq5I8gXu6noTlClqOIcIRYBAL58v/XKlBth+YZ5hW7+GZ0jWi69q67VvZ XpXSZI78Qh8rgYArxnB1WUmxZCUhv3VX8FWHc5KLj+taRp1g9/fsMwPIwST/yLKVxSQA DCdJQbYB0/jcOLYQBYqW1m84Anvn9+NUOPAE9NHCoqLRbn8miiXJc0Il6WseLsirRzqO RVL7wz5EtvKmtSTJjDhhigY+0swHJppMHrvdsAJ65L6ZQO9K3EaHgHoejq/FilefgFa9 xF8Q== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Return-Path: Received: from goliath.siemens.de (goliath.siemens.de. [192.35.17.28]) by gmr-mx.google.com with ESMTPS id k6si704513wme.4.2017.12.11.03.32.11 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Dec 2017 03:32:11 -0800 (PST) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.28 as permitted sender) client-ip=192.35.17.28; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Received: from mail3.siemens.de (mail3.siemens.de [139.25.208.14]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id vBBBWBNP026633 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 11 Dec 2017 12:32:11 +0100 Received: from md1em3qc (md1pvb1c.ad001.siemens.net [139.25.68.40] (may be forged)) by mail3.siemens.de (8.15.2/8.15.2) with ESMTP id vBBBWA6P031639; Mon, 11 Dec 2017 12:32:10 +0100 Date: Mon, 11 Dec 2017 12:32:10 +0100 From: Henning Schild To: "[ext] Christian Storm" Cc: Subject: Re: [PATCH 3/4 v2] buildchroot: Add prepare and cleanup tasks Message-ID: <20171211123210.5e5c08d4@md1em3qc> In-Reply-To: <20171208075806.dxvaf7harsupg7co@MD1KR9XC.ww002.siemens.net> References: <20171123102532.26274-4-asmirnov@ilbers.de> <20171208075806.dxvaf7harsupg7co@MD1KR9XC.ww002.siemens.net> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TUID: xYccKN33ir0s Am Fri, 8 Dec 2017 08:58:06 +0100 schrieb "[ext] Christian Storm" : > > 2. 'do_cleanup': This task is executed after all the packages are > > deployed. Some notes: > > - This task also should not have stamp. > > - This task depends from the recipes listed in IMAGE_INSTALL. > > This breaks build dependencies when building two packages from source > (same example I've given in other posts as well): These kind of deps are a known missing feature in Isar. Nothing can break a missing feature. > Consider A-dev required by B, both to be built from source. B cannot > install the A-dev.deb since B depending on A-dev's deploy_deb() and > installing it the ugly way via dpkg -i (as no other option is > currently available in Isar) puts B as late in the task order so that > it's git repo is not mounted anymore. Failure. I think that is what your local hack is based on? Henning > If A-dev installs it's produced .deb as last step in its > dpkg_runbuild(), which is also ugly, then there's a potential race in > dpkg. Failure. > > > Christian >