Signed-off-by: debianpepper <pdpdebdevuan@protonmail.com>
This commit is contained in:
debianpepper 2023-08-28 21:13:29 +09:00
parent cab53977aa
commit 943c285b94
1 changed files with 18 additions and 1 deletions

View File

@ -62,6 +62,8 @@ class BuildXfce:
) )
os.system(run_cmd) os.system(run_cmd)
print("INFO: ISO build has completed successfully") print("INFO: ISO build has completed successfully")
def debian_build(self): def debian_build(self):
@ -134,7 +136,22 @@ class BuildXfce:
print('=' * term_size.columns) print('=' * term_size.columns)
print("INFO: Configs in place start the ISO build process") print("INFO: Configs in place start the ISO build process")
print('=' * term_size.columns) print('=' * term_size.columns)
self.run_build() current_working_directory = os.getcwd()
print('.' * term_size.columns)
print("INFO: Start Live-Build Process")
print("INFO: Current working directory" +
current_working_directory
)
print('.' * term_size.columns)
os.system(lbsetup)
run_cmd = 'sudo lb build'
current_working_directory = os.getcwd()
os.chdir(HOME_FOLDER + FUSATO_ROOT)
print("INFO: Current working directory" +
current_working_directory
)
os.system(run_cmd)
print("INFO: ISO build has completed successfully")
print('=' * term_size.columns) print('=' * term_size.columns)
print("INFO: Current working directory" + print("INFO: Current working directory" +
current_working_directory current_working_directory