testing the execute build algorithum

Signed-off-by: debianpepper <peppermintosteam@proton.me>
This commit is contained in:
debianpepper 2023-08-06 20:25:09 +09:00
parent d3dd07c862
commit d6d70ee827
2 changed files with 36 additions and 50 deletions

View File

@ -46,6 +46,28 @@ des_files_deb64 = [paths.des_grub_etc,
paths.des_main_line_pep_id
]
deb_64_cmds= ['lbinit',
'inflate_bubble.set_fusato_structure',
'inflate_bubble.set_desktop_environment',
'inflate_bubble.set_extra_packages',
'inflate_bubble.set_general_packages',
'inflate_bubble.set_system_packages',
'inflate_bubble.set_system_packages_64',
'inflate_bubble.set_python_packages',
'inflate_bubble.set_calamares_packages',
'inflate_bubble.set_firmware_packages',
'inflate_bubble.set_binary_packages_64',
'copy_folders.copy_folders_files',
'copy_files_specified.copy_specific_files',
'copy_files_specified.set_symlinks',
'copy_deb64_specific',
'run_build',
'finish_cleanup.make_check_sum',
'finish_cleanup.copy_iso_file_nightly_deb64',
'finish_cleanup.copy_iso_file_prod_deb64',
'finish_cleanup.kill_old_iso'
]
### Inflate bubble section
env_list =('xfce4')

View File

@ -73,64 +73,28 @@ def run_build():
os.system(run_cmd)
def execute_build_cmds():
""" Loop through the commands for the
Build Process
"""
cmd_list = collections.deque(conf.deb_64_cmds)
cmd_size = len(cmd_list)
for h in range(cmd_size):
x = cmd_list.popleft()
execute = x + '()'
execute
def readybuild():
"""" Ready the bld structure"""
if os.path.exists('fusato'):
rm_cmd = "sudo rm -r -f fusato"
os.system(rm_cmd)
os.makedirs('fusato')
# Run lb config to begin the setup
lbinit()
# Prep the folders
inflate_bubble.set_fusato_structure()
# Packages
inflate_bubble.set_desktop_environment()
inflate_bubble.set_extra_packages()
inflate_bubble.set_general_packages()
inflate_bubble.set_system_packages()
inflate_bubble.set_system_packages_64()
#inflate_bubble.set_artwork_packages()
inflate_bubble.set_python_packages()
inflate_bubble.set_calamares_packages()
inflate_bubble.set_firmware_packages()
inflate_bubble.set_binary_packages_64()
copy_folders.copy_folders_files()
copy_files_specified.copy_specific_files()
copy_files_specified.set_symlinks()
copy_deb64_specific()
run_build()
finish_cleanup.make_check_sum()
finish_cleanup.copy_iso_file_nightly_deb64()
finish_cleanup.copy_iso_file_prod_deb64()
finish_cleanup.kill_old_iso()
execute_build_cmds()
else:
os.makedirs('fusato')
# Run lb config to begin the setup
lbinit()
# Prep the folders
inflate_bubble.set_fusato_structure()
# Packages
inflate_bubble.set_desktop_environment()
inflate_bubble.set_extra_packages()
inflate_bubble.set_general_packages()
inflate_bubble.set_system_packages()
inflate_bubble.set_system_packages_64()
#inflate_bubble.set_artwork_packages()
inflate_bubble.set_python_packages()
inflate_bubble.set_calamares_packages()
inflate_bubble.set_firmware_packages()
inflate_bubble.set_binary_packages_64()
copy_folders.copy_folders_files()
copy_files_specified.copy_specific_files()
copy_files_specified.set_symlinks()
copy_deb64_specific()
run_build()
finish_cleanup.make_check_sum()
finish_cleanup.copy_iso_file_nightly_deb64()
finish_cleanup.copy_iso_file_prod_deb64()
finish_cleanup.kill_old_iso()
execute_build_cmds()
readybuild()