Actualiser files_to_inject/preseeds/default.preseed

This commit is contained in:
2025-07-17 16:34:22 +02:00
parent d0dfe99f79
commit c1c45e70e2

View File

@@ -52,6 +52,7 @@ d-i pkgsel/include string \
htop \ htop \
spice-vdagent \ spice-vdagent \
flatpak \ flatpak \
gpg \
fish fish
# Installation GRUB avec support multi-OS # Installation GRUB avec support multi-OS
@@ -61,21 +62,23 @@ d-i grub-installer/with_other_os boolean true
# Choix manuel du périphérique d'installation GRUB # Choix manuel du périphérique d'installation GRUB
d-i grub-installer/bootdev seen false d-i grub-installer/bootdev seen false
# Configuration post-installation : kernel XanMod, shell Fish, dépôts Flathub et suppression Konqueror # Configuration post-installation : kernel XanMod, shell Fish, dépôts Flathub, mesa kisak et suppression Konqueror
d-i preseed/late_command string \ d-i preseed/late_command string \
in-target apt update ; \
in-target apt install --no-install-recommends gpg dkms libdw-dev clang lld llvm; \
in-target mkdir -p /etc/apt/keyrings ; \ in-target mkdir -p /etc/apt/keyrings ; \
in-target wget -qO /etc/apt/keyrings/xanmod-archive-keyring.gpg https://dl.xanmod.org/archive.key ; \ in-target wget -qO /etc/apt/keyrings/xanmod-archive-keyring.gpg https://dl.xanmod.org/archive.key ; \
in-target sh -c "echo 'deb [signed-by=/etc/apt/keyrings/xanmod-archive-keyring.gpg] http://deb.xanmod.org trixie main' > /etc/apt/sources.list.d/xanmod.list" ; \ in-target sh -c "echo 'deb [signed-by=/etc/apt/keyrings/xanmod-archive-keyring.gpg] http://deb.xanmod.org trixie main' > /etc/apt/sources.list.d/xanmod.list" ; \
in-target apt-get install -y gpg ; \
in-target gpg --keyserver keyserver.ubuntu.com --recv-keys EB8B81E14DA65431D7504EA8F63F0F2B90935439 ; \ in-target gpg --keyserver keyserver.ubuntu.com --recv-keys EB8B81E14DA65431D7504EA8F63F0F2B90935439 ; \
in-target gpg --export EB8B81E14DA65431D7504EA8F63F0F2B90935439 | in-target tee /etc/apt/trusted.gpg.d/kisak.gpg ; \ in-target gpg --export EB8B81E14DA65431D7504EA8F63F0F2B90935439 | in-target tee /etc/apt/trusted.gpg.d/kisak.gpg ; \
in-target sh -c "echo 'deb https://ppa.launchpadcontent.net/kisak/kisak-mesa/ubuntu plucky main' >> /etc/apt/sources.list.d/kisak-mesa.list" ; \ in-target sh -c "echo 'deb https://ppa.launchpadcontent.net/kisak/kisak-mesa/ubuntu plucky main' >> /etc/apt/sources.list.d/kisak-mesa.list" ; \
in-target sh -c "echo 'deb-src https://ppa.launchpadcontent.net/kisak/kisak-mesa/ubuntu plucky main' >> /etc/apt/sources.list.d/kisak-mesa.list" ; \ in-target sh -c "echo 'deb-src https://ppa.launchpadcontent.net/kisak/kisak-mesa/ubuntu plucky main' >> /etc/apt/sources.list.d/kisak-mesa.list" ; \
in-target apt-get update ; \ in-target apt update ; \
in-target apt-get install -y linux-xanmod-x64v3 || true ; \ in-target apt install -y linux-xanmod-x64v3 || true ; \
in-target flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo ; \ in-target flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo ; \
in-target apt-get remove --purge -y konqueror || true ; \ in-target apt remove --purge -y konqueror || true ; \
in-target bash -c "for u in \$(awk -F: '\$3 >= 1000 && \$3 < 65534 { print \$1 }' /etc/passwd); do chsh -s /usr/bin/fish \$u; done" in-target bash -c "for u in \$(awk -F: '\$3 >= 1000 && \$3 < 65534 { print \$1 }' /etc/passwd); do chsh -s /usr/bin/fish \$u; done"
in-target dpkg --add-architecture i386
# Finalisation : redémarrage automatique # Finalisation : redémarrage automatique
d-i finish-install/reboot_in_progress note d-i finish-install/reboot_in_progress note