Testing: Bubbles Mods

Signed-off-by: debianpepper <pdpdebdevuan@protonmail.com>
This commit is contained in:
debianpepper 2023-09-29 21:45:26 +09:00
parent 54da4fc28f
commit 7431db937a
1 changed files with 17 additions and 9 deletions

View File

@ -48,14 +48,15 @@ class BuildXfce:
self.sarch = sarch self.sarch = sarch
os.chdir(HOME_FOLDER + FUSATO_ROOT) os.chdir(HOME_FOLDER + FUSATO_ROOT)
self.build_system()
# Determine what base to build # Determine what base to build
if sbase == "deb": #if sbase == "deb":
# Run the Debian Build # Run the Debian Build
self.debian_build() #self.debian_build()
elif sbase == "dev": #elif sbase == "dev":
self.devuan_build() # self.devuan_build()
else: #else:
print("No base has been found") # print("No base has been found")
def debian_build(self): def debian_build(self):
@ -71,8 +72,11 @@ class BuildXfce:
else: else:
logger.warning("No active build specified!") logger.warning("No active build specified!")
def lb_helper(self): def lb_helper(self):
""" Helper for the lb setup""" """
Helper for the lb setup this is shared for all builds
"""
if self.sbase == "deb": if self.sbase == "deb":
if self.sarch[1:] == "64": if self.sarch[1:] == "64":
lbsetup = conf.LBSET_DEB64 lbsetup = conf.LBSET_DEB64
@ -100,7 +104,9 @@ class BuildXfce:
def infra_helper(self): def infra_helper(self):
""" Helper for the infra classes """ """
Helper for the infra classes this is shared for all builds
"""
infra.ChrootFolders(self.sbase, self.sarch) infra.ChrootFolders(self.sbase, self.sarch)
infra.BinaryFolders(self.sbase, self.sarch) infra.BinaryFolders(self.sbase, self.sarch)
infra.ArchitectureFiles(self.sbase, self.sarch) infra.ArchitectureFiles(self.sbase, self.sarch)
@ -108,7 +114,9 @@ class BuildXfce:
def xfce_helper(self): def xfce_helper(self):
""" Helper for the xfce desktop """ """
Helper for the xfce desktop shared for all builds
"""
if self.sarch[1:] == "64": if self.sarch[1:] == "64":
cmd_list = collections.deque(conf.build64_xfce_build) cmd_list = collections.deque(conf.build64_xfce_build)
list_size = len(cmd_list) list_size = len(cmd_list)