From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6473366578589073408 X-Received: by 10.28.143.200 with SMTP id r191mr1202203wmd.1.1507550408080; Mon, 09 Oct 2017 05:00:08 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.28.74.66 with SMTP id x63ls95635wma.10.gmail; Mon, 09 Oct 2017 05:00:07 -0700 (PDT) X-Google-Smtp-Source: AOwi7QDq+rd6Zn46WEIKtIEkvDotOzkg7J5zbeRoU8ie5DeZjLaaD7ToBtyTuX1f11kVSTevLVRv X-Received: by 10.28.92.18 with SMTP id q18mr1043099wmb.15.1507550407760; Mon, 09 Oct 2017 05:00:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507550407; cv=none; d=google.com; s=arc-20160816; b=N1auDxPrvc3gR2rHgfE+Wfxkhx7sslDAWMtiYJdApziS7cWWqIYlyxGSObsTRHSNLm bmwNlAtpJim0N+xR02IQm1v4hShlBqRLHqvcjD0t13ZQGTSmXbrCp+rB80iBcShsLSNg QeAwfyCTcufOMp7zYtcKswblV3DnBuO40qdn1HAHAqbwlFTXJScmHp9JMEeXGjAtlkv7 Ls8lqQNKojMROseeAEGdAXPxheD4EUND1uOYvpt6hxsG74JoFBKsxXsVcAKWi1yZ0XVh TtZ2MUnaAWTmK+CZzwMOmWD9TNOxlTF37FKbxE9q66WyMOMETtnSb3NciDR6xwT1YVto UxZg== 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=mqPVp6UTCRpikNFJSlYK6JqZD6+lWdrE34zLYk7NmRA=; b=nJBPWp36uL7uNGHxs/VRgurhzWuJlKtosrQ8U0ZfEAfJwALhlKfebOBUR68UpQ5mS8 tj3zCRUGN1hmpgAxjpVUYNVIqvNhz4ubJe8UjrqT0PWJT2leWroEUnga0rbZJf1DKoxW gZCZ6g8yItZ8+y9qPtRBTibp/tgAnFbRkhhZ65jLnXueNmXDNct0MyA0nHfi+XjChdd2 KJPfw1fdMGAcEPMVKyfcphYWpdjbZfr59ZRHUisYpCka0YtMjmS1nenzuLyJtZf02KlR SwHlHSXjCcOXTzJlLa0Br+LvLJYjagm6KcYxs+kN9U7Z4xrFCWJ0Z6heczrSGXkCgwG5 NdZw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 192.35.17.2 is neither permitted nor denied by domain of henning.schild@siemens.com) smtp.mailfrom=henning.schild@siemens.com Return-Path: Received: from thoth.sbs.de (thoth.sbs.de. [192.35.17.2]) by gmr-mx.google.com with ESMTPS id e14si808136wmg.1.2017.10.09.05.00.07 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Oct 2017 05:00:07 -0700 (PDT) Received-SPF: neutral (google.com: 192.35.17.2 is neither permitted nor denied by domain of henning.schild@siemens.com) client-ip=192.35.17.2; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 192.35.17.2 is neither permitted nor denied by domain of henning.schild@siemens.com) smtp.mailfrom=henning.schild@siemens.com Received: from mail2.siemens.de (mail2.siemens.de [139.25.208.11]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id v99C07k8007630 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 9 Oct 2017 14:00:07 +0200 Received: from md1em3qc ([139.25.68.40]) by mail2.siemens.de (8.15.2/8.15.2) with ESMTP id v99C07j6025346; Mon, 9 Oct 2017 14:00:07 +0200 Date: Mon, 9 Oct 2017 14:00:06 +0200 From: Henning Schild To: Alexander Smirnov Cc: Subject: Re: [PATCH 0/4 v5] Isar apt deployment Message-ID: <20171009140006.219154c8@md1em3qc> In-Reply-To: <20171005100807.3369-1-asmirnov@ilbers.de> References: <20171005100807.3369-1-asmirnov@ilbers.de> 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: 0VE0BMMFexST Hi, i just tried it and the task do_cache_config was not executed before the first do_populate. 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 >