update infra and conf.py

This commit is contained in:
manuel 2024-03-28 13:05:56 -01:00
parent 38334f4eae
commit 9d885f04f2
5 changed files with 78 additions and 44 deletions

View File

@ -15,19 +15,19 @@ cat << EOF > $CHROOT/etc/apt/sources.list
# Main Repo - main contrib non-free non-free-firmware
deb http://deb.devuan.org/merged daedalus main contrib non-free non-free-firmware
#deb-src http://deb.devuan.org/merged daedalus main contrib non-free non-free-firmware
deb-src http://deb.devuan.org/merged daedalus main contrib non-free non-free-firmware
# Security Repo - main contrib non-free non-free-firmware
#deb http://deb.devuan.org/merged daedalus-security main contrib non-free non-free-firmware
#deb-src http://deb.devuan.org/merged daedalus-security main contrib non-free non-free-firmware
deb http://deb.devuan.org/merged daedalus-security main contrib non-free non-free-firmware
deb-src http://deb.devuan.org/merged daedalus-security main contrib non-free non-free-firmware
# Updates Repo - main contrib non-free non-free-firmware
#deb http://deb.devuan.org/merged daedalus-updates main contrib non-free non-free-firmware
#deb-src http://deb.devuan.org/merged daedalus-updates main contrib non-free non-free-firmware
deb http://deb.devuan.org/merged daedalus-updates main contrib non-free non-free-firmware
deb-src http://deb.devuan.org/merged daedalus-updates main contrib non-free non-free-firmware
# daedalus-backports, previously on backports.debian.org
#deb http://deb.devuan.org/merged daedalus-backports main contrib non-free non-free-firmware
#deb-src http://deb.devuan.org/merged daedalus-backports main contrib non-free non-free-firmware
deb http://deb.devuan.org/merged daedalus-backports main contrib non-free non-free-firmware
deb-src http://deb.devuan.org/merged daedalus-backports main contrib non-free non-free-firmware
EOF

View File

@ -15,19 +15,19 @@ cat << EOF > $CHROOT/etc/apt/sources.list
# Main Repo - main contrib non-free non-free-firmware
deb http://deb.devuan.org/merged daedalus main contrib non-free non-free-firmware
#deb-src http://deb.devuan.org/merged daedalus main contrib non-free non-free-firmware
deb-src http://deb.devuan.org/merged daedalus main contrib non-free non-free-firmware
# Security Repo - main contrib non-free non-free-firmware
#deb http://deb.devuan.org/merged daedalus-security main contrib non-free non-free-firmware
#deb-src http://deb.devuan.org/merged daedalus-security main contrib non-free non-free-firmware
deb http://deb.devuan.org/merged daedalus-security main contrib non-free non-free-firmware
deb-src http://deb.devuan.org/merged daedalus-security main contrib non-free non-free-firmware
# Updates Repo - main contrib non-free non-free-firmware
#deb http://deb.devuan.org/merged daedalus-updates main contrib non-free non-free-firmware
#deb-src http://deb.devuan.org/merged daedalus-updates main contrib non-free non-free-firmware
deb http://deb.devuan.org/merged daedalus-updates main contrib non-free non-free-firmware
deb-src http://deb.devuan.org/merged daedalus-updates main contrib non-free non-free-firmware
# daedalus-backports, previously on backports.debian.org
#deb http://deb.devuan.org/merged daedalus-backports main contrib non-free non-free-firmware
#deb-src http://deb.devuan.org/merged daedalus-backports main contrib non-free non-free-firmware
deb http://deb.devuan.org/merged daedalus-backports main contrib non-free non-free-firmware
deb-src http://deb.devuan.org/merged daedalus-backports main contrib non-free non-free-firmware
EOF

View File

@ -15,19 +15,19 @@ cat << EOF > $CHROOT/etc/apt/sources.list
# Main Repo - main contrib non-free non-free-firmware
deb http://deb.devuan.org/merged daedalus main contrib non-free non-free-firmware
#deb-src http://deb.devuan.org/merged daedalus main contrib non-free non-free-firmware
deb-src http://deb.devuan.org/merged daedalus main contrib non-free non-free-firmware
# Security Repo - main contrib non-free non-free-firmware
#deb http://deb.devuan.org/merged daedalus-security main contrib non-free non-free-firmware
#deb-src http://deb.devuan.org/merged daedalus-security main contrib non-free non-free-firmware
deb http://deb.devuan.org/merged daedalus-security main contrib non-free non-free-firmware
deb-src http://deb.devuan.org/merged daedalus-security main contrib non-free non-free-firmware
# Updates Repo - main contrib non-free non-free-firmware
#deb http://deb.devuan.org/merged daedalus-updates main contrib non-free non-free-firmware
#deb-src http://deb.devuan.org/merged daedalus-updates main contrib non-free non-free-firmware
deb http://deb.devuan.org/merged daedalus-updates main contrib non-free non-free-firmware
deb-src http://deb.devuan.org/merged daedalus-updates main contrib non-free non-free-firmware
# daedalus-backports, previously on backports.debian.org
#deb http://deb.devuan.org/merged daedalus-backports main contrib non-free non-free-firmware
#deb-src http://deb.devuan.org/merged daedalus-backports main contrib non-free non-free-firmware
deb http://deb.devuan.org/merged daedalus-backports main contrib non-free non-free-firmware
deb-src http://deb.devuan.org/merged daedalus-backports main contrib non-free non-free-firmware
EOF

