debian-forge/osbuild
Lars Karlitski 5b50dec8c5 osbuild: add -l/--libdir parameter
Stop guessing if we're in the source directory by looking if a `stages`
subdirectory exists. Instead, assume that osbuild is installed on the
host.

If `--libdir` is given, mount the libdir into `/run/osbuild/lib` (alas,
we can't overwrite `/usr/libexec/osbuild`) and run osbuild from there.
Thus, running from source must now be done like this:

    # python3 -m osbuild --libdir . [other args]
2019-07-24 12:55:48 +02:00
..
__init__.py osbuild: add -l/--libdir parameter 2019-07-24 12:55:48 +02:00
__main__.py osbuild: add -l/--libdir parameter 2019-07-24 12:55:48 +02:00
loop.py loop: add helpers to use IPC to create loop devices 2019-07-19 00:51:12 +02:00
remoteloop.py loop: add helpers to use IPC to create loop devices 2019-07-19 00:51:12 +02:00