From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7182796543154454528 X-Received: by 2002:ac5:cbcc:0:b0:3cf:a8e:4620 with SMTP id h12-20020ac5cbcc000000b003cf0a8e4620mr6591910vkn.31.1673027596426; Fri, 06 Jan 2023 09:53:16 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a67:dd83:0:b0:3ce:4dee:5bef with SMTP id i3-20020a67dd83000000b003ce4dee5befls4775569vsk.2.-pod-prod-gmail; Fri, 06 Jan 2023 09:53:15 -0800 (PST) X-Google-Smtp-Source: AMrXdXs/PcMKDHYuigv2Lkfl3fhahqaEj7CuF/esSHJTClMPg1HO46jN5O40eovYO0fmuAsIkUmg X-Received: by 2002:a67:f24b:0:b0:3ce:5cb:6ca4 with SMTP id y11-20020a67f24b000000b003ce05cb6ca4mr12339312vsm.11.1673027595641; Fri, 06 Jan 2023 09:53:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673027595; cv=none; d=google.com; s=arc-20160816; b=X4AX9Bqw3o8KSIE+GFPCKd5RbtwiDPZbHQy1HoE8gV/R4mnFIsIE0HKJ3rUwJYcOAM 6yb8LByL+kK43Kal4egu5AqUA91mNvEg0vSb3XyAYk3C4apGoQow6YzSARV5597Tv9Ut jMxAOhIBkjixoZaaKiwqu4FGGJzBs9rSszjW16PcllmWghRWPiCN4Ldqzqkq6yKzqmZb iwFEIyT73vmmV1I4mpyGqrEQHQVySaSx6HqfpW8Eh9Iyw1FKzDEKug1JJqeYkIFLEkw5 qmDLazGhu4nhIivnysD0017vdPnwuzp7iYcuLkwMmNw41fSkGsvn1tytbIn+nrO7tNuu WgmQ== 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=Adxhqkvq1qgc8E/Oxp7RyVvMn3Fto32dmfw28zR3maM=; b=OoUeh7xCDGlhaybedVeg1/Eyo/eo0JqGLbte5xTGB7FBNabDKYpEDZh/b8OOOrzXBD LMmtKiat7D3yJonPa/mMbhTfD4u1GDZWus/+jgCZBp4fbtTCP5c9Xar8+kxnyWXsh4+h sK5FiMB9zIjagRW2ibgXwAcLQGj0N6FDX0fgncZfuJ1WE5UM5N/Y+TTxy+dIhS+q+GmS V9WqT02wg+1qBvkTi5ZRgvFQke7keVqR3PklqwRjac+O96yCd0fVD8T/PqDAXn2Dp6AH 8UlNQR276STqdhK9KwXe0CKDsZqLeeIF04HWtivTrA7oX1vMQVDAGNnK0YVP4e2MJKCm AogQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="DUG/SfJ2"; spf=pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::833 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-x833.google.com (mail-qt1-x833.google.com. [2607:f8b0:4864:20::833]) by gmr-mx.google.com with ESMTPS id b15-20020a67e98f000000b003980b6c8861si142667vso.2.2023.01.06.09.53.15 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 06 Jan 2023 09:53:15 -0800 (PST) Received-SPF: pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::833 as permitted sender) client-ip=2607:f8b0:4864:20::833; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="DUG/SfJ2"; spf=pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::833 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-x833.google.com with SMTP id i20so2607329qtw.9 for ; Fri, 06 Jan 2023 09:53:15 -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=Adxhqkvq1qgc8E/Oxp7RyVvMn3Fto32dmfw28zR3maM=; b=DUG/SfJ2o6QWe93ift7gzcDstHmkwdWDgS98TEgudF/LjUayWSkzp2V5hBrysmDv4T 25vGKtJu3wvraeWDnpq+fYVisO2JCADDZhBeVxNh2lbbdXFd+rF76NZpoCr6ifDr5bJj ZLvMafGFRFyhOajBGFn2KSw9qJ9MzEHB/Xt3yb4Xi0SSMssccsCaYnPmscK4VbHSbqY3 PS67uw/A8wQVgXtRX5byCzsWHzgrX7DjtGSesuxCc9iVeobVouISz9sr7qXuFAm8wkED bLW6yUdbNl+BaXmkV3F6W0dEuinG5GCTGb5y9WRa7W8qKT3cYjoiJfGS0kqZaix4z+QZ Vcgg== 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=Adxhqkvq1qgc8E/Oxp7RyVvMn3Fto32dmfw28zR3maM=; b=NrK32oNgRHcgjRxqXlPVFqimXMVFudyUQ3ks/U8IIzxskt+MAFRLnIr6RNRNAaTkTB drHUCsN6KllaF7MYnwQlNa3vGte1UEV0KtaHMn3OCQDSxyQnt8SABDRZyqGihsfAIi7r hB0qpyWkNmOL9KbsGmNs/3in+R5oWzqUXUdq6JCAUTrwIB+kPN8yn1pn/YNxnudd06pM mm6/Mlfyeqi0gUjhD2UqP+eG3xyc8vJsPVEu5eGOPZghLagphZyZsjZeJZdKKRFRxfAz K08IZ+09pKjf5oKG25QXQN+9cO4/WEuY0LoBAfxMSyocZzKfUgYcRJJxoYBTngLzWQfy fmkw== X-Gm-Message-State: AFqh2kosNX+YNx/YnlVVPbtwzOXBHauL/uekZ50+M/rUxRYOkLE2jB5P dX4txgLPf1/jvWbnx8JZgy+b/siWX/DCLb+uch1F+ny+CA== X-Received: by 2002:ac8:6ec9:0:b0:3a6:8ddd:5095 with SMTP id f9-20020ac86ec9000000b003a68ddd5095mr2196744qtv.145.1673027595183; Fri, 06 Jan 2023 09:53:15 -0800 (PST) MIME-Version: 1.0 References: <20230106064809.10412-1-ubely@ilbers.de> <20230106064809.10412-4-ubely@ilbers.de> <20230106165826.1346da94@md1za8fc.ad001.siemens.net> <5434767.rdbgypaU67@home> In-Reply-To: <5434767.rdbgypaU67@home> From: "Roberto A. Foglietta" Date: Fri, 6 Jan 2023 18:52:38 +0100 Message-ID: Subject: Re: [PATCH v2 3/3] Changes for a faster build using less disk space To: Uladzimir Bely Cc: Henning Schild , isar-users@googlegroups.com Content-Type: text/plain; charset="UTF-8" X-TUID: Sq+AIKmSZLZU On Fri, 6 Jan 2023 at 18:38, Uladzimir Bely wrote: > > In the email from Friday, 6 January 2023 18:58:26 +03 user Henning Schild > wrote: > Original patch from Roberto included both `--exclude-caches` and `-- > exclude=var/cache/apt/archives"` options for `tar`. First one was expected to > automatically exclude all directories that contain special CACHEDIR.TAG file > [1]. But it appeared not to work. Investigating the problem shown that it > should not be empty file: GNU tar expects file starts with "Signature: > 8a477f597d28d172789f06886806bc55" line. > > It means, all the stuff with multiple "touch CACHEDIR.TAG" was useless and the > actually only option "--exclude=var/cache/apt/archives" did the trick. > > I fixed first and removed second option. But you are right, we can do vice > versa and it should look even simpler. > vice-versa means using --exclude because we know the folders in advance and left --exclude-caches / --exclude-backups for the pain of the users... ...as I did because it is simpler in terms of code changes and more efficient at running time. :-) Bests, R-