Testing: Modules
Signed-off-by: debianpepper <pdpdebdevuan@protonmail.com>
This commit is contained in:
parent
e0bbc9db92
commit
ec8e9822f0
|
@ -55,7 +55,7 @@ class BuildBase:
|
|||
self.build_system(desktop_helper)
|
||||
|
||||
def lb_helper(self):
|
||||
""" Helper to seto of the lb commands for live-build"""
|
||||
""" Helper to set the lb commands for live-build"""
|
||||
lbsetup = None
|
||||
if self.sbase in ["deb", "dev"]:
|
||||
arch_suffix = self.sarch[1:]
|
||||
|
|
|
@ -23,6 +23,7 @@ BASE_DESTINATION = '/var/www/html/nightly'
|
|||
BASE_NAME = 'PeppermintOS'
|
||||
|
||||
|
||||
|
||||
def make_check_sum():
|
||||
""" Generate the check sum files """
|
||||
os.chdir(HOME_FOLDER + FUSATO_ROOT)
|
||||
|
@ -47,6 +48,7 @@ def process_iso(base, arch, desktop):
|
|||
src_iso = files
|
||||
rdes = f"{BASE_NAME}-{base}_{arch}_{desktop.lower()}{today}.iso"
|
||||
des_iso =f"{BASE_DESTINATION}/{base.lower()}{arch}/{desktop.lower()}"
|
||||
os.system(f'touch {base}.{arch}{desktop.lower()}')
|
||||
os.rename(src_iso, rdes)
|
||||
shutil.copy(rdes, des_iso)
|
||||
|
||||
|
@ -65,12 +67,12 @@ def check_build_type():
|
|||
os.chdir(HOME_FOLDER + FUSATO_ROOT)
|
||||
directory_path = HOME_FOLDER + FUSATO_ROOT
|
||||
file_function_mapping = {
|
||||
'deb.64xfc': ('deb', '64', 'XFCE'),
|
||||
'deb.32xfc': ('deb', '32', 'XFCE'),
|
||||
'deb.armxfc': ('deb', 'arm', 'XFCE'),
|
||||
'dev.64xfc': ('dev', '64', 'XFCE'),
|
||||
'dev.32xfc': ('dev', '32', 'XFCE'),
|
||||
'dev.armxfc': ('dev', 'arm', 'XFCE'),
|
||||
'deb.64xfce': ('deb', '64', 'XFCE'),
|
||||
'deb.32xfce': ('deb', '32', 'XFCE'),
|
||||
'deb.armxfce': ('deb', 'arm', 'XFCE'),
|
||||
'dev.64xfce': ('dev', '64', 'XFCE'),
|
||||
'dev.32xfce': ('dev', '32', 'XFCE'),
|
||||
'dev.armxfce': ('dev', 'arm', 'XFCE'),
|
||||
'deb.64gfb': ('deb', '64', 'GFB'),
|
||||
'deb.32gfb': ('deb', '32', 'GFB'),
|
||||
'deb.armgfb': ('deb', 'arm', 'GFB'),
|
||||
|
|
Loading…
Reference in New Issue