Updated
Signed-off-by: debianpepper <pdpdebdevuan@protonmail.com>
This commit is contained in:
parent
efabe94319
commit
879d9a6009
|
@ -45,7 +45,15 @@ class BuildXfce:
|
|||
""" Run and start the build process"""
|
||||
run_cmd = 'sudo lb build'
|
||||
os.chdir(HOME_FOLDER + FUSATO_ROOT)
|
||||
os.system(run_cmd)
|
||||
running = os.system(run_cmd)
|
||||
with subprocess.Popen(running,
|
||||
shell=True,
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.STDOUT) as sp:
|
||||
for line in iter(sp.stdout.readline, b''):
|
||||
print(line.rstrip())
|
||||
|
||||
|
||||
|
||||
|
||||
def debian_build(self):
|
||||
|
@ -62,31 +70,11 @@ class BuildXfce:
|
|||
for _ in range(list_size_64):
|
||||
i = cmd_list_64.popleft()
|
||||
execute = i + '()'
|
||||
running = exec(execute)
|
||||
with subprocess.Popen(running, shell=True,
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.STDOUT) as sp:
|
||||
for line in iter(sp.stdout.readline, b''):
|
||||
print(line.rstrip())
|
||||
exec(execute)
|
||||
# Run the specific classes
|
||||
chroot_class = infra.ChrootFolders("deb", "_64")
|
||||
with subprocess.Popen(chroot_class, shell=True,
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.STDOUT) as sp:
|
||||
for line in iter(sp.stdout.readline, b''):
|
||||
print(line.rstrip())
|
||||
binary_class = infra.BinaryFolders("deb", "_64")
|
||||
with subprocess.Popen(binary_class, shell=True,
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.STDOUT) as sp:
|
||||
for line in iter(sp.stdout.readline, b''):
|
||||
print(line.rstrip())
|
||||
arch_class = infra.ArchitectureFiles("deb", "_64")
|
||||
with subprocess.Popen(arch_class, shell=True,
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.STDOUT) as sp:
|
||||
for line in iter(sp.stdout.readline, b''):
|
||||
print(line.rstrip())
|
||||
infra.ChrootFolders("deb", "_64")
|
||||
infra.BinaryFolders("deb", "_64")
|
||||
infra.ArchitectureFiles("deb", "_64")
|
||||
# Run the Build
|
||||
bld_list = collections.deque(conf.shared_run_build)
|
||||
list_size = len(bld_list)
|
||||
|
|
Loading…
Reference in New Issue