Merge branch 'test' into develop
26
README.md
@ -1,16 +1,19 @@
|
|||||||
# svpro_gnu
|
# SVPROGNU
|
||||||
|
|
||||||
|
Système d'exploitation x64 - 100% GNU basé sur Debian 11 (Bullseye)
|
||||||
|
|
||||||
Système d'exploitation x64 - 100% GNU basé sur Debian
|
|
||||||
|
|
||||||
## Installation (root)
|
## Installation (root)
|
||||||
### Générer ISO seule
|
|
||||||
```
|
|
||||||
curl https://git.weblib.re/svpro/svpro_gnu/raw/branch/develop/build_svprognu | bash
|
|
||||||
```
|
|
||||||
### Créer clef usb + persistence
|
### Créer clef usb + persistence
|
||||||
**Attention ! La clef ne doit pas être montée par un autre processus (explorateur de fichiers, utilitaire d'auto-mount...)
|
**Attention ! La clef ne doit pas être montée par un autre processus (explorateur de fichiers, utilitaire d'auto-mount...)
|
||||||
|
|
||||||
|
* Si vous avez déjà téléchatgé l'image ISO, dans le même répertoire :
|
||||||
```
|
```
|
||||||
curl https://git.weblib.re/svpro/svpro_gnu/raw/branch/develop/build_svprognu | bash -s -- -d /dev/sdX
|
curl https://git.weblib.re/svpro/svprognu/raw/branch/develop/build_svprognu | bash -s -- -d /dev/sdX
|
||||||
|
```
|
||||||
|
* Ou récupérer l'image depuis le serveur :
|
||||||
|
```
|
||||||
|
curl https://git.weblib.re/svpro/svprognu/raw/branch/develop/build_svprognu | bash -s -- -r -d /dev/sdX
|
||||||
```
|
```
|
||||||
**La persistence sera configurée lors du 1er boot. Le démarrage peut prendre quelques minutes.
|
**La persistence sera configurée lors du 1er boot. Le démarrage peut prendre quelques minutes.
|
||||||
|
|
||||||
@ -19,7 +22,7 @@ Depuis le menu du live, choisir "Installation Graphique ou Experts"
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Build iso avec live-build (expoerts)
|
## Build iso avec live-build (experts)
|
||||||
Cloner le dépôt puis :
|
Cloner le dépôt puis :
|
||||||
```
|
```
|
||||||
apt install live-build
|
apt install live-build
|
||||||
@ -31,10 +34,3 @@ lb build
|
|||||||
### Démo (Session Live via noVNC)
|
### Démo (Session Live via noVNC)
|
||||||
En ligne uniquement en journée
|
En ligne uniquement en journée
|
||||||
https://svprognu.weblib.re/
|
https://svprognu.weblib.re/
|
||||||
|
|
||||||
|
|
||||||
### ToDo
|
|
||||||
|
|
||||||
- [x] Installeur
|
|
||||||
- [x] Live Persistence
|
|
||||||
- [ ] Integration Yunohost
|
|
||||||
|
BIN
Screenshot.png
Before Width: | Height: | Size: 844 KiB |
@ -4,7 +4,7 @@ set -e
|
|||||||
|
|
||||||
lb config noauto \
|
lb config noauto \
|
||||||
--bootloaders "syslinux,grub-efi" \
|
--bootloaders "syslinux,grub-efi" \
|
||||||
--distribution "buster" \
|
--distribution "bullseye" \
|
||||||
--architectures "amd64" \
|
--architectures "amd64" \
|
||||||
--archive-areas "main contrib non-free" \
|
--archive-areas "main contrib non-free" \
|
||||||
--apt-recommends "true" \
|
--apt-recommends "true" \
|
||||||
@ -16,8 +16,9 @@ lb config noauto \
|
|||||||
--uefi-secure-boot "enable" \
|
--uefi-secure-boot "enable" \
|
||||||
--linux-flavours "amd64" \
|
--linux-flavours "amd64" \
|
||||||
--linux-packages "linux-image linux-headers" \
|
--linux-packages "linux-image linux-headers" \
|
||||||
--iso-volume "SVPRO_GNU" \
|
--iso-volume "SVPROGNU-11" \
|
||||||
--iso-application "SVPRO_GNU" \
|
--iso-application "SVPROGNU-11" \
|
||||||
--backports "false" \
|
--backports "false" \
|
||||||
--updates "true" \
|
--updates "true" \
|
||||||
|
--security "true" \
|
||||||
"${@}"
|
"${@}"
|
||||||
|
@ -1,37 +1,45 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Creation de la clef ./build_svprognu -d /dev/sdX
|
# Creation de la clef ./build_svprognu -d /dev/sdX
|
||||||
# Creation de l'iso seule ./build_svprognu
|
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
ISO="live_svpro_gnu-amd64.hybrid.iso"
|
ISO="live-svprognu-bullseye_amd64.iso"
|
||||||
|
|
||||||
# Recuperation iso
|
|
||||||
echo "Téléchargement de l'iso..."
|
|
||||||
sleep 5
|
|
||||||
wget -O ${ISO} https://www.weblib.re/dokuwiki/_media/svpro_gnu:live_svpro_gnu-amd64.hybrid.iso
|
|
||||||
wget -O ${ISO}.md5sum https://www.weblib.re/dokuwiki/_media/svpro_gnu:live_svpro_gnu-amd64.hybrid.iso.md5sum
|
|
||||||
echo "Vérification de l'image..."
|
|
||||||
|
|
||||||
if ! md5sum -c ${ISO}.md5sum
|
while getopts ":r d:" opt; do
|
||||||
then
|
case $opt in
|
||||||
echo "ISO Corompue. Abandon !!"
|
r)
|
||||||
rm -f ${ISO} ${ISO}.md5
|
# Recuperation iso
|
||||||
exit 1
|
echo "Téléchargement de l'iso..."
|
||||||
fi
|
sleep 5
|
||||||
|
wget -O ${ISO} https://www.weblib.re/dokuwiki/_media/svprognu:${ISO}
|
||||||
|
wget -O ${ISO}.md5sum https://www.weblib.re/dokuwiki/_media/svprognu:${ISO}.md5sum
|
||||||
|
echo "Vérification de l'image..."
|
||||||
|
|
||||||
|
if ! md5sum -c ${ISO}.md5sum
|
||||||
|
then
|
||||||
|
echo "ISO Corompue. Abandon !!"
|
||||||
|
rm -f ${ISO} ${ISO}.md5
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
|
||||||
# Copie de l'image iso sur clé
|
# Copie de l'image iso sur clé
|
||||||
while getopts ":d: " opt; do
|
|
||||||
case $opt in
|
d)
|
||||||
d)
|
|
||||||
echo "Transfert en cours..."
|
echo "Transfert en cours..."
|
||||||
|
#Réinitialisation de la clé : Table DOS
|
||||||
|
printf 'o\nw' | fdisk $OPTARG
|
||||||
|
|
||||||
|
#Transfert
|
||||||
dd if=${ISO} of=$OPTARG bs=4M status=progress
|
dd if=${ISO} of=$OPTARG bs=4M status=progress
|
||||||
sync
|
sync
|
||||||
|
|
||||||
# Création de la partition dédiée à la persistence
|
# Création de la partition dédiée à la persistence
|
||||||
echo "Création de la persistence..."
|
echo "Création de la persistence..."
|
||||||
sleep 10
|
sleep 5
|
||||||
printf 'n\np\n\n\n\nw' | fdisk $OPTARG
|
printf 'n\np\n\n\n\nw' | fdisk $OPTARG
|
||||||
echo "Formatage..."
|
echo "Formatage..."
|
||||||
sleep 10
|
sleep 10
|
||||||
|
@ -41,7 +41,11 @@ LB_BUILD_WITH_CHROOT="true"
|
|||||||
LB_DEBIAN_INSTALLER="live"
|
LB_DEBIAN_INSTALLER="live"
|
||||||
|
|
||||||
# Set debian-installer suite
|
# Set debian-installer suite
|
||||||
|
<<<<<<< HEAD
|
||||||
LB_DEBIAN_INSTALLER_DISTRIBUTION="buster"
|
LB_DEBIAN_INSTALLER_DISTRIBUTION="buster"
|
||||||
|
=======
|
||||||
|
LB_DEBIAN_INSTALLER_DISTRIBUTION="bullseye"
|
||||||
|
>>>>>>> test
|
||||||
|
|
||||||
# Set debian-installer preseed filename/url
|
# Set debian-installer preseed filename/url
|
||||||
LB_DEBIAN_INSTALLER_PRESEEDFILE=""
|
LB_DEBIAN_INSTALLER_PRESEEDFILE=""
|
||||||
@ -59,7 +63,11 @@ LB_HDD_SIZE="auto"
|
|||||||
LB_HDD_PARTITION_START=""
|
LB_HDD_PARTITION_START=""
|
||||||
|
|
||||||
# Set iso author
|
# Set iso author
|
||||||
|
<<<<<<< HEAD
|
||||||
LB_ISO_APPLICATION="SVPRO_GNU"
|
LB_ISO_APPLICATION="SVPRO_GNU"
|
||||||
|
=======
|
||||||
|
LB_ISO_APPLICATION="SVPROGNU-11"
|
||||||
|
>>>>>>> test
|
||||||
|
|
||||||
# Set iso preparer
|
# Set iso preparer
|
||||||
LB_ISO_PREPARER="live-build @LB_VERSION@; https://salsa.debian.org/live-team/live-build"
|
LB_ISO_PREPARER="live-build @LB_VERSION@; https://salsa.debian.org/live-team/live-build"
|
||||||
@ -68,7 +76,11 @@ LB_ISO_PREPARER="live-build @LB_VERSION@; https://salsa.debian.org/live-team/liv
|
|||||||
LB_ISO_PUBLISHER="Debian Live project; https://wiki.debian.org/DebianLive; debian-live@lists.debian.org"
|
LB_ISO_PUBLISHER="Debian Live project; https://wiki.debian.org/DebianLive; debian-live@lists.debian.org"
|
||||||
|
|
||||||
# Set iso volume (max 32 chars)
|
# Set iso volume (max 32 chars)
|
||||||
|
<<<<<<< HEAD
|
||||||
LB_ISO_VOLUME="SVPRO_GNU"
|
LB_ISO_VOLUME="SVPRO_GNU"
|
||||||
|
=======
|
||||||
|
LB_ISO_VOLUME="SVPROGNU-11"
|
||||||
|
>>>>>>> test
|
||||||
|
|
||||||
# Set jffs2 eraseblock size
|
# Set jffs2 eraseblock size
|
||||||
LB_JFFS2_ERASEBLOCK=""
|
LB_JFFS2_ERASEBLOCK=""
|
||||||
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 124 KiB |
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 124 KiB |
@ -24,8 +24,8 @@ fi
|
|||||||
|
|
||||||
terminal_output gfxterm
|
terminal_output gfxterm
|
||||||
|
|
||||||
insmod play
|
#insmod play
|
||||||
play 960 440 1 0 4 440 1
|
#play 960 440 1 0 4 440 1
|
||||||
|
|
||||||
# Live boot
|
# Live boot
|
||||||
LINUX_LIVE
|
LINUX_LIVE
|
||||||
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 124 KiB |
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 124 KiB |
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 124 KiB |
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 124 KiB |
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
# Select architecture to use
|
# Select architecture to use
|
||||||
LB_ARCHITECTURE="amd64"
|
LB_ARCHITECTURE="amd64"
|
||||||
|
<<<<<<< HEAD
|
||||||
|
|
||||||
# Select distribution to use
|
# Select distribution to use
|
||||||
LB_DISTRIBUTION="buster"
|
LB_DISTRIBUTION="buster"
|
||||||
@ -24,6 +25,30 @@ LB_PARENT_DISTRIBUTION_BINARY="buster"
|
|||||||
# Select parent distribution for debian-installer to use
|
# Select parent distribution for debian-installer to use
|
||||||
LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION="buster"
|
LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION="buster"
|
||||||
|
|
||||||
|
=======
|
||||||
|
|
||||||
|
# Select distribution to use
|
||||||
|
LB_DISTRIBUTION="bullseye"
|
||||||
|
|
||||||
|
# Select parent distribution to use
|
||||||
|
LB_PARENT_DISTRIBUTION=""
|
||||||
|
|
||||||
|
# Select distribution to use in the chroot
|
||||||
|
LB_DISTRIBUTION_CHROOT="bullseye"
|
||||||
|
|
||||||
|
# Select parent distribution to use in the chroot
|
||||||
|
LB_PARENT_DISTRIBUTION_CHROOT="bullseye"
|
||||||
|
|
||||||
|
# Select distribution to use in the final image
|
||||||
|
LB_DISTRIBUTION_BINARY="bullseye"
|
||||||
|
|
||||||
|
# Select parent distribution to use in the final image
|
||||||
|
LB_PARENT_DISTRIBUTION_BINARY="bullseye"
|
||||||
|
|
||||||
|
# Select parent distribution for debian-installer to use
|
||||||
|
LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION="bullseye"
|
||||||
|
|
||||||
|
>>>>>>> test
|
||||||
# Select archive areas to use
|
# Select archive areas to use
|
||||||
LB_ARCHIVE_AREAS="main contrib non-free"
|
LB_ARCHIVE_AREAS="main contrib non-free"
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
wget https://linux-clients.seafile.com/seafile.asc -O /usr/share/keyrings/seafile-keyring.asc
|
wget https://linux-clients.seafile.com/seafile.asc -O /usr/share/keyrings/seafile-keyring.asc
|
||||||
echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/seafile-keyring.asc] https://linux-clients.seafile.com/seafile-deb/buster/ stable main' > /etc/apt/sources.list.d/seafile.list
|
echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/seafile-keyring.asc] https://linux-clients.seafile.com/seafile-deb/bullseye/ stable main' > /etc/apt/sources.list.d/seafile.list
|
||||||
|
|
||||||
apt update
|
apt update
|
||||||
apt install -y seafile-gui
|
apt install -y seafile-gui
|
||||||
|
@ -6,4 +6,4 @@
|
|||||||
|_____|
|
|_____|
|
||||||
|
|
||||||
\r \v \n
|
\r \v \n
|
||||||
Bienvenu !
|
Bullseye !
|
||||||
|
@ -5,5 +5,6 @@
|
|||||||
|____/ \_/ |_| |_| \_\\___/___\____|_| \_|\___/
|
|____/ \_/ |_| |_| \_\\___/___\____|_| \_|\___/
|
||||||
|_____|
|
|_____|
|
||||||
|
|
||||||
Bienvenu !
|
Bullseye !
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
PRETTY_NAME="Debian SVPRO_GNU"
|
PRETTY_NAME="Debian SVPROGNU Bullseye"
|
||||||
NAME="SVPRO_GNU"
|
NAME="SVPROGNU"
|
||||||
ID=svprognu
|
ID=svprognu
|
||||||
VERSION="1.0"
|
VERSION="11"
|
||||||
VERSION_ID=1.0
|
VERSION_ID=11
|
||||||
HOME_URL="https://git.weblib.re/svpro/svpro_gnu/wiki"
|
HOME_URL="https://www.weblib.re/dokuwiki/svpro_gnu"
|
||||||
SUPPORT_URL="https://git.weblib.re/svpro/svpro_gnu/"
|
SUPPORT_URL="https://git.weblib.re/svpro/svpro_gnu/"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo "GRUB_BACKGROUND=\"/usr/share/plymouth/themes/svpro_gnu/svprognu-splash.png\"" >> /etc/default/grub
|
echo "GRUB_BACKGROUND=\"/usr/share/plymouth/themes/svpro_gnu/svprognu-grub.png\"" >> /etc/default/grub
|
||||||
echo "GRUB_CMDLINE_LINUX_DEFAULT=\"quiet splash\"" >> /etc/default/grub
|
echo "GRUB_CMDLINE_LINUX_DEFAULT=\"quiet splash\"" >> /etc/default/grub
|
||||||
update-grub
|
update-grub
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 238 KiB After Width: | Height: | Size: 614 KiB |
After Width: | Height: | Size: 124 KiB |
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 196 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 41 KiB |
@ -62,7 +62,6 @@ chromium-l10n
|
|||||||
|
|
||||||
# Education
|
# Education
|
||||||
gcompris
|
gcompris
|
||||||
childsplay
|
|
||||||
|
|
||||||
# Virtualisation
|
# Virtualisation
|
||||||
spice-vdagent
|
spice-vdagent
|
||||||
|