diff --git a/python_modules/build_iso.py b/python_modules/build_iso.py index 96041b7d..acfb232d 100644 --- a/python_modules/build_iso.py +++ b/python_modules/build_iso.py @@ -73,17 +73,31 @@ class BuildXfce: def lb_helper(self): """ Helper for the lb setup""" - if self.sarch[1:] == "64": - lbsetup = "conf.LBSET_DEB64" - os.system(lbsetup) - elif self.sarch[1:] == "32": - lbsetup = "conf.LBSET_DEB32" - os.system(lbsetup) - elif self.sarch[1:] == "arm": - lbsetup = "conf.LBSET_DEBARM" - os.system(lbsetup) - else: - lbsetup = None + if self.sbase == "deb": + if self.sarch[1:] == "64": + lbsetup = conf.LBSET_DEB64 + os.system(lbsetup) + elif self.sarch[1:] == "32": + lbsetup = conf.LBSET_DEB32 + os.system(lbsetup) + elif self.sarch[1:] == "arm": + lbsetup = conf.LBSET_DEBARM + os.system(lbsetup) + else: + lbsetup = None + elif self.sbase == "dev": + if self.sarch[1:] == "64": + lbsetup = conf.LBSET_DEV64 + os.system(lbsetup) + elif self.sarch[1:] == "32": + lbsetup = conf.LBSET_DEV32 + os.system(lbsetup) + elif self.sarch[1:] == "arm": + lbsetup = conf.LBSET_DEVARM + os.system(lbsetup) + else: + lbsetup = None + def infra_helper(self): """ Helper for the infra classes """