From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6473366578589073408 X-Received: by 10.28.173.203 with SMTP id w194mr766169wme.16.1508324821418; Wed, 18 Oct 2017 04:07:01 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.223.181.129 with SMTP id c1ls1129920wre.9.gmail; Wed, 18 Oct 2017 04:07:01 -0700 (PDT) X-Google-Smtp-Source: ABhQp+ReybM1NYZkIqcpz5HvJo7GPoOspFUPiiaviaKcQqKdGILZFQWKW5Lz2q5OxsQjSSX9HEZ2 X-Received: by 10.28.69.24 with SMTP id s24mr784223wma.31.1508324821162; Wed, 18 Oct 2017 04:07:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508324821; cv=none; d=google.com; s=arc-20160816; b=D3NChoUVzubbVPbsSLhvbeHW0nrqKbIYoHmmz1PhNzU9qSAxsMi76Ag6LwPTqCPNZV mbcrrerwNPtEDvv+yh0F2ljajbOSYgHKlmry/yT78YlQburtKX6rtxyYhJeIffqAxtGx oUawAeEeNC/3SB3LsYQOKadLJBCaSoVvFoJOpenSEaVtGt0Hf+FdlwONIjfhyXcky8GW lSFsAdwMsuMTHtl1Gq9ckJK7NL7qxvjoQiRV9KP45djFuLcMlKCRZSQF9lehg+TxzhRi znv7hxqc/+EJEQX4u5ks3nt+AD52Ci/ecCsU4K3siN+DKIlqvLRDBFbIU0F9t+BAszE+ ZZFg== 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:cc:to:subject :arc-authentication-results; bh=Kyi8j3fzjpvO+5lmy2dS2j/8298ePIgCfKdQYMhDwGY=; b=CVinM7EjiCHvwvNFai/7HUTyyOK5djsrmmyT2slSIjvCpmw5ljSGebHpukFCsOYlEc 6TKQP98bsdykwwsz6WpDs0Y80BVeGauE5IBTSELqgVr0VX8tXcn1cj09qiu7445qPc3c iNPnZRrokoeWgqwAnhoibFatg+7RImqlQrI/UGvpqcGBrY3eJq20Qyuro4ekvovQUkOW p9JpyRpYlUYQS7t9F6nAlzswiM48CX1gJm0fE0AnQ5qQ6wPvx26IboSpOBXBuaK5/YsV DQ3htGNZh63XOSWZT0ILt5Qir/hMd3yf+2um3NzBu/WLGSp1FhVKzmYcYQOeYPsqA6+b pXNQ== 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 m74si585004wma.0.2017.10.18.04.07.01 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Oct 2017 04:07:01 -0700 (PDT) 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 v9IB6wVh026254 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 18 Oct 2017 13:07:00 +0200 Subject: Re: [PATCH 0/4 v5] Isar apt deployment To: Henning Schild Cc: isar-users@googlegroups.com References: <20171005100807.3369-1-asmirnov@ilbers.de> <20171009140006.219154c8@md1em3qc> From: Alexander Smirnov Message-ID: Date: Wed, 18 Oct 2017 14:06:53 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20171009140006.219154c8@md1em3qc> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: Wgj7sRY6fDxU 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 - Commit ID 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 >> > -- With best regards, Alexander Smirnov ilbers GmbH Baierbrunner Str. 28c D-81379 Munich +49 (89) 122 67 24-0 http://ilbers.de/ Commercial register Munich, HRB 214197 General manager: Baurzhan Ismagulov