]> git.ipfire.org Git - thirdparty/mkosi.git/commit
Allow using ExtraSearchPaths= with ToolsTree= 2634/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 15 Apr 2024 11:13:17 +0000 (13:13 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 15 Apr 2024 11:18:36 +0000 (13:18 +0200)
commiteb3563b5baa8f96320ee4265412b8bfcb346619e
tree9f1332b4117edd3781b6032714ae5fe943d07a34
parent6b46a43a9e3e0567ec3daf1f1dd0127d23d5791d
Allow using ExtraSearchPaths= with ToolsTree=

If we find a binary in any path configured with ExtraSearchPaths=,
we prefer using it over the tools tree.

This commit also gets rid of all the find_binary() for "btrfs" in
tree.py and stops passing in the tools tree to those functions.
Instead, we rely on the new behavior of run() to not fail hard
when check=False and the btrfs binary is not found.
21 files changed:
mkosi/__init__.py
mkosi/archive.py
mkosi/burn.py
mkosi/config.py
mkosi/context.py
mkosi/distributions/debian.py
mkosi/distributions/opensuse.py
mkosi/installer/__init__.py
mkosi/installer/apt.py
mkosi/installer/dnf.py
mkosi/installer/pacman.py
mkosi/installer/rpm.py
mkosi/installer/zypper.py
mkosi/kmod.py
mkosi/manifest.py
mkosi/partition.py
mkosi/qemu.py
mkosi/resources/mkosi.md
mkosi/run.py
mkosi/sandbox.py
mkosi/tree.py