Testing: Deb 64 bubbles mods

Signed-off-by: debianpepper <pdpdebdevuan@protonmail.com>
This commit is contained in:
debianpepper 2023-09-29 19:39:24 +09:00
parent 8066a56bf9
commit fde0d64dd4
1 changed files with 15 additions and 13 deletions

View File

@ -76,18 +76,7 @@ class BuildXfce:
dir_current = "Current working directory" + current_working_directory
logger.info("Building a " + self.sbase + self.sarch[1:] + " bit ISO")
logger.info(dir_current)
# Set the config tree
bit_arch = self.sarch[1:]
if bit_arch == 64:
lbsetup = conf.LBSET_DEB64
elif bit_arch == 32:
lbsetup = conf.LBSET_DEB32
elif bit_arch == "arm":
lbsetup = conf.LBSET_DEBARM
else:
lbsetup = None
os.system(lbsetup)
logger.info(CFG_TREE_READY)
# Start with the XFCE stuff
if bit_arch == 64:
cmd_list = collections.deque(conf.build64_xfce_build)
@ -111,7 +100,20 @@ class BuildXfce:
logger.info(CFG_READY)
logger.info(START_LIVEBUILD)
logger.info(dir_current)
os.system(lbsetup)
# Set the config tree
bit_arch = self.sarch[1:]
if bit_arch == 64:
lbsetup = conf.LBSET_DEB64
os.system(lbsetup)
elif bit_arch == 32:
lbsetup = conf.LBSET_DEB32
os.system(lbsetup)
elif bit_arch == "arm":
lbsetup = conf.LBSET_DEBARM
os.system(lbsetup)
else:
lbsetup = None
logger.info(CFG_TREE_READY)
run_cmd = 'sudo lb build'
current_working_directory = os.getcwd()
os.chdir(HOME_FOLDER + FUSATO_ROOT)