Updated
Signed-off-by: debianpepper <pdpdebdevuan@protonmail.com>
This commit is contained in:
parent
9034631c7f
commit
19f638eb4a
|
@ -88,43 +88,43 @@ def make_bld_openbox(base,arch):
|
|||
make_build_file(base, arch, 'opb', 'OpenBox Build')
|
||||
|
||||
# Make the shared package lists files
|
||||
def make_package_list(file_name, content):
|
||||
def make_package_list(file_name, content, mode='a'):
|
||||
"""Create the package list file with the specified content"""
|
||||
with open(os.path.join(HOME_FOLDER, PACKAGE_LIST, file_name), 'a',
|
||||
with open(os.path.join(HOME_FOLDER, PACKAGE_LIST, file_name), mode,
|
||||
encoding='UTF-8') as f_p:
|
||||
f_p.write(content)
|
||||
|
||||
|
||||
def set_general_shared():
|
||||
""" Create the list for general shared list"""
|
||||
make_package_list('genshared.list.chroot', conf.GENERAL_SHARED_LIST, mode=x)
|
||||
make_package_list('genshared.list.chroot', conf.GENERAL_SHARED_LIST, mode='x')
|
||||
|
||||
|
||||
def set_grub_shared():
|
||||
""" Create the list for shared grub list"""
|
||||
make_package_list('grub.list.chroot', conf.GRUB_LIST_SHARED, mode=x)
|
||||
make_package_list('grub.list.chroot', conf.GRUB_LIST_SHARED, mode='x')
|
||||
|
||||
|
||||
def set_binary_shared():
|
||||
""" Create the shared list for grub binary"""
|
||||
make_package_list('installer.list.binary', conf.BINARY_LIST_SHARED, mode=x)
|
||||
make_package_list('installer.list.binary', conf.BINARY_LIST_SHARED, mode='x')
|
||||
|
||||
|
||||
# Light DM paklage list login window
|
||||
def set_lightdm():
|
||||
""" Create the list for the light dm list """
|
||||
make_package_list('lightdm.list.chroot', conf.LIGHT_DM_LIST, mode=x)
|
||||
make_package_list('lightdm.list.chroot', conf.LIGHT_DM_LIST, mode='x')
|
||||
|
||||
|
||||
# Desktop Environments
|
||||
def set_xfce():
|
||||
""" Create the list for the xfce xfce list"""
|
||||
make_package_list('xfce.list.chroot', conf.XFCE_LIST, mode=x)
|
||||
make_package_list('xfce.list.chroot', conf.XFCE_LIST, mode='x')
|
||||
|
||||
|
||||
def set_gfb():
|
||||
""" Create the list for the xfce xfce list"""
|
||||
make_package_list('gfb.list.chroot', conf.GNOME_FLASHBACK_LIST, mode=x)
|
||||
make_package_list('gfb.list.chroot', conf.GNOME_FLASHBACK_LIST, mode='x')
|
||||
|
||||
# CHROOT Specific
|
||||
def set_chroot_grub_64():
|
||||
|
@ -161,9 +161,9 @@ def set_binary_32():
|
|||
# Firmware Specific
|
||||
def set_firmware():
|
||||
""" Create the list for the firmware support for genral ISOs"""
|
||||
make_package_list('firmware.list.chroot', conf.FIRMWARE_LIST_32_64, mode=x)
|
||||
make_package_list('firmware.list.chroot', conf.FIRMWARE_LIST_32_64, mode='x')
|
||||
|
||||
|
||||
def set_firmware_arm():
|
||||
""" Create the list for the firmware support for arm ISOs"""
|
||||
make_package_list('firmware.list.chroot', conf.FIRMWARE_LIST_ARM, mode=x)
|
||||
make_package_list('firmware.list.chroot', conf.FIRMWARE_LIST_ARM, mode='x')
|
||||
|
|
Loading…
Reference in New Issue