Testing: Module Updates
Signed-off-by: debianpepper <pdpdebdevuan@protonmail.com>
This commit is contained in:
parent
95ec892065
commit
39cca49267
|
@ -220,25 +220,17 @@ class BuildGflashback:
|
|||
""" Builds the ISO GFB Depedning on the Arch """
|
||||
current_working_directory = os.getcwd()
|
||||
dir_current = WRKING_DIR + current_working_directory
|
||||
logger.info("Building a " + self.sbase + self.sarch[1:] + " bit ISO")
|
||||
logger.info(f"Building a {self.sbase}{self.sarch[1:]} bit ISO")
|
||||
logger.info(dir_current)
|
||||
# Set the config tree
|
||||
self.lb_helper()
|
||||
# Start with the GFB 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)
|
||||
|
@ -254,20 +246,14 @@ def readybuild():
|
|||
logger.info("Making ready the fusato build directory")
|
||||
os.chdir(HOME_FOLDER)
|
||||
if os.path.exists('fusato'):
|
||||
rm_cmd = "sudo rm -r -f fusato"
|
||||
os.system(rm_cmd)
|
||||
os.makedirs('fusato')
|
||||
else:
|
||||
os.makedirs('fusato')
|
||||
|
||||
os.system("sudo rm -r -f fusato")
|
||||
os.makedirs('fusato')
|
||||
|
||||
|
||||
class Decsions:
|
||||
"""
|
||||
Aguments used to tell the application what to build
|
||||
"""
|
||||
|
||||
|
||||
def __init__(self):
|
||||
""" init the Decsions """
|
||||
# Set up the terminal arguments
|
||||
|
|
Loading…
Reference in New Issue