public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH v3 0/3] Don't update apt database on every package build
@ 2022-10-31  6:06 Uladzimir Bely
  2022-10-31  6:06 ` [PATCH v3 1/3] sbuild: " Uladzimir Bely
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Uladzimir Bely @ 2022-10-31  6:06 UTC (permalink / raw)
  To: isar-users

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
and allow downgrades (like it was done earlier for buildchroot).

Changes since v2:
 - Allow downgrades when installing package dependencies

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 (3):
  sbuild: Don't update apt database on every package build
  sbuild: Set high prio for the packages from isar-apt repo
  sbuild: Allow downgrades when installing dependencies

 meta/classes/dpkg.bbclass | 3 +++
 1 file changed, 3 insertions(+)

-- 
2.20.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-01-12  7:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-31  6:06 [PATCH v3 0/3] Don't update apt database on every package build Uladzimir Bely
2022-10-31  6:06 ` [PATCH v3 1/3] sbuild: " Uladzimir Bely
2022-10-31  6:06 ` [PATCH v3 2/3] sbuild: Set high prio for the packages from isar-apt repo Uladzimir Bely
2023-01-11 14:36   ` Jan Kiszka
2023-01-11 14:52     ` Jan Kiszka
2023-01-11 17:34       ` Jan Kiszka
2023-01-12  7:46         ` Uladzimir Bely
2022-10-31  6:06 ` [PATCH v3 3/3] sbuild: Allow downgrades when installing dependencies Uladzimir Bely
2022-11-15  7:49 ` [PATCH v3 0/3] Don't update apt database on every package build Anton Mikanovich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox