mkosi: replace PackageManagerTrees= with SandboxTrees=

This commit is contained in:
Yu Watanabe 2024-10-11 15:52:48 +09:00
parent 1863eecff2
commit 4e3f16b5ef
5 changed files with 10 additions and 8 deletions

View File

@ -4,8 +4,8 @@
Distribution=|debian
Distribution=|ubuntu
[Distribution]
PackageManagerTrees=mkosi-pinning.pref:/etc/apt/preferences.d/mkosi-pinning.pref
[Build]
SandboxTrees=mkosi-pinning.pref:/etc/apt/preferences.d/mkosi-pinning.pref
[Content]
VolatilePackages=

View File

@ -6,7 +6,9 @@ Distribution=opensuse
[Distribution]
Release=tumbleweed
Repositories=non-oss
PackageManagerTrees=macros.db_backend:/etc/rpm/macros.db_backend
[Build]
SandboxTrees=macros.db_backend:/etc/rpm/macros.db_backend
[Content]
VolatilePackages=

View File

@ -6,5 +6,5 @@ Architecture=!x86-64
Architecture=!x86
Release=noble
[Distribution]
PackageManagerTrees=noble-backports-ports.sources:/etc/apt/sources.list.d/noble-backports-ports.sources
[Build]
SandboxTrees=noble-backports-ports.sources:/etc/apt/sources.list.d/noble-backports-ports.sources

View File

@ -6,5 +6,5 @@ Architecture=|x86-64
Architecture=|x86
Release=noble
[Distribution]
PackageManagerTrees=noble-backports.sources:/etc/apt/sources.list.d/noble-backports.sources
[Build]
SandboxTrees=noble-backports.sources:/etc/apt/sources.list.d/noble-backports.sources

View File

@ -25,7 +25,7 @@ Environment=NO_BUILD=1
You might also want to use the `PackageDirectories=` or `Repositories=` option to provide
mkosi with a directory or repository containing the systemd packages that should be installed
instead. If the repository containing the systemd packages is not a builtin repository known
by mkosi, you can use the `PackageManagerTrees=` option to write an extra repository definition
by mkosi, you can use the `SandboxTrees=` option to write an extra repository definition
to /etc which is used when building the image instead.
Next, we can build the integration test image with meson: