1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-03 05:18:09 +03:00

mkosi: use apt pinning for locally built debian/ubuntu packages

This ensures that even in case the distro repository has newer
versions, the locally built packages are preferred and installed,
even to the point of downgrading already installed ones.
This is needed especially for future stable branches, when the
distros will have a newer version.

(cherry picked from commit 1ee8e526d7)
This commit is contained in:
Luca Boccassi 2024-07-05 16:36:45 +01:00 committed by Daan De Meyer
parent 7ab51fef1f
commit 3cf12f4f9a
2 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,3 @@
Package: *
Pin: release l=mkosi
Pin-Priority: 1100

View File

@ -11,6 +11,9 @@ Environment=
GIT_BRANCH=ci/v256-stable
GIT_COMMIT=5f07b24c429e854db1afad5f14729804a46a59af
[Distribution]
PackageManagerTrees=mkosi-pinning.pref:/etc/apt/preferences.d/mkosi-pinning.pref
VolatilePackages=
libnss-myhostname
libnss-mymachines