Correction détection présence de systemd
This commit is contained in:
parent
15643cf145
commit
97df663236
3
package
3
package
@ -102,7 +102,8 @@ if __name__ == "__main__":
|
||||
cb_hooks_env = os.environ.copy()
|
||||
cb_hooks_env["PATH"] = os.environ['PATH'] + ':' + local_acbuild_dir
|
||||
cb_hooks_env["TAMARIN_ACBUILD"] = " ".join([system.which('acbuild', local_acbuild_dir)]+acbuild_flags)
|
||||
cb_hooks_env["TAMARIN_ACBUILD_ENGINE"] = "chroot" if system.which('systemd-nspawn') == "" else "systemd-nspawn"
|
||||
cb_hooks_env["TAMARIN_ACBUILD_ENGINE"] = "chroot" if not system.which('systemctl') else "systemd-nspawn"
|
||||
|
||||
tamarin.run_profile_hooks(profile, 'containerbuild', cwd=build_workspace, env=cb_hooks_env)
|
||||
|
||||
# Cache image
|
||||
|
Loading…
Reference in New Issue
Block a user