From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6517546778931232768 X-Received: by 10.80.230.18 with SMTP id y18mr13770343edm.2.1517515769993; Thu, 01 Feb 2018 12:09:29 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 10.80.170.50 with SMTP id o47ls313374edc.3.gmail; Thu, 01 Feb 2018 12:09:29 -0800 (PST) X-Google-Smtp-Source: AH8x224n9Jspkay6IPOY2v7Mxftg1EJQBe9Vd7FgF1HPOlv5ahMfBfLT4Wir2aIe9g3ebSDqr/Eg X-Received: by 10.80.134.135 with SMTP id r7mr13675887eda.1.1517515769337; Thu, 01 Feb 2018 12:09:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517515769; cv=none; d=google.com; s=arc-20160816; b=oEilstb9/4QChMQPsaJCdwrF0Vhi8pG2fH4EcknMYWgxDkgvNTaeR1dUudBvCp7DzC O/74e5ZP1XFQMMUmW+hu1ovBbzsdXIt8hQGGcAQHCBZOXudf83LU53Qcwa8TINxqInwb wCKJsLDDgl+RiTJ5bgWF7BEXyKzBC5Uc4J0Lb4kwIiSZJHtBJMPU7hkIWjVHbh7t63du mJeAtSHxz3FpXaaFm1NcdMTnNOMtGzv7IKozFEy/P2qn0ZPfd9FYdttSFhN3xIhx3A0g J4bcZh2dFfXJBFezU0ZjYcjElOHP40vXvu+HLzZXvBzqxAxAp6ATrxeWBx/4Pv5xYByY XRiw== 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=060BJAFEEda5ERBkcOkapO3ahrEBApOfNRY0j1MAvpk=; b=eHkn/aSi5ezm8135uCqxaOuaki4dUBIhD0KnXw01C8mp8NoQ3QFu5u1gqkydx+cmqm 2NwvT+MxHO7gqF61iAF6CntJoDdLD2iLOAReJ/+/iRjWBM4OnUyXkTwpioEXHEWGyx6K HYFC60TJ5WZ8yC9+np7lfKXxlGd1lm8QB8raPArn+Gp5WHWD25zgsi3tv84MIxOZpFWn ioynqmhWzE6II54qouZcagWLeUOIeepafqcAmbE1Kcur/gdsr7WJR2S5fgjeNipxkgWn bJGZ/jTVyYIX6mVHHxk9Fio8jrLZNOVMBwfRjzOWQKtFqkCnfxdbPw0Pnf0DgJB2ZqeJ xjeA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.9 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. [212.18.0.9]) by gmr-mx.google.com with ESMTPS id z17si69484edz.1.2018.02.01.12.09.29 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Feb 2018 12:09:29 -0800 (PST) Received-SPF: neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of ch@denx.de) client-ip=212.18.0.9; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 212.18.0.9 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 3zXWRY0RT4z1qyLX; Thu, 1 Feb 2018 21:09:29 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 3zXWRY07l9z1tPgf; Thu, 1 Feb 2018 21:09:29 +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 C6JQk7ioEw2v; Thu, 1 Feb 2018 21:09:25 +0100 (CET) X-Auth-Info: 8GJ0BrvplmK3SjvYBpZtWxPluXm9vt2mgrV3yBK9CBs= 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:09:25 +0100 (CET) Message-ID: <1517515760.2646.27.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:09:20 +0100 In-Reply-To: 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> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-oQ1ybcS2Fu8xE/kOp1zv" X-Mailer: Evolution 3.26.4 Mime-Version: 1.0 X-TUID: NVsUAXbsBkJP --=-oQ1ybcS2Fu8xE/kOp1zv Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D518b9015c2be8d389427 > > 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 Right and that is exactly what is needed to be able to have own multiconfigs in separate layers. =46rom 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. Cheers, Claudius --=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 --=-oQ1ybcS2Fu8xE/kOp1zv 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/LlnwDGvCgx2GTBEXPLGZgIsVMFAlpzc/AACgkQEXPLGZgI sVPQ6hAAm4X2X9BaKLJaZFcg3XnS6Wnu5XpslcBHKVo1+/4nouZJfq/aUh3+zFXx tmOL74LgQYpyByJ+EDiSYvobCbWCne7govzENjMiEpZAIE0Nd04I4N7mbTTjUwC/ EH/ltq9KynqsUpiWHxnZe2S8SjAwOUAu44uV/Bdsc1X1+E50rFMYuZUXbT4vuEBD OaJ8YQ6Yny0GFrvFMSBgMdSPXCrG7rgSqptBgOsFXOkVcUzZddtfugOOwDastO/w a4IIZscBs3ITF9qGmH45iZ0loP+v6pa8MkYyZ2EbS6EvXxL5jm3a6LrtuYH2lC1T X+dMATxxinj6Sv7L4UrBO9dlF/bIUt8u72m28XayXz65RgFF7wP8o5ffglpTh5ML d/a7fdNmzks9HFl/6XWMDScBb98C9noj1gs3cSQfdDIEyxbo9Vz47YBiJebUSrRD zn2tDzon6AbyiyoD0pDoZ+vITWTomd5dgaAiB4+gp0/r0Th12T+Vtu7RptcEZfbg 7anv4TmexLhuVl+hOJGexP2aN0lCX4LnkXMd/CkeTor6uZZnBkrj8nqrgah0fYn9 YML28q274wfbZWWX6k8E0RhmP4MHq4NSdpbdrEO2p+lzn0V94trd8LCbFv/VekLQ GtVxNmpPAkAGtu+3c7CbyToKKKWl6El/dSSe0vms+hMj678yJgY= =l9L0 -----END PGP SIGNATURE----- --=-oQ1ybcS2Fu8xE/kOp1zv--