debian-forge/osbuild
Michael Vogt a3e32f3823 util: drop absolute path from Chroot.run() calls
We currently use the absolute path of these binaries in the
helper. This has some advantages but given that we control the
inputs for PATH in general it seems unnecessary.

We are also slightly inconsistent about this in the codebase but
favor the non absolute path version. A quick count:
```
$ git grep '"chroot"'|wc -l
13
$ git grep '"/usr/sbin/chroot"'|grep -v test_|wc -l
8
```
for `mount` and `umount` it seems this is the only place that uses
the absolute path.

It's not an important change but it has the nice property that it
allows us to use e.g. `testutil.mock_command()` in our tests and
it would be nice to be consistent.
2024-10-24 10:06:46 +02:00
..
formats format/v2: add new "partition" field to "describe_mount" 2023-12-22 10:18:29 -05:00
solver Solver/dnf.py: simplify the code a bit 2024-09-18 12:26:36 +02:00
testutil testutil: add helper function for depsolving pkgset with DNF4 2024-09-18 12:26:36 +02:00
util util: drop absolute path from Chroot.run() calls 2024-10-24 10:06:46 +02:00
__init__.py Post release version bump 2024-10-23 08:28:22 +00:00
__main__.py osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
api.py Fix errors reported by new version of mypy 2023-04-12 11:57:18 +02:00
buildroot.py osbuild: make the entire /etc/selinux avaialble for the buildroot 2024-03-22 11:24:35 +01:00
devices.py osbuild: error when {Device,Mount} is modified after creation 2024-01-19 02:54:26 +01:00
host.py tox: add tox 2023-08-01 15:01:13 +02:00
inputs.py jsoncomm: transparently handle huge messages via fds 2024-09-17 19:27:03 +02:00
loop.py devices/loopback: add read-only option 2024-09-18 08:54:34 +02:00
main_cli.py osbuild: also print what export is availalble when one is not found 2024-09-10 10:49:18 -07:00
meta.py meta: use pathlib to join paths in class Index 2024-10-17 08:55:18 +02:00
mixins.py osbuild: error when {Device,Mount} is modified after creation 2024-01-19 02:54:26 +01:00
monitor.py main,monitor: fix total steps in progress reporting 2024-07-31 23:00:33 +02:00
mounts.py mounts/ostree.deployment: support deployments on mount 2024-01-31 16:46:01 -05:00
objectstore.py objectstore: add new skip_preserve_owner to Object.export() 2023-12-20 09:28:39 +01:00
pipeline.py jsoncomm: transparently handle huge messages via fds 2024-09-17 19:27:03 +02:00
remoteloop.py osbuild: reuse loop_for_fd() in LoopServer 2024-03-11 10:56:49 +01:00
sources.py jsoncomm: transparently handle huge messages via fds 2024-09-17 19:27:03 +02:00