Modificar python_modules/build_iso.py
This commit is contained in:
parent
de7ae21443
commit
6519be048e
|
@ -208,9 +208,9 @@ class BuildLoaded(BuildBase):
|
|||
arch_suffix = self.sarch[1:]
|
||||
cmd_list = None
|
||||
if self.sbase in ["deb", "dev"]:
|
||||
if arch_suffix in ["64ld"]:
|
||||
if arch_suffix in ["64"]:
|
||||
os.system(f'touch {self.sbase.upper()}.{arch_suffix}loaded')
|
||||
if arch_suffix in ["64ld"]:
|
||||
if arch_suffix in ["64"]:
|
||||
cmd_list = getattr(conf, f"build{arch_suffix}_loaded_build", [])
|
||||
for command in cmd_list:
|
||||
execute = command + '()'
|
||||
|
@ -236,9 +236,9 @@ class BuildServer(BuildBase):
|
|||
arch_suffix = self.sarch[1:]
|
||||
cmd_list = None
|
||||
if self.sbase in ["deb", "dev"]:
|
||||
if arch_suffix in ["64srv"]:
|
||||
if arch_suffix in ["64"]:
|
||||
os.system(f'touch {self.sbase.upper()}.{arch_suffix}server')
|
||||
if arch_suffix in ["64srv"]:
|
||||
if arch_suffix in ["64"]:
|
||||
cmd_list = getattr(conf, f"build{arch_suffix}_server_build", [])
|
||||
for command in cmd_list:
|
||||
execute = command + '()'
|
||||
|
@ -369,8 +369,8 @@ class Decsions:
|
|||
def dloadxf(self):
|
||||
""" Arguments for the loaded xfce """
|
||||
build_type_mapping = {
|
||||
'b-loadeb': ("loaded", "_64"),
|
||||
'b-loadev': ("loaded", "_64"),
|
||||
'b-loadeb': ("deb", "_64"),
|
||||
'b-loadev': ("dev", "_64"),
|
||||
}
|
||||
|
||||
build_argument = self.arguments.b
|
||||
|
@ -385,8 +385,8 @@ class Decsions:
|
|||
def dserver(self):
|
||||
""" Arguments for the Server """
|
||||
build_type_mapping = {
|
||||
'b-srvdeb': ("debsrv", "_64srv"),
|
||||
'b-srvdev': ("debsrv", "_64srv"),
|
||||
'b-srvdeb': ("deb", "_64srv"),
|
||||
'b-srvdev': ("dev", "_64srv"),
|
||||
}
|
||||
|
||||
build_argument = self.arguments.b
|
||||
|
|
Loading…
Reference in New Issue