From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6752900179667451904 X-Received: by 2002:a2e:9945:: with SMTP id r5mr20111248ljj.186.1574626813846; Sun, 24 Nov 2019 12:20:13 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:ac2:4465:: with SMTP id y5ls1455022lfl.16.gmail; Sun, 24 Nov 2019 12:20:13 -0800 (PST) X-Google-Smtp-Source: APXvYqw7AwBb31L/sPtwf9CpVyc4XOVzTuTYn2kSr++PmbvFXH54uCFGiwtGg6th2D0lK7kJD5Nc X-Received: by 2002:ac2:5a43:: with SMTP id r3mr3894986lfn.150.1574626813319; Sun, 24 Nov 2019 12:20:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574626813; cv=none; d=google.com; s=arc-20160816; b=FFdbLd+9dIwLMjGlo8lbGVX0ixKylfHmODR749TmvB+yIRTd4bAOidyLfa9TQp6bFH u4VAE/bpdvtdoRSiBKUsdNSfYkps57jUuW2xx5Vu63vpFGWUhZyTvTKmxi7KPJxFUwcP HtQ3S4Eq1fFuJ6bRkFfk/IH0wDxOvYI9xLnY96FmTJSAHy7pL0LksF2kcF+cfKnJWzEv jI/RH0MX0Tan1cxaWXEWYyiqY9a8j9zY0dqVTQv1n5QJHYDhdGpDi1SyETADzNBdAika 2nvdie0iUV6uxwhh8YbeCwAMMV9WuKR+o3ozdZUcXN+izkomOu1D7c+eYGhUGtunhNmL og4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:to:from:date; bh=NOwRgTnL1gmHcO0pdgSkf445E6DKgBKnOCT+5CVFM3g=; b=jFUa6C0yOkEu6+VUHDteXdC6PEyhNidrgWdw3yywZogkAtZFw2OL6osn3qC6uI+Rnv iMCgtsyeDiV9hgSbVUxo2EZ9jeIYOe/Ig5v90U6I1Jlo53mhPxNR8i+B93dtUeTPNXL3 YsaQMJmPSQWMQ5l2tjI+x1EFlAHlSOtEPoyMVOOw/kRGLNjBIRLxgjjhgvF3kMTua1q4 JNBXSvDG2Z31xT6vna2p0VzwI6Myxm5ZyeKSLfs0xwdzeqfsK7AfgsFZ3xHJQoiWR44L 0ibZAePsB9NRuBQ+rn/NatSHEZgCq59X0Ds1+bKX7QJwj6C7Bi8iF35p0ZkVi+LBkpCv +o4A== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 85.214.156.166 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) smtp.mailfrom=ibr@radix50.net Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id x23si174403lfq.0.2019.11.24.12.20.12 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 24 Nov 2019 12:20:13 -0800 (PST) Received-SPF: neutral (google.com: 85.214.156.166 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 85.214.156.166 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) smtp.mailfrom=ibr@radix50.net Received: from yssyq.m.ilbers.de (dslb-084-061-174-101.084.061.pools.vodafone-ip.de [84.61.174.101]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPSA id xAOKKALr001632 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Sun, 24 Nov 2019 21:20:12 +0100 Date: Sun, 24 Nov 2019 21:20:05 +0100 From: Baurzhan Ismagulov To: isar-users@googlegroups.com Subject: Re: [PATCH 09/17] meta: import DL_DIR debs before apt-get download steps Message-ID: <20191124202005.rfkmm7k64ihms3hn@yssyq.m.ilbers.de> Mail-Followup-To: isar-users@googlegroups.com References: <20191028170132.28072-1-henning.schild@siemens.com> <20191028170132.28072-10-henning.schild@siemens.com> <20191030202138.4bb2054d@md1za8fc.ad001.siemens.net> <20191106141709.74375aad@md1za8fc.ad001.siemens.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191106141709.74375aad@md1za8fc.ad001.siemens.net> User-Agent: NeoMutt/20180716 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: hCOwjS6RVQzW On Wed, Nov 06, 2019 at 02:17:09PM +0100, Henning Schild wrote: > In fact the debs coming from isar-apt should never be extracted into > the download cache, because from an isar point of view they have never > been downloaded. Does this mean you have a solution for that? > > > diff --git a/meta/classes/deb-dl-dir.bbclass ... > > > +deb_dl_dir_import() { > > > + export pc="${DEBDIR}/${DISTRO}" > > > + export rootfs="${1}" > > > + [ ! -d "${pc}" ] && exit 0 > > > + flock -s "${pc}".lock -c ' \ > > > + sudo find "${pc}" -type f -iname '*\.deb' -exec \ > > > + cp -f '{}' "${rootfs}"/var/cache/apt/archives/ \; > > > + ' > > > +} Does this honor ISAR_USE_CACHED_BASE_REPO? With kind regards, Baurzhan.