bubbles/python_modules/conf.py

590 lines
23 KiB
Python
Raw Normal View History

import paths
##########################
# Copy folder lists
#########################
# Source CHROOT
src_paths_chroot_deb64 = (paths.src_deb64_osrelease,
paths.src_deb64_osrelease,
paths.src_deb_grub_theme,
paths.src_deb64_modules,
)
src_paths_chroot_dev64 = (paths.src_dev64_osrelease,
paths.src_dev64_osrelease,
paths.src_dev_grub_theme,
paths.src_dev64_modules,
)
src_paths_chroot_dev32 = (paths.src_dev32_osrelease,
paths.src_dev32_osrelease,
paths.src_dev_grub_theme,
paths.src_dev32_modules,
)
src_paths_chroot_deb32 = (paths.src_deb32_osrelease,
paths.src_deb32_osrelease,
paths.src_deb_grub_theme,
paths.src_deb32_modules,
)
src_paths_chroot_debarm = (paths.src_debarm_osrelease,
paths.src_debarm_modules,
)
src_paths_chroot_devarm = (paths.src_devarm_osrelease,
paths.src_devarm_modules,
)
# Source NON CHROOT
src_paths_non_chroot_deb64 = ( paths.src_deb64_slpash,
paths.src_deb64_isolinux,
paths.src_deb64_multi,
paths.src_deb_splash_image,
paths.src_deb_splash_image,
paths.src_deb_live_theme
)
src_paths_non_chroot_dev64 = ( paths.src_dev64_slpash,
paths.src_dev64_isolinux,
paths.src_dev64_multi,
paths.src_dev_splash_image,
paths.src_dev_splash_image,
paths.src_dev_live_theme
)
src_paths_non_chroot_dev32 = ( paths.src_dev32_slpash,
paths.src_dev32_isolinux,
paths.src_dev32_multi,
paths.src_dev_splash_image,
paths.src_dev_splash_image,
paths.src_dev_live_theme
)
src_paths_non_chroot_deb32 = ( paths.src_deb32_slpash,
paths.src_deb32_isolinux,
paths.src_deb32_multi,
paths.src_deb_splash_image,
paths.src_deb_splash_image,
paths.src_deb_live_theme
)
src_paths_non_chroot_debarm = ( paths.src_debarm_slpash,
paths.src_debarm_isolinux,
paths.src_debarm_multi,
)
src_paths_non_chroot_devarm = ( paths.src_devarm_slpash,
paths.src_devarm_isolinux,
paths.src_devarm_multi,
)
####################
# Copy file lists
####################
# Specific files
src_files_deb64 = (paths.src_deb64_grub_etc,
paths.src_deb64_settings,
paths.src_deb64_installer,
paths.src_deb64_sourcesfinal,
paths.src_deb64_bootloader,
paths.src_deb64_netinstall,
paths.src_deb64_sourcelist,
paths.src_main_line_pep_id
)
src_files_dev64 = (paths.src_dev64_grub_etc,
paths.src_dev64_settings,
paths.src_dev64_installer,
paths.src_dev64_sourcesfinal,
paths.src_dev64_bootloader,
paths.src_dev64_netinstall,
paths.src_dev64_sourcelist,
paths.src_main_line_pep_id
)
src_files_dev32 = (paths.src_dev32_grub_etc,
paths.src_dev32_settings,
paths.src_dev32_installer,
paths.src_dev32_sourcesfinal,
paths.src_dev32_bootloader,
paths.src_dev32_netinstall,
paths.src_dev32_sourcelist,
paths.src_main_line_pep_id
)
src_files_deb32 = (paths.src_deb32_grub_etc,
paths.src_deb32_settings,
paths.src_deb32_installer,
paths.src_deb32_sourcesfinal,
paths.src_deb32_bootloader,
paths.src_deb32_netinstall,
paths.src_deb32_sourcelist,
paths.src_main_line_pep_id
)
src_files_debarm = (paths.src_debarm_grub_etc,
paths.src_debarm_settings,
paths.src_debarm_installer,
paths.src_debarm_sourcesfinal,
paths.src_debarm_bootloader,
paths.src_debarm_netinstall,
paths.src_debarm_sourcelist,
)
src_files_devarm = (paths.src_devarm_grub_etc,
paths.src_devarm_settings,
paths.src_devarm_installer,
paths.src_devarm_sourcesfinal,
paths.src_devarm_bootloader,
paths.src_devarm_netinstall,
paths.src_devarm_sourcelist,
)
##########################
# Shared Destination
##########################
# Destination CHROOT Folders
des_paths_chroot =(paths.des_osrelease,
paths.des_osrelease_opt,
paths.des_grub_theme,
paths.des_modules,
)
# Destination NON CHROOT Folders
des_paths_non_chroot = (paths.des_splash,
paths.des_isolinux,
paths.des_archives,
paths.des_splash_image_isolinux,
paths.des_splash_image_grub,
paths.des_live_theme
)
# Destination Files
des_files = (paths.des_grub_etc,
paths.des_setttings,
paths.des_installer,
paths.des_sourcesfinal,
paths.des_bootloader,
paths.des_netinstall,
paths.des_sourcelist,
paths.des_main_line_pep_id
)
##########################
# Commands to be run
##########################
# Run Deb 64 Commands
shared_setup_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_python_packages',
'inflate_bubble.set_calamares_packages',
'inflate_bubble.set_firmware_packages',
'copy_folders.copy_folders_files',
'copy_files_specified.copy_specific_files',
'copy_files_specified.set_symlinks',
)
shared_run_build = ('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'
)
deb_64_cmds = ('inflate_bubble.set_system_packages_64',
'inflate_bubble.set_binary_packages_64',
'copy_deb64_specific',
)
### Inflate bubble section
env_list = ('xfce4')
2023-07-11 06:48:53 +00:00
desktop_list = ('mousepad\n'
'xfce4-battery-plugin\n'
'xfce4-clipman-plugin\n'
'xfce4-power-manager\n'
'xfce4-taskmanager\n'
'xfce4-terminal\n'
'xfce4-screenshooter\n'
'xfce4-whiskermenu-plugin\n'
'xfce4-panel-profiles\n'
# Orage should be a user decision
#'orage\n'
'thunar-archive-plugin\n'
'thunar-volman\n'
'xarchiver\n'
'lightdm\n'
'lightdm-gtk-greeter\n'
'lightdm-gtk-greeter-settings\n'
'plank\n'
#'marwaita-for-xfwm'
2023-07-11 06:48:53 +00:00
)
general_list = ('dconf-editor\n'
'gnome-disk-utility\n'
'menulibre\n'
'synaptic\n'
'system-config-printer\n'
'gnome-system-tools\n'
'simple-scan\n'
'mugshot\n'
#Not needed should be left to the user
#'xterm\n'
#Taken out for the moment to verify should not be there.
# 'libreoffice-core\n'
# 'libreoffice-gtk3\n'
'spice-vdagent'
)
system_list = ('cups\n'
'curl\n'
'dkms\n'
'dbus-x11\n'
'nala\n'
'fonts-cantarell\n'
'fonts-liberation\n'
'gdebi\n'
'gir1.2-webkit2-4.0\n'
'git\n'
'gvfs-backends\n'
'inputattach\n'
'inxi\n'
'locales\n'
'neofetch\n'
'network-manager-gnome\n'
'ntp\n'
'pulseaudio-module-bluetooth\n'
'simple-scan\n'
'smartmontools\n'
'smbclient\n'
'sqlite3\n'
'wireless-tools\n'
'wget\n'
'f2fs-tools\n'
'xfsprogs\n'
'alsa-utils\n'
'bluez\n'
2023-07-11 06:48:53 +00:00
'console-setup\n'
'gparted\n'
'libglib2.0'
)
system_list_64_32 = ('\n'
# Place Holder for 32 bit
)
system_list_64 = ('\n'
'efibootmgr\n'
'grub-common\n'
'grub2-common\n'
'grub-efi\n'
'grub-efi-amd64\n'
'grub-efi-amd64-bin\n'
'grub-efi-amd64-signed\n'
'libefiboot1\n'
'libefivar1\n'
'mokutil\n'
'os-prober\n'
'shim-helpers-amd64-signed\n'
'shim-signed\n'
'shim-signed-common\n'
'shim-unsigned\n'
'grub-efi-ia32-bin\n'
'libglib2.0'
)
system_list_arm64 = ('\n'
'efibootmgr\n'
'grub-common\n'
'grub2-common\n'
'grub-efi\n'
'grub-efi-arm64\n'
'grub-efi-arm64-bin\n'
'grub-efi-arm64-signed\n'
'libefiboot1\n'
'libefivar1\n'
'mokutil\n'
'os-prober\n'
'shim-helpers-arm64-signed\n'
'shim-signed\n'
'shim-signed-common\n'
'shim-unsigned\n'
'libglib2.0'
)
system_list_32 = ('\n'
'efibootmgr\n'
'grub-common\n'
'grub2-common\n'
'grub-efi\n'
'grub-efi-ia32\n'
'grub-efi-ia32-bin\n'
'grub-efi-ia32-signed\n'
'grub-efi-ia32-bin\n'
'libefiboot1\n'
'libefivar1\n'
'mokutil\n'
'os-prober\n'
'shim-helpers-i386-signed\n'
'shim-signed\n'
'shim-signed-common\n'
'shim-unsigned\n'
)
artwork_list = (
'pepermint-wallpapers'
)
python_list = ('python3-pip\n'
'python3-tk\n'
'python3-pil.imagetk\n'
)
calamares_list = ('calamares\n'
'calamares-settings-debian'
)
firmware_list = ('atmel-firmware\n'
'bluez-firmware\n'
'firmware-linux-free\n'
'firmware-atheros\n'
'midisport-firmware\n'
'firmware-misc-nonfree\n'
'firmware-amd-graphics\n'
'firmware-bnx2\n'
'firmware-bnx2x\n'
'firmware-brcm80211\n'
'firmware-cavium\n'
'firmware-intel-sound\n'
'firmware-iwlwifi\n'
'firmware-libertas\n'
'firmware-linux\n'
'firmware-linux-nonfree\n'
'firmware-misc-nonfree\n'
'firmware-myricom\n'
'firmware-netronome\n'
'firmware-netxen\n'
'firmware-qcom-media\n'
'firmware-qcom-soc\n'
'firmware-qlogic\n'
'firmware-realtek\n'
'firmware-samsung\n'
'firmware-siano\n'
#'firmware-ti-connectivity\n'
2023-07-11 06:48:53 +00:00
'firmware-sof-signed\n'
#This Driver is not available in Devuan 'firmware-zd1211'
2023-07-11 06:48:53 +00:00
)
firmware_list_arm = ('firmware-linux\n'
'firmware-linux-nonfree\n'
'firmware-misc-nonfree\n'
'firmware-realtek\n'
'firmware-atheros\n'
'firmware-bnx2\n'
'firmware-bnx2x\n'
'firmware-brcm80211\n'
'firmware-iwlwifi\n'
'firmware-libertas\n'
'firmware-netxen\n'
'firmware-zd1211\n'
'firmware-ralink'
)
binary_list_64 = ('efibootmgr\n'
'grub-common\n'
'grub2-common\n'
'grub-efi\n'
'grub-efi-amd64\n'
'grub-efi-amd64-bin\n'
'grub-efi-amd64-signed\n'
'libefiboot1\n'
'libefivar1\n'
'mokutil\n'
'os-prober\n'
'shim-helpers-amd64-signed\n'
'shim-signed\n'
'shim-signed-common\n'
'shim-unsigned\n'
'grub-efi-ia32-bin'
)
binary_list_arm = ('efibootmgr\n'
'grub-common\n'
'grub2-common\n'
'grub-efi\n'
'grub-efi-arm64\n'
'grub-efi-arm64-bin\n'
'grub-efi-arm64-signed\n'
'libefiboot1\n'
'libefivar1\n'
'mokutil\n'
'os-prober\n'
'shim-helpers-arm64-signed\n'
'shim-signed\n'
'shim-signed-common\n'
'shim-unsigned'
)
binary_list_32 = ('efibootmgr\n'
'grub-common\n'
'grub2-common\n'
'grub-efi\n'
'grub-efi-ia32\n'
'grub-efi-ia32-bin\n'
'grub-efi-ia32-signed\n'
'grub-efi-ia32-bin\n'
'libefiboot1\n'
'libefivar1\n'
'mokutil\n'
'os-prober\n'
'shim-helpers-i386-signed\n'
'shim-signed\n'
'shim-signed-common\n'
'shim-unsigned\n'
)
### END Inflate
# General Shared commands
shell_copy_folders = 'cp -r '
### Start Arch Specific
# Set the LB configs
lbset_deb32 = ('lb config --mode debian --distribution bookworm'
' --archive-areas "main contrib non-free non-free-firmware"'
2023-07-11 06:48:53 +00:00
' --architectures i386 --linux-flavours 686-pae'
' --apt-recommends true --binary-images iso-hybrid'
' --firmware-binary true --firmware-chroot false --security false'
' --updates false --backports false '
' --image-name "PeppermintOS-Debian-32"'
' --iso-application "PeppermintOS"'
' --iso-preparer "PeppermintOS-https://peppermintos.com/"'
' --iso-publisher "Peppermint OS Team"'
' --iso-volume "PeppermintOS" --win32-loader false'
' --checksums sha512 --cache true --clean --color --quiet'
' --zsync false '
)
lbset_deb64 = ('lb config --mode debian --distribution bookworm'
' --archive-areas "main contrib non-free non-free-firmware"'
2023-07-11 06:48:53 +00:00
' --architectures amd64 --linux-flavours amd64'
' --apt-recommends true --binary-images iso-hybrid'
' --security true'
' --updates true --backports false'
2023-07-11 06:48:53 +00:00
' --image-name "PeppermintOS-Debian-64"'
' --iso-application "PeppermintOS"'
' --iso-preparer "PeppermintOS-https://peppermintos.com/"'
' --iso-publisher "Peppermint OS Team"'
' --iso-volume "PeppermintOS" --win32-loader false'
' --checksums sha512 --cache true'
' --zsync false '
' --mirror-bootstrap https://deb.debian.org/debian'
' --parent-mirror-bootstrap https://deb.debian.org/debian'
' --parent-mirror-chroot https://deb.debian.org/debian'
' --parent-mirror-chroot-security https://security.debian.org/debian-security'
' --parent-mirror-binary https://deb.debian.org/debian'
' --parent-mirror-binary-security https://security.debian.org/debian-security'
' --mirror-chroot https://deb.debian.org/debian'
' --mirror-chroot-security https://security.debian.org/debian-security'
2023-07-11 06:48:53 +00:00
)
lbset_dev32 = ('lb config noauto --clean --color --quiet'
' --archive-areas "main contrib non-free non-free-firmware" --architectures i386'
2023-07-11 06:48:53 +00:00
' --linux-flavours 686-pae --apt-recommends true'
' --binary-images iso-hybrid --cache true --mode debian'
' --distribution daedalus --initsystem sysvinit'
' --mirror-bootstrap http://deb.devuan.org/merged'
' --parent-mirror-bootstrap http://deb.devuan.org/merged'
' --parent-mirror-chroot http://deb.devuan.org/merged'
' --parent-mirror-chroot-security http://deb.devuan.org/merged'
' --parent-mirror-binary http://deb.devuan.org/merged'
' --parent-mirror-binary-security http://deb.devuan.org/merged'
' --mirror-chroot http://deb.devuan.org/merged'
' --mirror-chroot-security http://deb.devuan.org/merged'
' --firmware-binary true --firmware-chroot true'
' --uefi-secure-boot enable --iso-application "PeppermintOS"'
' --iso-preparer "PeppermintOS-https://peppermintos.com/"'
' --iso-publisher "Peppermint OS Team"'
' --iso-volume "PeppermintOS"'
' --image-name "PeppermintOS-Devuan-32"'
' --security false --updates false --backports false'
' --win32-loader false --checksums sha512 --zsync false'
)
lbset_dev64 = ('lb config noauto --clean --color --quiet'
' --archive-areas "main contrib non-free non-free-firmware"'
2023-07-11 06:48:53 +00:00
' --architectures amd64 --linux-flavours amd64'
' --apt-recommends true'
' --binary-images iso-hybrid --cache true --mode debian'
' --distribution daedalus --initsystem sysvinit'
' --mirror-bootstrap http://deb.devuan.org/merged'
' --parent-mirror-bootstrap http://deb.devuan.org/merged'
' --parent-mirror-chroot http://deb.devuan.org/merged'
' --parent-mirror-chroot-security http://deb.devuan.org/merged'
' --parent-mirror-binary http://deb.devuan.org/merged'
' --parent-mirror-binary-security http://deb.devuan.org/merged'
' --mirror-chroot http://deb.devuan.org/merged'
' --mirror-chroot-security http://deb.devuan.org/merged'
' --firmware-binary true --firmware-chroot false'
' --uefi-secure-boot enable --iso-application "PeppermintOS"'
' --iso-preparer "PeppermintOS-https://peppermintos.com/"'
' --iso-publisher "Peppermint OS Team"'
' --iso-volume "PeppermintOS"'
'--image-name "PeppermintOS-Devuan-64"'
' --security false --updates false --backports false'
' --win32-loader false --checksums sha512 --zsync false'
)
lbset_devarm = ('lb config no auto --clean --color --quiet'
' --archive-areas "main contrib non-free non-free-firmware"'
' --architectures arm64 --apt-recommends true'
' --binary-images iso-hybrid --bootstrap-qemu-arch arm64'
' --bootloaders grub-efi'
' --bootstrap-qemu-static /usr/sbin/qemu-debootstrap'
' --cache true --mode debian --distribution daedalus'
' --debootstrap-options "--merged-usr" --initsystem sysvinit'
' --mirror-bootstrap http://deb.devuan.org/merged'
' --parent-mirror-bootstrap http://deb.devuan.org/merged'
' --parent-mirror-chroot http://deb.devuan.org/merged'
' --parent-mirror-chroot-security http://deb.devuan.org/merged'
' --parent-mirror-binary http://deb.devuan.org/merged'
' --parent-mirror-binary-security http://deb.devuan.org/merged'
' --mirror-chroot http://deb.devuan.org/merged'
' --mirror-chroot-security http://deb.devuan.org/merged'
' --firmware-binary true --firmware-chroot true'
' --uefi-secure-boot enable --iso-application "PeppermintOS"'
' --iso-preparer "PeppermintOS-https://peppermintos.com/"'
' --iso-publisher "Peppermint OS Team"'
' --iso-volume "PeppermintOS"'
' --image-name "PeppermintOS-Devuan-ARM"'
' --linux-flavours arm64 --security false'
' --updates false --backports false --win32-loader false'
' --checksums sha512 --zsync false'
)
lbset_debarm = ('lb config noauto --clean --color --quiet'
' --archive-areas "main contrib non-free non-free-firmware"'
' --architectures arm64 --apt-recommends true'
' --binary-images iso-hybrid --bootstrap-qemu-arch arm64'
' --bootloaders grub-efi'
' --bootstrap-qemu-static /usr/sbin/qemu-debootstrap'
' --cache true --mode debian --distribution bookworm'
' --firmware-binary true --firmware-chroot true'
' --uefi-secure-boot enable --iso-application "PeppermintOS"'
' --iso-preparer "PeppermintOS-https://peppermintos.com/"'
' --iso-publisher "Peppermint OS Team"'
' --iso-volume "PeppermintOS"'
' --image-name "PeppermintOS-Debian-ARM"'
' --linux-flavours arm64 --security false --updates false'
' --backports false --win32-loader false --checksums sha512'
)