move files from /usr/libexec to /usr/lib

There is no real difference in these two directories. Composer already
uses /usr/lib, so OSBuild should use the same as well.
This commit is contained in:
Martin Sehnoutka 2019-10-02 12:18:34 +02:00 committed by Tom Gundersen
parent 8f9dd5ec7d
commit fa8de2f6d8
2 changed files with 8 additions and 8 deletions

View file

@ -69,7 +69,7 @@ class Stage:
"options": self.options,
}
path = "/run/osbuild/lib" if libdir else "/usr/libexec/osbuild"
path = "/run/osbuild/lib" if libdir else "/usr/lib/osbuild"
r = build_root.run(
[f"{path}/osbuild-run", f"{path}/stages/{self.name}"],
binds=[f"{tree}:/run/osbuild/tree"],
@ -124,7 +124,7 @@ class Assembler:
binds.append(f"{output_dir}:/run/osbuild/output")
args["output_dir"] = "/run/osbuild/output"
path = "/run/osbuild/lib" if libdir else "/usr/libexec/osbuild"
path = "/run/osbuild/lib" if libdir else "/usr/lib/osbuild"
with build_root.bound_socket("remoteloop") as sock, \
remoteloop.LoopServer(sock):
r = build_root.run(