From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6517546778931232768 X-Received: by 10.28.218.16 with SMTP id r16mr4294336wmg.11.1517513837264; Thu, 01 Feb 2018 11:37:17 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 10.28.199.10 with SMTP id x10ls156503wmf.9.gmail; Thu, 01 Feb 2018 11:37:16 -0800 (PST) X-Google-Smtp-Source: AH8x224pux6c6MFnjAGR7BQdk2Pt/jdehIuBIfmTJe/IHaGeTDvX26ARQwq6t+XDyctKLwRC2eQO X-Received: by 10.28.167.210 with SMTP id q201mr4149136wme.11.1517513836772; Thu, 01 Feb 2018 11:37:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517513836; cv=none; d=google.com; s=arc-20160816; b=LFNZoeSEmX45FRc7tZNkcI+1JCIaz96ThMtcusMr3cuaEePKk1YueO48i1eHejVsU3 aH1fO7Oi7eUuI3zNX3RPqI2IyFNQCAoE6ds/o7MJG78dyQDecsj6XgSAmZ3uRUshl2JM zmPgQXaN9gdijYUyFZ+66bb0xNgNqbfY+tx23Dbfct9rbTD5OUd6RrBeqQHnoEcvDKA0 9MrMpEnSlO1ilsWqdEzOAp8NMmEmzi1KN1cB7LSUiI7uV2qKzDaQJifk/i4Wadm0V+e8 ek6ZlGKlXNVXEy8WoIPtst3G5C92EQp3cxH2+YnNKVw0YPB6cXSPbsaN7U3JhqLBzF7P ghCw== 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=+vuNMhrvhB/rVyebmeooEx9CzRm9VXeJrmljcYQG+1s=; b=XxwZWdaYNpUw93TDkwzp6eNI0+luh6S72g5U8+FG7jgXyyfNPKmivSIT8mnYyNk7P9 HF6kxgDG1zw++x+xuF5LYudDE4J1Ky1zMGhDMsv07uS/2ij2anWjSr/d4VH8ZXKlGpus RKfpxbcBmSwUh7cYYUh9Qikwj8rDzk7jK5ph/pGsf9t9e87OdI6bD2AKW1np+e96UVcK PkYky5EkdAigd2rdhQ126tj7V7vK+sttIE6L+05x+uupK39uFIkQCp7lkc5WUdlEbdyh S7YXrI69SH8T9ESbnqlvp47RVZ/q30WPTWJZQdnqV3tarAGOR+uhssZ8vipuRTGOCINq To2A== 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 b10si51274wmc.0.2018.02.01.11.37.16 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Feb 2018 11:37:16 -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 w11JbC4L012683 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 1 Feb 2018 20:37:14 +0100 Subject: Re: [PATCH 0/4] Rework isar-apt To: Claudius Heine , Jan Kiszka , isar-users@googlegroups.com References: <20180201112944.7877-1-asmirnov@ilbers.de> <360fe4b8-2594-0577-2859-dafd18d4c55b@siemens.com> <4fd7ef75-d180-af99-c6e7-ce5af9ab6a55@ilbers.de> <1517510238.2646.18.camel@denx.de> From: Alexander Smirnov Message-ID: Date: Thu, 1 Feb 2018 22:37:07 +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: <1517510238.2646.18.camel@denx.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: +MydnI+A2wc2 On 02/01/2018 09:37 PM, Claudius Heine wrote: > Hi, > > On Thu, 2018-02-01 at 17:25 +0100, Jan Kiszka wrote: >> On 2018-02-01 17:22, Alexander Smirnov wrote: >>> On 02/01/2018 07:14 PM, Jan Kiszka wrote: >>>> On 2018-02-01 12:29, Alexander Smirnov wrote: >>>>> Hi all, >>>>> >>>>> this series intended to make buildchroot able to work with >>>>> isar-apt. >>>>> I've tried to add extended comments to each patch. >>>>> >>>>> Impact: with this series I'm able to build 'example-hello' <-> >>>>> 'libhello' >>>>> without any hacks. So the deps are installed automatically. >>>>> >>>>> NOTE: I've migrated to bitbake [lockfiles] mechanism, don't >>>>> know how >>>>> robust it >>>>> is, but build in the loop started in the evening didn't fail >>>>> during >>>>> the night. >>>>> >>>> >>>> I can happily report: It works as promised also for my use case >>>> (jailhouse.bb -> linux-jailhouse.bb, both Isar-built). >>>> >>> >>> Thanks! But I've found an issue with events. :-( Our bitbake didn't >>> handle them for multiconfig, the following patch seems to add this: >>> >>> https://patchwork.openembedded.org/patch/141626/ >>> >>> Events is very good mechanism to clean up Isar build from pending >>> mounts >>> without headache with build fails, so I think it would be valuable >>> to >>> try latest bitbake. I'll report the results as soon as build >>> finishes. >> >> Perfect: Claudius just told me we need to update bitbake anyway to >> have >> proper multiconfig support (i.e. no more hacky copying of files >> during >> isar-init-build-env). Claudius, which version at least? > > I haven't tested it but I think its this one: > > http://git.openembedded.org/bitbake/commit/?id=518b9015c2be8d3894277a8e > 54890d6f04d656c0 > The following patch is needed for latest bitbake (derived from Yocto): diff --git a/meta/conf/isar-bitbake.conf b/meta/conf/isar-bitbake.conf index 10cd45d..b853c88 100644 --- a/meta/conf/isar-bitbake.conf +++ b/meta/conf/isar-bitbake.conf @@ -28,5 +28,6 @@ BUILDCHROOT_DIR = "${TMPDIR}/work/${DISTRO}-${DISTRO_ARCH}/buildchroot/rootfs" BB_SIGNATURE_HANDLER ?= "noop" include conf/local.conf +include conf/multiconfig/${BB_CURRENT_MC}.conf include conf/machine/${MACHINE}.conf include conf/distro/${DISTRO}.conf Alex