View File

@ -26,6 +26,19 @@ shared_setup_cmds = ('inflate_bubble.set_fusato_structure',
'infra.boostrap_shared'
)
shared_setup_loaded_cmds = ('inflate_bubble.set_fusato_structure',
'inflate_bubble.set_general_shared',
'inflate_bubble.set_grub_shared',
'inflate_bubble.set_binary_shared',
'inflate_bubble.set_lightdm',
'infra.shared_folders',
'infra.icons_themes',
'infra.shared_files',
'infra.fusato_configs_loaded',
'infra.set_symlinks',
'infra.boostrap_shared'
)
# Setup Desktop configs
# Add mor as needed
@ -40,7 +53,7 @@ setup_opb_cmds = ('inflate_bubble.set_opb',
)
setup_loaded_cmds = ('inflate_bubble.set_loaded',
'infra.loaded_configs',
'infra.loaded_folders',
'infra.loaded_folders'
)
@ -109,7 +122,7 @@ buildarm_opb_build = (shared_setup_cmds + setup_opb_cmds +
)
#Xfce_loaded
build64_loaded_build = (shared_setup_cmds + setup_loaded_cmds +
build64_loaded_build = (shared_setup_loaded_cmds + setup_loaded_cmds +
setup_chroot_grub_64 + setup_binary_grub_64 +
setup_fw_64_32
)
@ -183,6 +196,7 @@ OPENBOX_LIST = ('openbox\n'
'qt5ct\n'
'jgmenu\n'
)
LOADED_LIST = ('xfce4\n'
'xfce4-goodies\n'
'xorg\n'
@ -239,6 +253,9 @@ LOADED_LIST = ('xfce4\n'
'ffmpegthumbnailer\n'
'baobab\n'
'xdg-user-dirs-gtk\n'
'squashfs-tools\n'
'calamares\n'
'calamares-settings-debian\n'
)

View File

@ -343,7 +343,6 @@ def shared_files():
#'/packages/deb-multimedia-keyring_2016.8.1_all.deb',
# '/repo_public_key/trusted.gpg',
)
des_paths = ('/etc/skel/.bash_aliases',
'/etc/apt/sources.list.d',
@ -356,7 +355,6 @@ def shared_files():
'/usr/share/plymouthd.conf',
#'/opt/pepconf/deb-multimedia-keyring_2016.8.1_all.deb',
#'/etc/apt/trusted.gpg.d/trusted.gpg',
)
# copy files to thier CHROOT Location
src_q = collections.deque(src_paths)
@ -394,6 +392,29 @@ def fusato_configs():
)
logger.info(MSG_FIN + HOME_FOLDER + WPCHROOT + des)
def fusato_configs_loaded():
"""
Copy specific folders in the root of fusato configs
"""
logger.info("Copy Loaded Fusato Configs")
src_paths = ('/loaded-hooks/normal',)
des_paths = ('/hooks/normal',)
src_q = collections.deque(src_paths)
des_q = collections.deque(des_paths)
size_q = len(src_q)
for size_length in range(size_q):
source = src_q.popleft()
des = des_q.popleft()
logger.info(MSG_COPY+ HOME_FOLDER + source)
shutil.copytree(HOME_FOLDER + source,
HOME_FOLDER + FUSATOCONFIG + des,
dirs_exist_ok = True
)
logger.info(MSG_FIN + HOME_FOLDER + WPCHROOT + des)
def boostrap_shared():
"""
Copy specific folders in the boostrap location
@ -498,14 +519,10 @@ def loaded_folders():
logger.info("Copy loaded folders")
src_paths = ('/loaded-application',
'/loaded-hooks/normal',
'/loaded-wallpaper',
#'/calamares_settings/branding'
'/loaded-wallpaper'
)
des_paths =('/usr/share/applications',
'/hooks/normal',
'/usr/share/backgrounds',
#'/etc/calamares/branding'
'/usr/share/backgrounds'
)
src_q = collections.deque(src_paths)
des_q = collections.deque(des_paths)