From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6473366578589073408 X-Received: by 10.223.151.196 with SMTP id t4mr1344268wrb.24.1508346659406; Wed, 18 Oct 2017 10:10:59 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.28.157.214 with SMTP id g205ls938956wme.1.gmail; Wed, 18 Oct 2017 10:10:58 -0700 (PDT) X-Google-Smtp-Source: ABhQp+QvfofrA6/WHePQ1+hAvaUQa/ysAej2+czHI0a4PM67aYpDyNiZSAsmHPFKJtzNp9ESdbsI X-Received: by 10.223.184.18 with SMTP id h18mr1076846wrf.29.1508346658797; Wed, 18 Oct 2017 10:10:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508346658; cv=none; d=google.com; s=arc-20160816; b=QNVnrysuQ4Jyepn9R3oJGfWEL1ApNRaPPYQCxx9tJsUI6h3IezbLxXtMHi73dCz8FQ Aq6tUlfoOzNNE1Bsu+tBZLwFFSPkPqrvqvTKbnXQGC3gtYcN6fqd25cntXQkwXM9xKF7 8RCN8eX/HQb740P7emtvvgOb5ZErq/RMtMdIBjuxoBHsiaGA/SpWyJnUxafgjgP+6iOF Omwt2jseAc2gH92oE8c1+1gVfXACejfGEzbiBqosgd5RaxvWK6kMhwKxw4HAv0g6epkh gWHeXcplQFCuubB+70dTaymKfO/0C/bExN3hPuU/IM9YApxYXN3/ouzbellHPyPwnaiz DgWQ== 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=RfmyDsJ6FSbpmOek59aRD0gl0+03AStHrO8A7bxwHUo=; b=GcXoB79Rh9CmsB/RDrXs/k6VN5te1YkXAlaH6eG0M8XaybS+qEiBEB0mrpV9EN5Bug SpMMdPRS1NS4nOruACyWMKEDfAxT0so0j1ll9HXEzAkK24+jnL+xLprSDGcQmOHJQe5S BWR004Gc00ZfkGRCQR2FGj2Ec15Ube9ZOK3PfePHB28GMGkqcmtwoShnAkC9xAMiIJiH XXu5RDqNUK4WbYIiINsvqkrMCAmkFcsngsR5eUzmXqWXXiTNLaStBosXEgXbh80SWgLB EA5dn8TYO8nj+kCGk9qs26LygJ7AB4G9qN72v2T34S4aiBlC9h6xLyMZlv17hFV+JHk0 sEiA== 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 h17si635532wmd.0.2017.10.18.10.10.58 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Oct 2017 10:10:58 -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 v9IHAsVI004435 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 18 Oct 2017 19:10:56 +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> <20171018154404.25953ccd@md1em3qc> From: Alexander Smirnov Message-ID: Date: Wed, 18 Oct 2017 20:10:49 +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: <20171018154404.25953ccd@md1em3qc> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: UrbSP1vFySEs On 10/18/2017 04:44 PM, Henning Schild wrote: > 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. > At first, as I understand you use private layering. So if something doesn't work in your custom environment, without details and analysis it's not the case to reset 'next' branch. Before perform any merge, apart from my local builds, the reference build on CI machine is also passed. So the upstream Isar does support the claimed features. If I'm not able to reproduce your issue and there is no information about problem, then I'm not able to fix it. So if you need assistance in resolving the issue, please provide more details. If the problem will be found, the fix should be sent. Regarding new open points appeared after v5, they contain several proposals what to try, but they doesn't influence on apt feature. I'll try the things you proposed with multiconfig and if they work, I'll send updates for current apt implementation. But working feature in upstream should not be blocked. Alex > 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 >>>> >>> >> > -- 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