From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6449326914083487744 X-Received: by 10.25.149.17 with SMTP id x17mr1621048lfd.33.1501657477278; Wed, 02 Aug 2017 00:04:37 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.25.32.8 with SMTP id g8ls419101lfg.33.gmail; Wed, 02 Aug 2017 00:04:36 -0700 (PDT) X-Received: by 10.46.88.26 with SMTP id m26mr1152097ljb.32.1501657476830; Wed, 02 Aug 2017 00:04:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501657476; cv=none; d=google.com; s=arc-20160816; b=ZNd3VtZ90qCv/Ji2n5jC8bBmLC1uinC8TMAv3RSAfu8BxxV0iL5WTJ1KFxYZJ64uZb JrpXM1oyalyXXRu5L0OQXiYlFNgP/ViMXzz43aU5AOFtnC59RoqIHELwBUb5b/02eRrM Yr1FiYAZmt8zA5DxqwJN6hvjuZ0hRKrUIr+UG1bYUxTzVH0IosPGjGNIMQapeTb38pm+ MjoUU4alSLXer3nIj1nLccaHpjzXGxB0vjoEOX9/S8SNgORFyNqv83TZ5lOUx0A1dPi7 7jwKJVXJXyyoHXjXnsTzyxcON0ysZi0SGMtos2JsDWzWO602YfVpzE5JDluy9Q4zEKLF wcSQ== 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:to:subject :arc-authentication-results; bh=/TF7NZopyzgcKWMPcSl1mvEszGOh0MeZJ1NbwWraHm4=; b=j/bgOYUFMRc2HNDKsaXb2vGBHkkbF74T2D/RbzmGecB7Im4rihiBRXpbWZrmTLWaG8 p4s8E9WTNdKEKcv3zVNRAb8F7k6sWBnf5rICdedeGXI/4tMv/My4MyLUNpEMTul4GSCA L3CAV53YgnDiG7amPjOkphGrho228GXRK//FZ5D+iilne+rcqI6oF8BCZ2vkwyl83ghl 7SGK1WcpUNkk8jt75XwvewMPtcUccq0Y+kfPc7AiRgv18UTRK/8xYQuN/AkTcutKkVjS KDs/QTwJDNvmchaQ/iFV6wp2bXuY4LPBYzPevezdC3ATx8Rijbc8CStroIbh8Phrj2aN vyjw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 192.35.17.28 is neither permitted nor denied by best guess record for domain of claudius.heine.ext@siemens.com) smtp.mailfrom=claudius.heine.ext@siemens.com Return-Path: Received: from goliath.siemens.de (goliath.siemens.de. [192.35.17.28]) by gmr-mx.google.com with ESMTPS id k68si730095wmg.4.2017.08.02.00.04.36 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Aug 2017 00:04:36 -0700 (PDT) Received-SPF: neutral (google.com: 192.35.17.28 is neither permitted nor denied by best guess record for domain of claudius.heine.ext@siemens.com) client-ip=192.35.17.28; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 192.35.17.28 is neither permitted nor denied by best guess record for domain of claudius.heine.ext@siemens.com) smtp.mailfrom=claudius.heine.ext@siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id v7274axp001058 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 2 Aug 2017 09:04:36 +0200 Received: from [139.25.68.223] (linux-ses-ext02.ppmd.siemens.net [139.25.68.223]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id v7274adQ013053; Wed, 2 Aug 2017 09:04:36 +0200 Subject: Re: [PATCH 0/3] use local repo for multistrap and drop "dpkg -i" To: "[ext] Jan Kiszka" , "[ext] Henning Schild" , isar-users@googlegroups.com References: <1829ce20-c5b8-ec3c-f36b-fda83fc516ee@siemens.com> From: Claudius Heine Message-ID: Date: Wed, 2 Aug 2017 09:04:36 +0200 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: <1829ce20-c5b8-ec3c-f36b-fda83fc516ee@siemens.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: ZbCDUmtrimdq On 08/02/2017 08:16 AM, [ext] Jan Kiszka wrote: > On 2017-08-01 17:24, [ext] Henning Schild wrote: >> This series introduces support for a local repository to be used instead >> of "dpkg -i" after bootstrap. The do_populate task was dropped. >> > > I think this also provides a nice path to extract all packages for > archiving purposes and replay installations from them. That would just archive your own packages though. As we discussed offline, it would be nice to fetch all required packages into an local repo first and then use just this repo to install everything to the rootfs/buildchroot. This way you would not depend on the package archiving from upstream. But I currently don't know how to do that. Maybe we should look into what is possible with [1] and integrate it into isar. Cheers, Claudius [1] https://launchpad.net/python-apt/ > > What would be a strategy to enable multiple Debian repo sources on top > of that? > > Jan > >> It is based on the previous series i sent but it should not be too hard to >> rebase it. Please let me know if it should be rebased. >> >> Henning Schild (3): >> classes: images: remove cyclic "inherit" >> classes: move rootfs into image class and split into tasks >> classes: image: remove populate and replace it with a custom repo >> >> .../recipes-core/images/files/multistrap.conf.in | 10 ++- >> meta-isar/recipes-core/images/isar-image-base.bb | 43 +----------- >> meta/classes/ext4-img.bbclass | 4 +- >> meta/classes/image.bbclass | 76 +++++++++++++++++----- >> 4 files changed, 75 insertions(+), 58 deletions(-) >> >