16 Commits

Author SHA1 Message Date
Samuel Vermeulen
00fe010192 Telechargement de l'iso + verif md5 2020-07-13 21:58:24 +02:00
SVNET
8807f95e9f Script pour création clé usb en mode persistence 2020-07-11 20:32:05 +02:00
SVNET
790d573aa5 seafile-gui 2020-07-11 20:31:22 +02:00
SVNET
805befc53d Nouveaux graphiques 2020-07-11 00:32:09 +02:00
SVNET
f2fff55fb7 persistence 2020-07-09 22:50:14 +02:00
SVNET
d53b44b954 Hook d'installation Yunohost 2020-07-09 18:06:21 +02:00
SVNET
c51c4d1d0f mode persistence 2020-07-09 18:04:55 +02:00
SVNET
81e4a852ef ajout packages 2020-07-09 15:08:47 +02:00
Samuel VERMEULEN
1a7ca81f2e Mise à jour de 'README.md' 2020-07-09 00:11:35 +02:00
SVNET
5b2adc37f5 Fix update-grub pour plymouth screen boot 2020-07-09 00:01:44 +02:00
SVNET
7df50277a1 ajout packages 2020-07-08 23:48:19 +02:00
Samuel VERMEULEN
6d8bd4c135 Mise à jour de 'README.md' 2020-07-08 22:57:55 +02:00
SVNET
777d508774 fix conf installer 2020-07-08 21:11:08 +02:00
SVNET
41a369a40c bannière installer 2020-07-08 19:40:31 +02:00
SVNET
50d68a6033 fix apt mirror 2020-07-08 19:39:06 +02:00
SVNET
b8695efc0d divers fix 2020-07-08 17:11:35 +02:00
14 changed files with 81 additions and 12 deletions

View File

