From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6878157486786871296 X-Received: by 2002:a17:906:9816:: with SMTP id lm22mr150324ejb.313.1606145917429; Mon, 23 Nov 2020 07:38:37 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:aa7:cc8b:: with SMTP id p11ls8301440edt.3.gmail; Mon, 23 Nov 2020 07:38:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJwyo08Z7vqhK0uzAEPHneUlOmzXwpjx8+isxAGIdjszBf4jU5cr7uyDMhadrYoxAWJm/89O X-Received: by 2002:a50:9f61:: with SMTP id b88mr49594032edf.282.1606145916269; Mon, 23 Nov 2020 07:38:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606145916; cv=none; d=google.com; s=arc-20160816; b=jXsUpWKz7Rs6w2Et4WoYo44PuEM0sl2FR+tWDd++mi4a3cTCnK2DTG3g+1hgL8AH4k Nzbv86zJjR+hyWaGEA/GH6ihW72c+QCio+KWjeVZ/dxIOP9b8v/mCtmNJAl6kkq4QTvH bkyOpO4gp6f81JLWoDXW6k0tdZPewKtpk/zYQu+vxRQ8+0HEBsjDJ5Ie8LdcXNT0gVE/ cd910k/79nNYYY6CGeCDeMK+p3+R2U1VyGAL2Hx9NwseYobGUQauS8KpozxZ+cPP/JQo 9nG80gfThvJA6czGonA1RvDi+3qOKv1X3EH4AzMkgR8FMdBc39xmpwaGUQ1gCd1ImwM2 mafg== 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; bh=pBk6fi/0c7CE7OgECnV+RdyWuo4sJIYTDAeVdHNky5A=; b=N8SnWhnx4ebbdZZff7xqrjGftvrlgVsH/jQXHQyfovFhBMVFtBNobsKIi0ldxC/4Tm isGmO4/SthgT2Ud7iJCu9cIWjBsRW3OzRcjdb4xpEwLbZUV3cV9Z5/itp7StPv401LC5 CdRjVHpGH8BmxwzFtdlBK4IRCeSqRLgZXFyjEV9Nmfkev1kPjN8GL5nBaczO27ECU1ut osGlYpHEeuycktXCo5xSJcEw+VWL2wkCo816LPk+jcFZcjsMPOJzraJUUNLeTltviQAN xcbV75rhZp9cPUcPjGuULXpaI2aWd4lXtD8AVpxl3nwtWyrRM2ijZPr1e8Hn3HhPjI/Q AmEw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from thoth.sbs.de (thoth.sbs.de. [192.35.17.2]) by gmr-mx.google.com with ESMTPS id a11si238147edq.1.2020.11.23.07.38.36 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Nov 2020 07:38:36 -0800 (PST) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.2 as permitted sender) client-ip=192.35.17.2; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=jan.kiszka@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 thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id 0ANFcYpF025254 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 23 Nov 2020 16:38:35 +0100 Received: from [167.87.38.29] ([167.87.38.29]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id 0ANFcY7E016038; Mon, 23 Nov 2020 16:38:34 +0100 Subject: Re: [PATCH v6 00/13] Deb-src caching To: "vijaikumar....@gmail.com" , isar-users References: <20200930060259.12422-1-Vijaikumar_Kanagarajan@mentor.com> From: Jan Kiszka Message-ID: <38daa224-2e68-6bda-df07-bae89800d553@siemens.com> Date: Mon, 23 Nov 2020 16:38:34 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: FYkbrXIQKVT9 On 23.11.20 16:08, vijaikumar....@gmail.com wrote: > > Any review comment on this series? > Do we have this anchored in CI via some tests already? Jan > Thanks, > Vijai Kumar K > > On Wednesday, September 30, 2020 at 11:33:54 AM UTC+5:30 > vijaikumar_...@mentor.com wrote: > > Changes in v6: > - Rebase against latest next > - Address review comments from Henning > Git Tree: https://github.com/vj-kumar/isar/tree/vijai/debsrc6.3 > > > 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 | 61 +++++++++++++++++- > 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, 166 insertions(+), 53 deletions(-) > > -- > 2.17.1 > > -- > You received this message because you are subscribed to the Google > Groups "isar-users" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to isar-users+unsubscribe@googlegroups.com > . > To view this discussion on the web visit > https://groups.google.com/d/msgid/isar-users/bf7f91cf-250b-4807-9ad4-110704f89cd3n%40googlegroups.com > . -- Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux