From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6517546778931232768 X-Received: by 10.80.144.177 with SMTP id c46mr13757787eda.8.1517516041249; Thu, 01 Feb 2018 12:14:01 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 10.80.185.67 with SMTP id m61ls315336ede.4.gmail; Thu, 01 Feb 2018 12:14:00 -0800 (PST) X-Google-Smtp-Source: AH8x225Fbk4DtsDDgFolYvSdDsSL+YenyLYkF+Ys4CCeUG+11j6s/onj0V/GsCwYZJoV+GFsgUzp X-Received: by 10.80.146.139 with SMTP id k11mr13736522eda.4.1517516040329; Thu, 01 Feb 2018 12:14:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517516040; cv=none; d=google.com; s=arc-20160816; b=ekI2+ksnRbCWPGVf1Gj4mt6O9niH/PY54fMVCgwJrqISUiDiJ2bvesklakIZ7z7nce 7pF58LbHCd5SJkcCVQ0UPK7ziilSPji+URHgmFnY73iDc5TLDR3e/Bs+Tm0iFJr4p5w5 mslv2AzN3f8TvOCX2ZrV00+LLMznENZdtGPI6sDHc8pVrbXOBlALjt4wvZU4qEJocCpf ShSPkOZja9wAIGGbi/sIBnAB2yxVdDXq+R5T6/yo/H87dG4eDa++Qhuht9dm801TjX/l uSs902PMrUH3wJsLOUwnyhw4umQ1bqz+X2nu2061YxmO2zXqHJ//XZxMoTey8JgAOC6u k1XQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:references:in-reply-to:date:to:from:subject:message-id :arc-authentication-results; bh=psis4PrDv5HBSx81NcR4ekCKNI2mbMIhoMtB42Day00=; b=OQO5LSgvmo9PrXwUbI51OGVWQ7/3Kb7Q9xlfVvMG1U9H6cuq0Gl22UIOepcUkj1FyG UVf0zUmCwYIK+Ik2VDukIOLZxjXl4a2HIAnOuKi3sW0PeKyNn77or5UhmnpL6bmCIlIU 8bYnD7fh377rzQmOOMOVgfJHm8GbyUEHFNN4jv8WxZTK/4RztsziLbIza8c1UCKDFM8o +7jTkfKW2AdtFq1aLEpC/2FB0SfkdNBXDBvAWujByPLRaMrAAro7FkuHYqRPdqcdpUgC DLWtyu27eMH92Qe7c2hbBb0sQqz3CljpTgEqmsnv5AIyf6vwWLOsSblky5D2GrVodOZ0 +5bQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 2001:a60:0:28:0:1:25:1 is neither permitted nor denied by best guess record for domain of ch@denx.de) smtp.mailfrom=ch@denx.de Return-Path: Received: from mail-out.m-online.net (mail-out.m-online.net. [2001:a60:0:28:0:1:25:1]) by gmr-mx.google.com with ESMTPS id n22si54462edb.5.2018.02.01.12.14.00 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Feb 2018 12:14:00 -0800 (PST) Received-SPF: neutral (google.com: 2001:a60:0:28:0:1:25:1 is neither permitted nor denied by best guess record for domain of ch@denx.de) client-ip=2001:a60:0:28:0:1:25:1; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 2001:a60:0:28:0:1:25:1 is neither permitted nor denied by best guess record for domain of ch@denx.de) smtp.mailfrom=ch@denx.de Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3zXWXl6Sdxz1qv37; Thu, 1 Feb 2018 21:13:59 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 3zXWXl69Ymz1tPgc; Thu, 1 Feb 2018 21:13:59 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id nWOC2Lmphkor; Thu, 1 Feb 2018 21:13:58 +0100 (CET) X-Auth-Info: lSbOJf2LcYfQ0V6/zmyTtLgcaQGXiDJS9Dp7Qsgwt5o= Received: from Orrorin.lan (ipservice-092-217-126-008.092.217.pools.vodafone-ip.de [92.217.126.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Thu, 1 Feb 2018 21:13:58 +0100 (CET) Message-ID: <1517516036.2646.28.camel@denx.de> Subject: Re: [PATCH 0/4] Rework isar-apt From: Claudius Heine To: Alexander Smirnov , Jan Kiszka , isar-users@googlegroups.com Date: Thu, 01 Feb 2018 21:13:56 +0100 In-Reply-To: <1517515760.2646.27.camel@denx.de> 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> <1517515760.2646.27.camel@denx.de> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-dVA8FRr6jUM57EhnIBvM" X-Mailer: Evolution 3.26.4 Mime-Version: 1.0 X-TUID: k6ELhS20vy0/ --=-dVA8FRr6jUM57EhnIBvM Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, 2018-02-01 at 21:09 +0100, Claudius Heine wrote: > On Thu, 2018-02-01 at 22:37 +0300, Alexander Smirnov wrote: > >=20 > > On 02/01/2018 09:37 PM, Claudius Heine wrote: > > > Hi, > > >=20 > > > 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, > > > > > > >=20 > > > > > > > this series intended to make buildchroot able to work > > > > > > > with > > > > > > > isar-apt. > > > > > > > I've tried to add extended comments to each patch. > > > > > > >=20 > > > > > > > Impact: with this series I'm able to build 'example- > > > > > > > hello' > > > > > > > <-> > > > > > > > 'libhello' > > > > > > > without any hacks. So the deps are installed > > > > > > > automatically. > > > > > > >=20 > > > > > > > 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. > > > > > > >=20 > > > > > >=20 > > > > > > I can happily report: It works as promised also for my use > > > > > > case > > > > > > (jailhouse.bb -> linux-jailhouse.bb, both Isar-built). > > > > > >=20 > > > > >=20 > > > > > Thanks! But I've found an issue with events. :-( Our bitbake > > > > > didn't > > > > > handle them for multiconfig, the following patch seems to add > > > > > this: > > > > >=20 > > > > > https://patchwork.openembedded.org/patch/141626/ > > > > >=20 > > > > > 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. > > > >=20 > > > > 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? > > >=20 > > > I haven't tested it but I think its this one: > > >=20 > > > http://git.openembedded.org/bitbake/commit/?id=3D518b9015c2be8d3894 > > > 27 > > > 7a8e > > > 54890d6f04d656c0 > > >=20 > >=20 > > The following patch is needed for latest bitbake (derived from > > Yocto): > >=20 > > 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 =3D=20 > > "${TMPDIR}/work/${DISTRO}-${DISTRO_ARCH}/buildchroot/rootfs" > > BB_SIGNATURE_HANDLER ?=3D "noop" > >=20 > > include conf/local.conf > > +include conf/multiconfig/${BB_CURRENT_MC}.conf > > include conf/machine/${MACHINE}.conf > > include conf/distro/${DISTRO}.conf >=20 > Right and that is exactly what is needed to be able to have own > multiconfigs in separate layers. >=20 > From the dates I suppose that your new bitbake version will contain > this commit, so then we could remove ISARMULTICONF stuff from isar- > init-build-env since copying is no longer needed. Sorry, I meant 'isar-setup-builddir'. >=20 > Cheers, > Claudius >=20 >=20 >=20 > --=20 > DENX Software Engineering GmbH, Managing Director: Wolfgang Denk > HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany > Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: ch@denx.de >=20 > PGP key: 6FF2 E59F 00C6 BC28 31D8 64C1 1173 CB19 9808 > B153 > Keyserver: hkp://pool.sks- > keyservers.net >=20 --=20 DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: ch@denx.de PGP key: 6FF2 E59F 00C6 BC28 31D8 64C1 1173 CB19 9808 B153 Keyserver: hkp://pool.sks-keyservers.net --=-dVA8FRr6jUM57EhnIBvM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEb/LlnwDGvCgx2GTBEXPLGZgIsVMFAlpzdQQACgkQEXPLGZgI sVPzIw//Tf7s5POK2eI1yVN99XmJJ2cdOPtNGEZkRBrL4rI+jg1S42nab2tPGcag M5rGIeDDrN+0nicUcAusUa2ooGLnQ8KP6axCBl4m5JepolpUaJHOB22JIrb6l7lK MvYsQHDIse5OF/6P0d0/4ybjrankJ5cpccLMh1C360R2E6zzKnXjSYoQLjJIu8mW aQtbJMUM4tsoWhigbAqHO8WAMKOJvdCRqfp/LwN6qJwjRQUVLmoP99RxUoXf16lX hsm5LWQx1e7tRjAdjdJvg0tfe7WXQUxlivvFX9Y4IfjWEqf2g0MZphugSU4/Rd9T qRLU/tQnYQXNq+UZ6t4cylQ59nc2I5+AZEEiqF2A2T2s4Nq/xPhHdVCGxeppgwPr iM5pZyRcId+XxsrUa7oT2jBIcIj3glLXMAxDPsDL6FNHHpeFLCYyH0jIQg8sCFj6 dzS9bMxgykIpc9hCWdzg7aD9Xzr9lhAhT7eHMjMdbNzjqgXnS1AsQ/VQipWEYAr1 ae8FdKy9RQ7KdWDkvhRXrq7R6PtM647r7lES6qIoIz+x2vaPBPkFr6b2l/zJlDEV O/Ugrvt/iKgjTcahNRQgCMzPGWgO1nksS3H6/cfKGq2dlw7FBk5BrQ3TqEaou7U/ yphGymj4ldRUsOqWgcOttVj4CXPc/XdcEA85krHeXQTh2FLGsVQ= =Opph -----END PGP SIGNATURE----- --=-dVA8FRr6jUM57EhnIBvM--