Si vous constatez la perte de tickets, de commentaires ou de projets, veuillez consulter la page https://status.framasoft.org/incident/626.

Commit e3c6369a authored by otyugh's avatar otyugh

Les install via calamares devraient avoir non-free et contrib dans leur...

Les install via calamares devraient avoir non-free et contrib dans leur sources quand c'est implémenté comme ça...
parent d72f75a6
......@@ -25,8 +25,6 @@ d-i grub-installer/bootdev string /dev/sda
# sources.list
d-i preseed/late_command string \
in-target mv /etc/apt/sources.list /etc/apt/sources.list.back;\
in-target cp /usr/share/dflinux/sources.list /etc/apt/sources.list;\
in-target apt install -y firmware-b43legacy-installer;\
in-target sed -ri 's|(GRUB_CMDLINE_LINUX_DEFAULT=)"([^"]*)"|\1"\2 splash"|' "/etc/default/grub";\
in-target sed -i 's|^GRUB_CMDLINE_LINUX=""|GRUB_CMDLINE_LINUX="acpi_osi=Linux"|' "/etc/default/grub";\
......
......@@ -34,8 +34,6 @@ d-i grub-installer/bootdev string /dev/sda
# fix sources.list
d-i preseed/late_command string \
in-target mv /etc/apt/sources.list /etc/apt/sources.list.back;\
in-target cp /usr/share/dflinux/sources.list /etc/apt/sources.list;\
in-target apt install -y firmware-b43legacy-installer;\
in-target sed -ri 's|(GRUB_CMDLINE_LINUX_DEFAULT=)"([^"]*)"|\1"\2 splash"|' "/etc/default/grub";\
in-target sed -i 's|^GRUB_CMDLINE_LINUX=""|GRUB_CMDLINE_LINUX="acpi_osi=Linux"|' "/etc/default/grub";\
......
......@@ -19,8 +19,6 @@ d-i grub-installer/only_debian boolean true
# fix sources.list
d-i preseed/late_command string \
in-target mv /etc/apt/sources.list /etc/apt/sources.list.back;\
in-target cp /usr/share/dflinux/sources.list /etc/apt/sources.list;\
in-target apt install -y firmware-b43legacy-installer;\
in-target sed -ri 's|(GRUB_CMDLINE_LINUX_DEFAULT=)"([^"]*)"|\1"\2 splash"|' "/etc/default/grub";\
in-target sed -i 's|^GRUB_CMDLINE_LINUX=""|GRUB_CMDLINE_LINUX="acpi_osi=Linux"|' "/etc/default/grub";\
......
#!/bin/bash
#Changer le fond de lightdm en mode live ; sinon nettoyer
LIVEBG="/usr/share/backgrounds/xfce/Debian10-login-live.png"
BG="/usr/share/backgrounds/xfce/Debian10-login.png"
if [ $(df '/' --output=source | tail -n1) == 'overlay' ]; then
#changer le fond de lightdm
mv "$LIVEBG" "$BG"
else
#nettoyer
rm "$LIVEBG" "/usr/local/sbin/adduser.local"
fi
if [ $uid -eq 1000 ]
then
#Changer le fond de lightdm en mode live ; sinon nettoyer
LIVEBG="/usr/share/backgrounds/xfce/Debian10-login-live.png"
BG="/usr/share/backgrounds/xfce/Debian10-login.png"
if [ $(df '/' --output=source | tail -n1) == 'overlay' ]; then
#changer le fond de lightdm
mv "$LIVEBG" "$BG"
else
#nettoyer
rm "$LIVEBG" "/usr/local/sbin/adduser.local"
fi
#Mettre à jour les mirroirs Debian
mv "/etc/apt/sources.list" "/etc/apt/sources.list.back"
cp "/usr/share/dflinux/sources.list" "/etc/apt/sources.list"
fi
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment