From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6816610675337461760 X-Received: by 2002:a5d:4b04:: with SMTP id v4mr29814694wrq.358.1587541280332; Wed, 22 Apr 2020 00:41:20 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:600c:224f:: with SMTP id a15ls1548318wmm.3.gmail; Wed, 22 Apr 2020 00:41:19 -0700 (PDT) X-Google-Smtp-Source: APiQypJRk5plsLpAjI6kwnWxBcE37e3EFHUStDZzSvGDaIsw0HJjvwbFEKEcL/zTPTMRvj0wj9YL X-Received: by 2002:a7b:ca47:: with SMTP id m7mr9625145wml.55.1587541279861; Wed, 22 Apr 2020 00:41:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587541279; cv=none; d=google.com; s=arc-20160816; b=SCJAZS3Ok9G9QELj3uxF7qyM+l8rcalVaxQosVxEncxGKkLoZzp787QSV9km7LBQIn J9s3aU4ycd+1VvURPfvcBAT00gRz9H8sIvcJbFFONReSjduuQyZOh9X0tIBjAJn88O5P CPextKPq56JjaF2FoX8PMk75BZGB0X+QtgzBslTY4xJes5eJVu/s9doDiClTTphTKfFQ 6wFlGR+CQ+7DkbeEqdNc231CUEgvQ5OrrKuApT1mCF9VI06oiA5n9CsTZ71V6/qoJd4e Rw/Q3HwrN737W6UTTUtJF9idZtwfuWr9EVc74nKNuyNonFPnF6hML6TtRM9dC60PR5+n dbjQ== 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=JpnNsHo7K4AQNGBtGWt3E6nFeRVkiyGhsylv/b7WOI0=; b=r7md0z6vTwpf0GczaXQlBurIOYCON/ImWgL+IqNiIVytpKevg/FJ1FxZBGhuyeQxED STfz5sALzhOPUJbX2xv7dJSz/pkfrHn9VoRRgEiFjEk+MSnztdw9aTyZyrDcd1smZq3S 8mYnB2lyJDus4rV9FsI9c/1ocaKDZOtuphL8ZQ2jYSHrB2zyPnI4OWRMlooWNL3CKUxF vacQayeKlZC6ef5CDP+eOfIC75If4nVuUPDjOE18oeZWmRErrO+/YVzwFcjZ3xhjrv5Q HwJDJFXlkzYy1xB6MGcP5b8IIgr5+Hbzgv6em7ChlJPVGnkzmeKW6AIkCi5UeEQIo+Nn WxSw== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from david.siemens.de (david.siemens.de. [192.35.17.14]) by gmr-mx.google.com with ESMTPS id u23si464396wmn.0.2020.04.22.00.41.19 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Apr 2020 00:41:19 -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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by david.siemens.de (8.15.2/8.15.2) with ESMTPS id 03M7fIY2002555 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Apr 2020 09:41:19 +0200 Received: from md1za8fc.ad001.siemens.net ([167.87.23.203]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id 03M7fIVI015087; Wed, 22 Apr 2020 09:41:18 +0200 Date: Wed, 22 Apr 2020 09:41:17 +0200 From: Henning Schild To: Vijai Kumar K Cc: , , , Vijai Kumar K Subject: Re: [PATCH v5 00/13] Deb-src caching implementation Message-ID: <20200422094117.28f91da8@md1za8fc.ad001.siemens.net> In-Reply-To: <20200417093040.15130-1-Vijaikumar_Kanagarajan@mentor.com> References: <20200417093040.15130-1-Vijaikumar_Kanagarajan@mentor.com> X-Mailer: Claws Mail 3.17.5 (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: IGjlwwJSw1Hy Had to stop at p5 and will look at the others later. Henning On Fri, 17 Apr 2020 15:00:27 +0530 Vijai Kumar K wrote: > Changes in v5: > The major changes in this series are as below, > - (P2) Handle cases where HOST_DISTRO!=DISTRO. This avoids mixing > of debs from different distro which inturn helps the src caching > logic. > - (P5) Avoid downloading package from other builds. > - (P8) Add a reprepro based sanity test to check if the repo > contains the sources for all the debs. > - (P9) Introduce a new variable BASE_REPO_FEATURES which provides > means to enable or disable various base-apt features. (cache-deb-src > for now) > - Some fixes in (P12 & P13) > Also, addressed some review comments from Henning. > Git Tree: https://github.com/vj-kumar/isar/tree/vijai/debsrc5 > > Changes in v4: > - Use = format instead of just using > to download the right version of source package. > > Changes in v3: > - Take care of non-existent downloads/deb-src directory. > > Changes in v2: > - Introduced additional patch to cache deb src > - Rebased on top of henning/staging4 tree > > > Vijai Kumar K (13): > rootfs: Make rootfs finalize a separate task > deb-dl-dir: Cache host distro debs separately > meta: cache deb srcs as part of postprocessing > deb-dl-dir: Make debsrc_download faster > deb-dl-dir: Download files only belonging to the current image > deb-dl-dir: Factor out the mounting part > deb-dl-dir: Fix skipping of removed files > repository: Add a sanity test to check missing sources > base-apt: Introduce BASE_REPO_FEATURES > repository: Fix failures due to missing section > scripts/ci_build.sh: Enable deb-src caching > rootfs: Fix possible overwrite of existing resolv.conf > rootfs: Handle failures when postprocess is rerun > > meta-isar/conf/local.conf.sample | 4 ++ > meta/classes/deb-dl-dir.bbclass | 72 > ++++++++++++++++++- meta/classes/dpkg-gbp.bbclass | > 8 ++- meta/classes/dpkg.bbclass | 8 ++- > meta/classes/image-tools-extension.bbclass | 4 +- > meta/classes/image.bbclass | 43 ++++++++++- > meta/classes/repository.bbclass | 13 +++- > meta/classes/rootfs.bbclass | 62 ++++++---------- > .../isar-bootstrap/isar-bootstrap.inc | 12 +++- > meta/recipes-devtools/base-apt/base-apt.bb | 3 + > scripts/ci_build.sh | 1 + > 11 files changed, 177 insertions(+), 53 deletions(-) >