Compare commits
15 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
196a936237 | ||
|
|
bde6a7e92a | ||
|
|
3d0f77c5d4 | ||
|
|
cef1926b49 | ||
|
|
fad8e28f90 | ||
|
|
93d95fb6fc | ||
|
|
3257b615db | ||
|
|
ab656ec042 | ||
|
|
e6a3ff11d6 | ||
|
|
37e8db3ac6 | ||
|
|
4d293a9b4b | ||
|
|
85286ab92b | ||
|
|
2af9e65c7f | ||
|
|
107c2cbcdc | ||
|
|
997ec957e0 |
27
README.md
27
README.md
@@ -2,21 +2,32 @@
|
|||||||
|
|
||||||
Système d'exploitation x64 - 100% GNU basé sur Debian
|
Système d'exploitation x64 - 100% GNU basé sur Debian
|
||||||
|
|
||||||
## Build live via live-build
|
## 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
|
||||||
|
**Attention ! La clef ne doit pas être montée par un autre processus (explorateur de fichiers, utilitaire d'auto-mount...)
|
||||||
|
```
|
||||||
|
curl https://git.weblib.re/svpro/svpro_gnu/raw/branch/develop/build_svprognu | bash -s -- -d /dev/sdX
|
||||||
|
```
|
||||||
|
**La persistence sera configurée lors du 1er boot. Le démarrage peut prendre quelques minutes.
|
||||||
|
|
||||||
|
### Installation physique
|
||||||
|
Depuis le menu du live, choisir "Installation Graphique ou Experts"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Installation Dev avec live-build
|
||||||
Cloner le dépôt puis :
|
Cloner le dépôt puis :
|
||||||
```
|
```
|
||||||
apt install live-build
|
apt install live-build
|
||||||
|
cd <dossier du dépôt>
|
||||||
lb config
|
lb config
|
||||||
lb build
|
lb build
|
||||||
```
|
```
|
||||||
|
|
||||||
## Création clef USB persistante
|
|
||||||
```
|
|
||||||
./stick-build /dev/sdX
|
|
||||||
```
|
|
||||||
|
|
||||||
** N.B : Inutile de créer l'ISO, il sera téléchargé et installé sur la clef
|
|
||||||
|
|
||||||
### ToDo
|
### ToDo
|
||||||
|
|
||||||
- [x] Installeur
|
- [x] Installeur
|
||||||
|
|||||||
BIN
Screenshot.png
Normal file
BIN
Screenshot.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 251 KiB |
45
build_svprognu
Executable file
45
build_svprognu
Executable file
@@ -0,0 +1,45 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Creation de la clef ./build_svprognu -d /dev/sdX
|
||||||
|
# Creation de l'iso seule ./build_svprognu
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
apt install -y live-build git
|
||||||
|
git clone https://git.weblib.re/svpro/svpro_gnu.git
|
||||||
|
cd svpro_gnu && git checkout $(git tag -l | tail -n 1)
|
||||||
|
|
||||||
|
# Build iso
|
||||||
|
lb clean
|
||||||
|
lb config
|
||||||
|
lb build
|
||||||
|
ISO=$(ls *.iso)
|
||||||
|
echo "ISO créée $(pwd)/$ISO"
|
||||||
|
# Copie de l'image iso sur clé
|
||||||
|
while getopts ":d: " opt; do
|
||||||
|
case $opt in
|
||||||
|
d)
|
||||||
|
echo "Transfert en cours..."
|
||||||
|
dd if=${ISO} of=$OPTARG 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 $OPTARG
|
||||||
|
mkfs.ext4 -L persistence ${OPTARG}3
|
||||||
|
|
||||||
|
# Configuratio de la partition
|
||||||
|
mkdir -p ./tmp
|
||||||
|
mount ${OPTARG}3 ./tmp
|
||||||
|
echo "/ union" > ./tmp/persistence.conf
|
||||||
|
umount ./tmp
|
||||||
|
|
||||||
|
# Fin
|
||||||
|
echo "Terminé ! Vous pouvez booter sur la clé USB, la persistence sera auto-configurée lors du premier Boot !"
|
||||||
|
;;
|
||||||
|
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
exit 0
|
||||||
9
config/includes.chroot/etc/issue
Normal file
9
config/includes.chroot/etc/issue
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
______ ______ ____ ___ ____ _ _ _ _
|
||||||
|
/ ___\ \ / / _ \| _ \ / _ \ / ___| \ | | | | |
|
||||||
|
\___ \\ \ / /| |_) | |_) | | | | | | _| \| | | | |
|
||||||
|
___) |\ V / | __/| _ <| |_| | | |_| | |\ | |_| |
|
||||||
|
|____/ \_/ |_| |_| \_\\___/___\____|_| \_|\___/
|
||||||
|
|_____|
|
||||||
|
|
||||||
|
\r \v \n
|
||||||
|
Bienvenu !
|
||||||
9
config/includes.chroot/etc/motd
Normal file
9
config/includes.chroot/etc/motd
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
______ ______ ____ ___ ____ _ _ _ _
|
||||||
|
/ ___\ \ / / _ \| _ \ / _ \ / ___| \ | | | | |
|
||||||
|
\___ \\ \ / /| |_) | |_) | | | | | | _| \| | | | |
|
||||||
|
___) |\ V / | __/| _ <| |_| | | |_| | |\ | |_| |
|
||||||
|
|____/ \_/ |_| |_| \_\\___/___\____|_| \_|\___/
|
||||||
|
|_____|
|
||||||
|
|
||||||
|
Bienvenu !
|
||||||
|
|
||||||
7
config/includes.chroot/etc/os-release
Normal file
7
config/includes.chroot/etc/os-release
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
PRETTY_NAME="Debian SVPRO_GNU"
|
||||||
|
NAME="SVPRO_GNU"
|
||||||
|
ID=svprognu
|
||||||
|
VERSION="1.0"
|
||||||
|
VERSION_ID=1.0
|
||||||
|
HOME_URL="https://git.weblib.re/svpro/svpro_gnu/wiki"
|
||||||
|
SUPPORT_URL="https://git.weblib.re/svpro/svpro_gnu/"
|
||||||
@@ -17,6 +17,8 @@
|
|||||||
<value type="int" value="5"/>
|
<value type="int" value="5"/>
|
||||||
<value type="int" value="6"/>
|
<value type="int" value="6"/>
|
||||||
<value type="int" value="2"/>
|
<value type="int" value="2"/>
|
||||||
|
<value type="int" value="7"/>
|
||||||
|
<value type="int" value="8"/>
|
||||||
</property>
|
</property>
|
||||||
<property name="background-style" type="uint" value="1"/>
|
<property name="background-style" type="uint" value="1"/>
|
||||||
<property name="background-color" type="array">
|
<property name="background-color" type="array">
|
||||||
@@ -64,5 +66,9 @@
|
|||||||
</property>
|
</property>
|
||||||
</property>
|
</property>
|
||||||
<property name="plugin-3" type="string" value="tasklist"/>
|
<property name="plugin-3" type="string" value="tasklist"/>
|
||||||
|
<property name="plugin-7" type="string" value="pulseaudio">
|
||||||
|
<property name="enable-keyboard-shortcuts" type="bool" value="true"/>
|
||||||
|
</property>
|
||||||
|
<property name="plugin-8" type="string" value="power-manager-plugin"/>
|
||||||
</property>
|
</property>
|
||||||
</channel>
|
</channel>
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<channel name="xfce4-power-manager" version="1.0">
|
||||||
|
<property name="xfce4-power-manager" type="empty">
|
||||||
|
<property name="power-button-action" type="empty"/>
|
||||||
|
<property name="brightness-switch-restore-on-exit" type="int" value="-1"/>
|
||||||
|
<property name="brightness-switch" type="int" value="0"/>
|
||||||
|
</property>
|
||||||
|
</channel>
|
||||||
0
config/includes.chroot/etc/skel/Bureau/.keep
Normal file
0
config/includes.chroot/etc/skel/Bureau/.keep
Normal file
0
config/includes.chroot/etc/skel/Documents/.keep
Normal file
0
config/includes.chroot/etc/skel/Documents/.keep
Normal file
0
config/includes.chroot/etc/skel/Images/.keep
Normal file
0
config/includes.chroot/etc/skel/Images/.keep
Normal file
0
config/includes.chroot/etc/skel/Modèles/.keep
Normal file
0
config/includes.chroot/etc/skel/Modèles/.keep
Normal file
0
config/includes.chroot/etc/skel/Musique/.keep
Normal file
0
config/includes.chroot/etc/skel/Musique/.keep
Normal file
0
config/includes.chroot/etc/skel/Public/.keep
Normal file
0
config/includes.chroot/etc/skel/Public/.keep
Normal file
0
config/includes.chroot/etc/skel/Vidéos/.keep
Normal file
0
config/includes.chroot/etc/skel/Vidéos/.keep
Normal file
3
config/includes.chroot/usr/lib/live/config/0100-live-password
Executable file
3
config/includes.chroot/usr/lib/live/config/0100-live-password
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
usermod -p 'svRILkoxYL.AE' svpro_gnu
|
||||||
43
stick_build
43
stick_build
@@ -1,43 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# stick_build /dev/sdX
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
ISO="live_svpro_gnu-amd64.hybrid.iso"
|
|
||||||
|
|
||||||
# Recuperation iso
|
|
||||||
echo "Téléchargement de l'iso..."
|
|
||||||
sleep 5
|
|
||||||
wget -O ${ISO} https://cloud.weblib.re/s/iZ3RPAbJ7BXTmXc/download
|
|
||||||
wget -O ${ISO}.md5sum https://cloud.weblib.re/s/GtSEtc4Gy8CGxFW/download
|
|
||||||
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é
|
|
||||||
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
|
|
||||||
Reference in New Issue
Block a user