public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Uladzimir Bely <ubely@ilbers.de>
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	[thread overview]
Message-ID: <20221026153241.17821-1-ubely@ilbers.de> (raw)

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


             reply	other threads:[~2022-10-26 15:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-26 15:32 Uladzimir Bely [this message]
2022-10-26 15:32 ` [PATCH v2 1/2] sbuild: " Uladzimir Bely
2022-10-26 15:32 ` [PATCH v2 2/2] sbuild: Set high prio for the packages from isar-apt repo Uladzimir Bely

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221026153241.17821-1-ubely@ilbers.de \
    --to=ubely@ilbers.de \
    --cc=isar-users@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox