From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6607733288662466560 X-Received: by 2002:a1c:65d5:: with SMTP id z204-v6mr2330710wmb.11.1540311301834; Tue, 23 Oct 2018 09:15:01 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a1c:8d95:: with SMTP id p143-v6ls665064wmd.3.canary-gmail; Tue, 23 Oct 2018 09:15:01 -0700 (PDT) X-Google-Smtp-Source: ACcGV60xmnmtd7iDROiF2IW7X82ffCAucHau/uT3S88zKvF7h47PSfR4rtM4u+t2P1dRo2Y/izcc X-Received: by 2002:a1c:8a46:: with SMTP id m67-v6mr2319705wmd.0.1540311301347; Tue, 23 Oct 2018 09:15:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540311301; cv=none; d=google.com; s=arc-20160816; b=q39mWQJvmiNE44p+5aMUmck66nZV9hzWLRGSVUpcEiXl7ZCPA3c4Svvkz+MsIwFcDO OxUZiM3ERqq+dGfedJeSKv8u0RWTbqa5iQrAuTcTd0lPQnEpvuta6OjNO5rSGHAFNo2E hxQg3+iCitGKi/FFi9hy1Mgaw7PlHsu5pIDDMef5IQ3vEu3c1llC+l9WSuYg21UEpWYA 1aQ2I6cixIjM9xtE4Rc9BWbUHTj7jsG8byqoZHlbGWC0CuDN3pJP0RHm3suMFmq+hzf7 YdHRLL8OHw/CdMDGg6Vtrpg14TT5SIwESQrsBIFDxwKrqUseiu9KbICMiIACvzZ8s2AF RQIA== 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; bh=tfAyP4QMICGKkFz9/vS+mlF4WHTF6MfXMyVi2kCQor8=; b=SJ+BcYgxFHxGXCwlAPux7eExU5CqJU1GLOGwy7QzhsSrg4Owj4rF5rSUfUjqPCQysQ 7QbPwke+I+6CPyjkMg1XCJsF5JIZh3DXvjPdAN7EuFeParRjOT32ojXGxqyVTDHAMqIF d3FS8w/7TTQiQ6Xl7KbR88rbIHZ3W5FSR7RvORCI1uyPLXgcY/HSo5EYlmlcfDtxX+o3 zb3HhAv3Md5RVpEfoQs8KB6EXOUVXdw+5ofg52Yaj9nNByxUc4LGhneq8fNuP9Y4wGvI 3ZXxTmqHLTZjmaEOttDH7y99e3NQkBWAaaD445mmQKRRQxt0LjRKI22JLfHrfISGdWML Fdww== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.14 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Return-Path: Received: from david.siemens.de (david.siemens.de. [192.35.17.14]) by gmr-mx.google.com with ESMTPS id r3-v6si51752wrl.5.2018.10.23.09.15.01 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Oct 2018 09:15:01 -0700 (PDT) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.14 as permitted sender) client-ip=192.35.17.14; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.14 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by david.siemens.de (8.15.2/8.15.2) with ESMTPS id w9NGF0Lv022440 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 23 Oct 2018 18:15:00 +0200 Received: from md1pvb1c.ad001.siemens.net (md1pvb1c.ad001.siemens.net [139.25.68.40]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTPS id w9NGEwSj012750 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 23 Oct 2018 18:15:00 +0200 Date: Tue, 23 Oct 2018 18:14:56 +0200 From: Henning Schild To: "Maxim Yu. Osipov" Cc: Subject: Re: [PATCH v2 00/10] Introduce local apt repo to cache upstream debian packages for offline usage Message-ID: <20181023181456.6d9c6a59@md1pvb1c.ad001.siemens.net> In-Reply-To: <20181011165305.1622-1-mosipov@ilbers.de> References: <20181011165305.1622-1-mosipov@ilbers.de> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TUID: Tf/nnhjcubiX Hey, i am kind of missing some context here. Is this really just a cache to remove deb fetching from the build and allow offline builds? Or is this somehow targeting reproducable builds? If the latter is true i would like to see a summary of the earlier discussions, a detailed description of what is happening and why. All the commit messages of the series are far from verbose and the doc does not make it much better. Henning Am Thu, 11 Oct 2018 18:52:55 +0200 schrieb "Maxim Yu. Osipov" : > Hello everybody, > > This series contains fixes/improvements suggested by Claudius Heine > during v1 series review. > > Changes to v2: > - Fixes/improvements found in base-apt-helper class > - Unifies path names to local repositories > > 1) Introduces dedicated local apt (base-apt) repo for upstream Debian > packages > > 2) Caches in base-apt repo upstream Debian packages during image > generation. > > 3) After this step, image can be built offline using only base-apt > repo. > > Usage instructions can be found in the last patch. > > TODO: > Sign the repo with gpg > > Kind regards, > Maxim. > > Alexander Smirnov (8): > base-apt: Add helper class > base-apt: Introduce base implementation > isar-boot-strap: Add option to keep cache > image: Add cache_base_repo task > isar-bootstrap: Make possible to reuse the cache > buildchroot: Make it buildable from base-apt > workaround: Use --allow-unauthenticated working with base-apt > local.conf: Add option to use cached base repository > > Maxim Yu. Osipov (2): > meta: Unify path names to local repositories > doc: Creation of local apt repo caching upstream Debian packages > > doc/user_manual.md | 39 > ++++++++++++++++ meta-isar/conf/layer.conf | > 10 ++-- meta-isar/conf/local.conf.sample | 4 ++ > meta-isar/recipes-core/images/isar-image-base.bb | 3 +- > meta/classes/base-apt-helper.bbclass | 54 > ++++++++++++++++++++++ > meta/classes/buildchroot.bbclass | 2 +- > meta/classes/dpkg-base.bbclass | 10 ++-- > meta/classes/dpkg.bbclass | 2 +- > meta/classes/image.bbclass | 25 +++++++++- > meta/classes/isar-bootstrap-helper.bbclass | 17 > +++++-- .../isar-bootstrap/files/base-apt-sources | 1 > + .../recipes-core/isar-bootstrap/isar-bootstrap.inc | 32 > +++++++++---- meta/recipes-devtools/base-apt/base-apt.bb | 31 > +++++++++++++ .../base-apt/files/distributions.in | 3 > ++ meta/recipes-devtools/buildchroot/files/deps.sh | 2 +- > meta/recipes-devtools/isar-apt/isar-apt.bb | 8 ++-- > meta/recipes-kernel/linux/linux-custom.inc | 2 +- 17 files > changed, 213 insertions(+), 32 deletions(-) create mode 100644 > meta/classes/base-apt-helper.bbclass create mode 100644 > meta/recipes-core/isar-bootstrap/files/base-apt-sources create mode > 100644 meta/recipes-devtools/base-apt/base-apt.bb create mode 100644 > meta/recipes-devtools/base-apt/files/distributions.in >