This commit is contained in:
jpic
2020-01-26 12:44:34 +01:00
parent d43affe9bc
commit bb5510a934
5 changed files with 11 additions and 25 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ class Packages:
self.packages = list(packages)
self.mgr = None
def init_build(self, script):
def pre_build(self, script):
base = script.container.variable('base')
for mgr, cmds in self.mgrs.items():
cmd = ['podman', 'run', base, 'sh', '-c', f'type {mgr}']