From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6473366578589073408 X-Received: by 10.223.142.227 with SMTP id q90mr1506384wrb.32.1508334246537; Wed, 18 Oct 2017 06:44:06 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.28.184.83 with SMTP id i80ls839478wmf.5.canary-gmail; Wed, 18 Oct 2017 06:44:06 -0700 (PDT) X-Google-Smtp-Source: ABhQp+RoHAU1XvAlXBm5u83Zql0vr+xti5wZRn8FW3GtnmgOrr4+lt3w6WeTf1PUwWqgx9ohvPGA X-Received: by 10.28.215.198 with SMTP id o189mr905844wmg.11.1508334246259; Wed, 18 Oct 2017 06:44:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508334246; cv=none; d=google.com; s=arc-20160816; b=V0mOU/RmWS2zbuYro2mLdd9NS0gK4hx2PAsAGd6KQENZQJZXVkJSIVZkS+Djwu/olN /OSQcwjrCXCvJnB0BRzjBMal4OUH3kt6Okgo2G4SyLHWenhwqnTi+D2/+tss+JZ3rRTI bcUuREDJQJ5gYd0oLfArMjpI7YaweFxRsX8UakejwZRjkMwCW+pOFlegCdD1sc+DjiCa I5K5UV3C+C7yEIaPhMrrZ7uEyzGyn2IAB1Qb64tqetSdtZGrbblMARZ/KMQSC1iODpV3 xfMZjfoZOozB6kclCZrVPIBZvIDlXXAWA+0tOUE+Tgya6+LoHMc7c+6YS110Ic8f74tD AVFA== 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=W14sz8yqY+rQj/sa0JZEJLRGR3gYFMavlpVaiCRUVcg=; b=z4Sz/zAPsnHqvPBldFM5HQYOt00Y8Unbhl2y74WLAN2Fg1d5f4vktmBRUOqYxwQlT1 fOkHHicgPIQjm0QhxuwnsyzcLAGnoh/FRga8++s3JJMHDpwfeRWnEtXnR7lZJkjq3T9X eOcHi6L8bAxOXYIOW04LQ7pNPQ01sIf3XXclVOS5OouCH+P5ayPp+ladFu9kKBHmVeou 5vgk+IJiPweEzKH4XL2nttcwgHIceMWXkIuhDWK+S2p+6UPpDbGiOuvV12FpN47T9V9l ksDkDF2TKF+8CXby1x7C3kqbsFBRsk9gs/kUL4uU77SdTIHr5VFKqtr/rAJejKnLiMm7 bExQ== 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 n82si466040wma.2.2017.10.18.06.44.06 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Oct 2017 06:44:06 -0700 (PDT) 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 v9IDi5ek006715 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 18 Oct 2017 15:44:05 +0200 Received: from md1em3qc ([139.25.68.40]) by mail3.siemens.de (8.15.2/8.15.2) with ESMTP id v9IDi5Rr027773; Wed, 18 Oct 2017 15:44:05 +0200 Date: Wed, 18 Oct 2017 15:44:04 +0200 From: Henning Schild To: Alexander Smirnov Cc: Subject: Re: [PATCH 0/4 v5] Isar apt deployment Message-ID: <20171018154404.25953ccd@md1em3qc> In-Reply-To: References: <20171005100807.3369-1-asmirnov@ilbers.de> <20171009140006.219154c8@md1em3qc> X-Mailer: Claws Mail 3.13.2 (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: rpWzymw2Hg57 On Wed, 18 Oct 2017 14:06:53 +0300 Alexander Smirnov wrote: > Hi, > > > i just tried it and the task do_cache_config was not executed before > > the first do_populate. > > Could you please specify more details: > > - Build command Well i am using layering, and so is Claudius. So the command wont help you much. It should basically boil down to bitbake multiconfig:qemuamd64-stretch:isar-image-base > - Commit ID f33e48bd07039032e3 I am guessing you can not reproduce the issue, we should find out why. But since Claudius confirmend that he can not use these patches either, and there are still some open points, i think you should remove those patches from next. Henning > Alex > > > > > I would suggest the following changes: > > - create one task in dpkg-base.bbclass that does the following > > - config and init reprepro if no other recipe did that before > > - add package > > - use bitkages task[lockfiles] to deal with races between recipes, > > put distro into lockfile-name so we have one lock per distro > > - drop do_populate > > - call the new task instead of, or in do_deploy_deb > > > > Henning > > > > Am Thu, 5 Oct 2017 13:08:03 +0300 > > schrieb Alexander Smirnov : > > > >> Hi all, > >> > >> this series switch Isar internal binary package processing to apt > >> repository. It performs this following: > >> > >> 1. Create repositories 'tmp/deploy/apt' for all architectures > >> requested by multiconfig. > >> > >> 2. Generate reprepro database. > >> > >> 3. Put all the newly built packages to apt repository. > >> > >> 4. Pass this Isar repository to image multistrap. > >> > >> Documentation will be updated after agreement on this > >> implementation. > >> > >> Changes since v4: > >> - Drop meta-isar-bin layer. > >> > >> With best regards, > >> Alex > >> > >> Alexander Smirnov (4): > >> apt: Generate configs for apt > >> apt: Generate Isar reprepro database > >> apt: Populate Isar apt > >> apt: Install packages via multistrap > >> > >> meta-isar/conf/layer.conf | 13 ++++- > >> meta-isar/conf/local.conf.sample | 4 ++ > >> .../recipes-core/images/files/distributions.in | 3 + > >> .../recipes-core/images/files/multistrap.conf.in | 9 ++- > >> meta-isar/recipes-core/images/isar-image-base.bb | 6 +- > >> meta/classes/ext4-img.bbclass | 2 +- > >> meta/classes/image.bbclass | 65 > >> +++++++++++++++++++--- 7 files changed, 88 insertions(+), 14 > >> deletions(-) create mode 100644 > >> meta-isar/recipes-core/images/files/distributions.in > >> > > >