diff --git a/files_to_inject/preseeds/default.preseed b/files_to_inject/preseeds/default.preseed index 4438c9e..e3a729f 100755 --- a/files_to_inject/preseeds/default.preseed +++ b/files_to_inject/preseeds/default.preseed @@ -52,6 +52,7 @@ d-i pkgsel/include string \ htop \ spice-vdagent \ flatpak \ + gpg \ fish # 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 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 \ + 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 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 apt-get install -y gpg ; \ 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 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 apt-get update ; \ - in-target apt-get install -y linux-xanmod-x64v3 || true ; \ + in-target apt update ; \ + 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 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 dpkg --add-architecture i386 # Finalisation : redémarrage automatique d-i finish-install/reboot_in_progress note \ No newline at end of file