@@ -8,3 +8,9 @@ Système d'exploitation x64 - 100% GNU basé sur Debian
lb config
lb build
```
### ToDo
- [x] Installeur
- [ ] Live Persistence
- [ ] Yunohost

View File

@@ -10,7 +10,7 @@ lb config noauto \
--apt-recommends "true" \
--debian-installer-gui "true" \
--debian-installer "live" \
--bootappend-live "lang=fr_FR.UTF-8 locales=fr_FR.UTF-8 keyboard-layouts=fr splash timezone=Europe/Paris utc=yes keyboard-model=pc105 hostname=svprognu boot=live peristence components username=svpro_gnu" \
--bootappend-live "lang=fr_FR.UTF-8 locales=fr_FR.UTF-8 keyboard-layouts=fr splash timezone=Europe/Paris utc=yes keyboard-model=pc105 hostname=svprognu boot=live persistence components username=svpro_gnu" \
--bootappend-install "locales=fr_FR.UTF-8" \
--binary-images "iso-hybrid" \
--uefi-secure-boot "enable" \

View File

@@ -10,7 +10,7 @@ LB_APT_INDICES="true"
# $LB_BOOTAPPEND_LIVE: set boot parameters
# (Default: empty)
LB_BOOTAPPEND_LIVE="lang=fr_FR.UTF-8 locales=fr_FR.UTF-8 keyboard-layouts=fr splash timezone=Europe/Paris utc=yes keyboard-model=pc105 hostname=svprognu boot=live peristence components username=svpro_gnu"
LB_BOOTAPPEND_LIVE="lang=fr_FR.UTF-8 locales=fr_FR.UTF-8 keyboard-layouts=fr splash timezone=Europe/Paris utc=yes keyboard-model=pc105 hostname=svprognu boot=live persistence components username=svpro_gnu"
# $LB_BOOTAPPEND_INSTALL: set boot parameters
# (Default: empty)

View File

@@ -1,12 +1,12 @@
label live-@FLAVOUR@
menu label ^Live (@FLAVOUR@)
menu label ^SVPRO_GNU Live (@FLAVOUR@)
menu default
linux @LINUX@
initrd @INITRD@
append @APPEND_LIVE@
label live-@FLAVOUR@-failsafe
menu label ^Live (@FLAVOUR@ failsafe)
menu label ^Live sans-echecs (@FLAVOUR@ failsafe)
linux @LINUX@
initrd @INITRD@
append @APPEND_LIVE_FAILSAFE@

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 134 KiB

View File

@@ -0,0 +1,9 @@
#!/bin/bash
wget -O - http://linux-clients.seafile.com/seafile.key | apt-key add -
echo 'deb [arch=amd64] http://linux-clients.seafile.com/seafile-deb/buster/ stable main' > /etc/apt/sources.list.d/seafile.list
apt update
apt install -y seafile-gui
exit 0

View File

@@ -0,0 +1,6 @@
#!/bin/bash
echo "GRUB_CMDLINE_LINUX_DEFAULT=\"quiet splash\"" >> /etc/default/grub
update-grub
exit 0

Binary file not shown.

Before

Width:  |  Height:  |  Size: 317 KiB

After

Width:  |  Height:  |  Size: 421 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

View File

@@ -2,16 +2,16 @@
## Global ##############
# fr
d-i debian-installer/language string fr
#d-i debian-installer/country string FR
#d-i debian-installer/locale string fr_FR.UTF-8
#d-i keymap select fr
d-i debian-installer/country string FR
d-i debian-installer/locale string fr_FR.UTF-8
d-i keymap select fr
# suppression de la config réseau lors de l'installation
d-i netcfg/enable boolean false
d-i netcfg/enable boolean true
# horloge matérielle sur UTC :
#d-i clock-setup/utc boolean true
# Vous pouvez mettre toute valeur acceptée pour $TZ.
# Voyez ce que contient /usr/share/zoneinfo/ pour les valeurs possibles.
#d-i time/zone string Europe/Paris
d-i time/zone string Europe/Paris
#########################
## gestion des comptes ##
#########################
@@ -20,7 +20,7 @@ d-i passwd/root-login boolean false
# Le compte sera ajouté à certains groupes.
d-i passwd/user-default-groups string audio cdrom video sudo netdev plugdev fuse users lp lpadmin
# apt - no mirror
d-i apt-setup/use_mirror boolean false
d-i apt-setup/use_mirror boolean true
# tout dans une seule partition
d-i partman-auto/choose_recipe select atomic
#################################
@@ -54,5 +54,5 @@ d-i grub-installer/only_debian boolean true
#d-i finish-install/reboot_in_progress note
# sources.list
d-i preseed/late_command string \
in-target /usr/local/bin/debian_perso_preseed ;\
in-target rm -f /usr/local/bin/debian_perso_preseed ;
in-target /usr/local/bin/grub_boot_splash ;\
in-target rm -f /usr/local/bin/grub_boot_splash ;

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

@@ -18,3 +18,8 @@ plymouth-themes
scribus
inkscape
vlc
curl
git
sshfs
wget
net-tools

43
stick_build Executable file
View File

@@ -0,0 +1,43 @@
#!/bin/bash
# stick_build /dev/sdX
set -e
ISO="live-svpro_gnu-amd64.iso"
# Recuperation iso
echo "Téléchargement de l'iso..."
sleep 5
wget -O ${ISO} https://nuage.svnet.fr/f/0566c7a699eb4960b2ef/?dl=1
wget -O ${ISO}.md5 https://nuage.svnet.fr/f/06d1ae10101949bc84d9/?dl=1
echo "Vérification de l'image..."
if ! md5sum -c ${ISO}.md5
then
echo "ISO Corompue. Abandon !!"
rm -f ${ISO} ${ISO}.md5
exit 1
fi
# Copie de l'image iso sur clé
echo "Transfert en cours..."
dd if=${ISO} of=$1 bs=4M status=progress
sync
# Création de la partition dédiée à la persistence
echo "Création de la persistence..."
sleep 5
printf 'n\np\n\n\n\nw' | fdisk $1
mkfs.ext4 -L persistence ${1}3
# Configuratio de la partition
mount ${1}3 /mnt
echo / union > /mnt/persistence.conf
umount /mnt
# Fin
echo "Terminé ! Vous pouvez booter sur la clé USB, la persistence sera auto-configurée lors du premier Boot !"
exit 0