Compare commits
	
		
			15 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|  | 8807f95e9f | ||
|  | 790d573aa5 | ||
|  | 805befc53d | ||
|  | f2fff55fb7 | ||
|  | d53b44b954 | ||
|  | c51c4d1d0f | ||
|  | 81e4a852ef | ||
|  | 1a7ca81f2e | ||
|  | 5b2adc37f5 | ||
|  | 7df50277a1 | ||
|  | 6d8bd4c135 | ||
|  | 777d508774 | ||
|  | 41a369a40c | ||
|  | 50d68a6033 | ||
|  | b8695efc0d | 
| @@ -8,3 +8,9 @@ Système d'exploitation x64 - 100% GNU basé sur Debian | ||||
| lb config | ||||
| lb build | ||||
| ``` | ||||
|  | ||||
| ### ToDo | ||||
|  | ||||
| - [x] Installeur | ||||
| - [ ] Live Persistence | ||||
| - [ ] Yunohost | ||||
| @@ -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" \ | ||||
|   | ||||
| @@ -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) | ||||
|   | ||||
| @@ -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@ | ||||
|   | ||||
| Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 134 KiB | 
							
								
								
									
										9
									
								
								config/hooks/live/0200-seafile.hook.chroot
									
									
									
									
									
										Executable 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 | ||||
							
								
								
									
										6
									
								
								config/includes.chroot/usr/local/bin/grub_boot_splash
									
									
									
									
									
										Executable file
									
								
							
							
						
						| @@ -0,0 +1,6 @@ | ||||
| #!/bin/bash | ||||
|  | ||||
| echo "GRUB_CMDLINE_LINUX_DEFAULT=\"quiet splash\"" >> /etc/default/grub | ||||
| update-grub | ||||
|  | ||||
| exit 0 | ||||
| Before Width: | Height: | Size: 317 KiB After Width: | Height: | Size: 421 KiB | 
| Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 38 KiB | 
| Before Width: | Height: | Size: 18 KiB | 
| @@ -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 ; | ||||
							
								
								
									
										
											BIN
										
									
								
								config/includes.installer/usr/share/graphics/logo_debian.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 11 KiB | 
| @@ -18,3 +18,8 @@ plymouth-themes | ||||
| scribus | ||||
| inkscape | ||||
| vlc | ||||
| curl | ||||
| git | ||||
| sshfs | ||||
| wget | ||||
| net-tools | ||||
|   | ||||
							
								
								
									
										22
									
								
								stick_build
									
									
									
									
									
										Executable file
									
								
							
							
						
						| @@ -0,0 +1,22 @@ | ||||
| #!/bin/bash | ||||
|  | ||||
| # stick_build /path/live-image.iso /dev/sdX | ||||
|  | ||||
| # Copie de l'image iso sur clé | ||||
| dd if=$1 of=$2 bs=4M status=progress | ||||
| sync | ||||
|  | ||||
| # Création de la partition dédiée à la persistence | ||||
| printf 'n\np\n\n\n\nw' | fdisk $2 | ||||
| mkfs.ext4 -L persistence ${2}3 | ||||
|  | ||||
| # Configuratio de la partition | ||||
| mount ${2}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 | ||||