mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09: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.
This commit is contained in:
committed by
Luca Boccassi
parent
b5eaa52d49
commit
1ee8e526d7
@@ -0,0 +1,3 @@
|
||||
Package: *
|
||||
Pin: release l=mkosi
|
||||
Pin-Priority: 1100
|
||||
@@ -11,6 +11,9 @@ Environment=
|
||||
GIT_BRANCH=debian/master
|
||||
GIT_COMMIT=abf24e775c67cf054f474526dd5d9d952a00228b
|
||||
|
||||
[Distribution]
|
||||
PackageManagerTrees=mkosi-pinning.pref:/etc/apt/preferences.d/mkosi-pinning.pref
|
||||
|
||||
VolatilePackages=
|
||||
libnss-myhostname
|
||||
libnss-mymachines
|
||||
|
||||
Reference in New Issue
Block a user