From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7158844466126651392 X-Received: by 2002:a05:600c:4aa9:b0:3cc:cc18:b468 with SMTP id b41-20020a05600c4aa900b003cccc18b468mr2937887wmp.152.1666798364155; Wed, 26 Oct 2022 08:32:44 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:600c:3d86:b0:3bf:beec:7a9e with SMTP id bi6-20020a05600c3d8600b003bfbeec7a9els1140910wmb.3.-pod-canary-gmail; Wed, 26 Oct 2022 08:32:42 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7dMHqwH3XgBBxgipecrmIlscFjA7+NzKLTsHPJyWCtayreFkKGsaSJqNGMr0c4uxTQwCaI X-Received: by 2002:a05:600c:4ed0:b0:3cd:3422:62d8 with SMTP id g16-20020a05600c4ed000b003cd342262d8mr2885907wmq.154.1666798362836; Wed, 26 Oct 2022 08:32:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666798362; cv=none; d=google.com; s=arc-20160816; b=BxPvmD51tSWyBLlN+gABlrXI/RCW8qTrUyjPW17rc3sclbej+u7xE1B7okUeP8CbOz 2W9qXcGTQbPp1Dmy6nfCmfDCx0UjiQc+MImDVxcbB1Rkw6g9Ig1JzESebkXRpiMWhA/O caTYCPKqY9+ek+NK3tJ7CYo0AHIofiggreNScC3+gcPUGG4cjr4ceKFKe9PTi/RVpK3p xTG+hYoxB+lNF+meTUnBxcac2SlyB+38WzSyCb4krUz7MTCTtkkzRk/uJP+/YqqIt3no 78biTj6N54rtCLo4npGJCRVK7ckKcxbQ/GBTW17G02XgnhMiBcywTzhPBilJuMxPw8dt FNWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from; bh=V8jEQ3pIupkJ/6fs2ouYZeMu/7M1jwCl42NgPt/82n0=; b=mp5RqXP/ob0ti5xjBomTBaS7DSXBW10srQkcWA5KWlyqOIPb3revTfyaKmJp3KZWOM eb1VcWbgz+pVeC6R3CfU5CfVSCz3vUTh8hYE8xfKEif4gd9BWxsInEaHRSHFlV4UQeLT Ed3/Fm5qKxmTd63eZIOtaWi4HE4Z8dwv8yABTvj6lvTSgdRcR3C2tLSyH3wgsTq89/8L 1yAq07cKSoZtg9YD0vWvlJsTjM44icloGuhiop/06XNzmcHhXGqrUvQBvMZbQ+8HEhjp kAADiJSznxWW8eVrb00MRS3ToBgj/w7OwnJ74bfr58Uek2cNZvFhV6BtE2pleS+538aY iScg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id p5-20020a05600c418500b003c4e7ae1ed6si114291wmh.0.2022.10.26.08.32.42 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 26 Oct 2022 08:32:42 -0700 (PDT) Received-SPF: pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Received: from baighyz.m.ilbers.de (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 29QFWfvu024767 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 26 Oct 2022 17:32:42 +0200 From: Uladzimir Bely To: isar-users@googlegroups.com Subject: [PATCH v2 0/2] Don't update apt database on every package build Date: Wed, 26 Oct 2022 17:32:39 +0200 Message-Id: <20221026153241.17821-1-ubely@ilbers.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: mBaqUiZUrW/j Here we want to avoid the default behaviour of sbuild when it tries to update all apt sources. To have package database consistent, we should rely on one we got during the debootstrap. The only repo that really needs updates is local `isar-apt` where custom build depends may be placed. Also, `isar-apt` should have the high priority over other sources. Changes since v1: - Disable only `apt update`, but leave `apt distupgrade` unchanged (enabled by default). This allows package upgrades from isar-apt repo. - Added a patch that sets high priority for isar-apt. Uladzimir Bely (2): sbuild: Don't update apt database on every package build sbuild: Set high prio for the packages from isar-apt repo meta/classes/dpkg.bbclass | 2 ++ 1 file changed, 2 insertions(+) -- 2.20.1