look for stages in /usr/lib/osbuild instead of /usr/lib

This commit is contained in:
Martin Sehnoutka 2019-07-11 11:21:47 +02:00 committed by Lars Karlitski
parent a837cc5e82
commit 4afef01626

View file

@ -25,7 +25,7 @@ BOLD = "\033[1m"
libdir = os.path.dirname(__file__)
if not os.path.exists(f"{libdir}/stages"):
libdir = f"{sys.prefix}/lib"
libdir = f"{sys.prefix}/lib/osbuild"
class StageFailed(Exception):