Update: Build_ISO.py modded and refractored

Signed-off-by: debianpepper <pdpdebdevuan@protonmail.com>
This commit is contained in:
debianpepper 2023-12-12 22:00:29 +09:00
parent ccb5014e6f
commit 9ea7cd57e0
1 changed files with 12 additions and 5 deletions

View File

@ -134,7 +134,6 @@ class BuildXfce:
logger.info(BUILD_COMPLETED)
class BuildGflashback:
"""
Determine what base to use and then build the ISO
@ -203,17 +202,25 @@ class BuildGflashback:
""" Builds the ISO GFB Depedning on the Arch """
current_working_directory = os.getcwd()
dir_current = WRKING_DIR + current_working_directory
logger.info(f"Building a {self.sbase}{self.sarch[1:]} bit ISO")
logger.info("Building a " + self.sbase + self.sarch[1:] + " bit ISO")
logger.info(dir_current)
# Set the config tree
self.lb_helper()
# Start with the XFCE stuff
self.gfb_helper()
# Run the specific classes
self.infra_helper()
# Run the Build
logger.info(CFG_READY)
logger.info(START_LIVEBUILD)
logger.info(dir_current)
self.lb_helper()
run_cmd = 'sudo lb build'
current_working_directory = os.getcwd()
os.chdir(HOME_FOLDER + FUSATO_ROOT)
# Set the build inidcator
inflate_bubble.make_bld_gnomeflashback(self.sbase, self.sarch[1:])
logger.info(dir_current)
os.system(run_cmd)
logger.info(BUILD_COMPLETED)
logger.info(dir_current)