From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7182122219497062400 X-Received: by 2002:a17:902:f115:b0:189:25fb:8e83 with SMTP id e21-20020a170902f11500b0018925fb8e83mr2083748plb.20.1672384145499; Thu, 29 Dec 2022 23:09:05 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:90a:5a05:b0:219:4e38:78a0 with SMTP id b5-20020a17090a5a0500b002194e3878a0ls540985pjd.1.-pod-canary-gmail; Thu, 29 Dec 2022 23:09:04 -0800 (PST) X-Google-Smtp-Source: AMrXdXtjBslubJt/ErgKSIwjjB2rOzYLgnPYS13cdahe7ZaaIOTC16g7KQc6j4Ba3hI7IfJlf08a X-Received: by 2002:a17:90a:8986:b0:221:4258:4e8f with SMTP id v6-20020a17090a898600b0022142584e8fmr34282407pjn.29.1672384144615; Thu, 29 Dec 2022 23:09:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672384144; cv=none; d=google.com; s=arc-20160816; b=XPNcaNAN+bTXY7w3Z8LgQF4CDSZcqjj8R9B1b/st2xbkALV98UhawiXRrzw221NK1M DM+DSuNdmr3uKQ80t2hMd+PWqPHXwmzqQvj3oft5FJn9uOm432u3wvOgZOlZo+SY4I02 CymH6qiGooZwa6PROHkkdynb/YgR95UJMjKTdup8Q//WRFgd4b+kGpBLhFULKd9j2p7c jh3f+gGr38Vigyn4ffO35+CWhKRBHL1Hep4ukesNIhBS2nPb3HxD93PrKJQFDlNVMMiY kmI0EuNURy3feHL546K5vT7B0Fs0Qin+InU25tORiFwvdsiPtHdLMV+N2mkQ3lC5GBuM D2sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=MkMmuJDc5yIDHnFElFxKDoHzZBvZNm+V6eeYNAGy0s8=; b=HqCVi3v9ZgdqdPwRklNeevMBBbtL/vabLGhgrpR1nIj+54GC7F6+qMIluZYQpmpmEx 2yFa47Dc/h4QZeAyZQfjJ4Y/a8APpC1Wi9lwUBjhRHtkDo9wXDK/wHTmtwYGEXzkzhaI zBBSLt6muQopni6spPeCLI92wNEN5+syWfjB+y7PC7lLuaphr99upL9vZvfrnGK1HJ3H e8Cv53QH7Ct2sF6nDWNVy8bmi3SeU2FAwAzUOKzuSrHD3tRSA4rmRdQUJsZeOc+JWpTL xQIup/ICFjaFDWRemvyOuQzVVBDl3/c1FwOsCFN5OEWv4wxsSW+1IKMNQRuP/gFoqdxu LkQQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=MdVKvU+S; spf=pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::82e as permitted sender) smtp.mailfrom=roberto.foglietta@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com. [2607:f8b0:4864:20::82e]) by gmr-mx.google.com with ESMTPS id lt23-20020a17090b355700b00212bf9345fasi2214631pjb.2.2022.12.29.23.09.04 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 29 Dec 2022 23:09:04 -0800 (PST) Received-SPF: pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::82e as permitted sender) client-ip=2607:f8b0:4864:20::82e; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=MdVKvU+S; spf=pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::82e as permitted sender) smtp.mailfrom=roberto.foglietta@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: by mail-qt1-x82e.google.com with SMTP id z12so16679446qtv.5 for ; Thu, 29 Dec 2022 23:09:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=MkMmuJDc5yIDHnFElFxKDoHzZBvZNm+V6eeYNAGy0s8=; b=MdVKvU+SzR+cN2BTAm42un5DRa4mmQVqlHYO8YqmqjOFEhJk/ME+2mIiV06XF1t1t3 TXVprHMvYEStTz1ioJF9VIS/iUu48eLzr90CckWA7WbXghTbadW2jc/TdwuKYFUtqNk5 hnH/bXne77BpPZSt75INb9ozHZL+TL2pcmrAN5Xg9KDHAL0zl1VNKgtOERLVcBZJdSXy lQbcBcerdGIjoB4G26hf3eCeUEEolyD3LufFbkwipUT29fOko8zr+7g26RqkCKZHTQq6 6YIG2tGouSjL3b4Zwgz+v9AsBcPhMYBlRluCh0P3OgWHEQqsr80i5BhF7IGCMKo2XKnM kQDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=MkMmuJDc5yIDHnFElFxKDoHzZBvZNm+V6eeYNAGy0s8=; b=u1/rScryGzlYalVD6d7CWh5+iUnXoUisZuAwFi98z0ztYFF8KygTWAIN7HfCWb5hXD MYbNZobIHVKMwaKgb1PMEl1+MWhlsmriUC4xTQKh5WpEB9LxlPYZpWSinr3cOL1fQS7k d0CLirAoqr5y4kaHnNPZ2wKP+wocGo64MuDCBKMxjvuyI6e0q0zRenfME2lnEaQPrzN7 p24Bljyq0EcdddhFfsKuSxeiJzhRUpUZVBweVC+ioj+kTudlDoFR0d/fTW2bE5NZ9mWF rVBdfpRhfnI+MeHRiGwXAgZm3Ir7cLItvirEWnsaKQsx4QRWGOk2pIVyHePiUniDr7X8 O5Fw== X-Gm-Message-State: AFqh2kqWjkZq9Prvio3TglWdcWu1OtWGe7a0/KaYxXPcn+e1d7LqhnXv 4CZsJQg+f8qJs9wgRfrZ8DrVnJaOQViSwAk4kZGCsWZJ8BHj X-Received: by 2002:ac8:6904:0:b0:3a7:e50e:3fec with SMTP id bt4-20020ac86904000000b003a7e50e3fecmr1138427qtb.590.1672384143133; Thu, 29 Dec 2022 23:09:03 -0800 (PST) MIME-Version: 1.0 References: <371e4d826cca6aaba11a4222fef547b134ed6ce7.camel@siemens.com> <3494812.dWV9SEqChM@hp> In-Reply-To: <3494812.dWV9SEqChM@hp> From: "Roberto A. Foglietta" Date: Fri, 30 Dec 2022 08:08:26 +0100 Message-ID: Subject: Re: Better way to handle apt cache needed To: Uladzimir Bely Cc: "isar-users@googlegroups.com" Content-Type: text/plain; charset="UTF-8" X-TUID: Gw5S8/fKXljM On Fri, 30 Dec 2022 at 05:38, Uladzimir Bely wrote: > > Hello Roberto. > > I also did some similar improvements. They are not so radical as yours and the > benefit is not so big. But anyway, I'm sending 1st version of patchset. For > the 2nd version I plan to play with your idea with CACHEDIR.TAG and `tar - > exclude-caches` option and to improve work with additional internal sbuild > copying that you've already implemented. > About the use of hard links, I do not think that it is a problem because in build we can find 4 rootfs folders in which there are everything supposed to be on a Linux rootfs included links of every nature 4114 build/tmp/work/debian-bullseye-amd64/isar-bootstrap-target/1.0-r0/rootfs 4501 build/tmp/work/debian-bullseye-amd64/sbuild-chroot-target/1.0-r0/rootfs 4559 build/tmp/work/debian-bullseye-amd64/buildchroot-target/1.0-r0/rootfs 9064 build/tmp/work/debian-bullseye-amd64/eval-image-debx86/1.0-r0/rootfs This makes me think that trying to use ISAR on every filesystem that does not support all this stuff would not be able to create a suitable rootfs. So, the use of ln -P should not be a problem. Best regards, R-