19 Commits
beta_6 ... v1.0

Author SHA1 Message Date
Samuel Vermeulen
bde6a7e92a Release info motd et issue 2020-08-07 22:27:54 +02:00
svnet
3d0f77c5d4 Ajout dossiers utilisateur 2020-08-07 17:30:28 +02:00
svnet
cef1926b49 Ajout dossiers utilisateur 2020-08-07 17:29:09 +02:00
svnet
fad8e28f90 Plugin Pulseaudio 2020-08-07 17:15:09 +02:00
svnet
93d95fb6fc Plugin powermanager 2020-08-07 17:14:38 +02:00
svnet
3257b615db fix password session live 2020-08-07 16:58:12 +02:00
Samuel VERMEULEN
ab656ec042 Mise à jour de 'README.md' 2020-08-07 14:53:59 +02:00
Samuel Vermeulen
e6a3ff11d6 Screenshot 2020-08-07 00:20:45 +02:00
Samuel Vermeulen
37e8db3ac6 maj README 2020-08-06 23:05:48 +02:00
svnet
4d293a9b4b fix -d argument 2020-08-06 16:45:01 +02:00
svnet
85286ab92b fix umount 2020-08-06 15:04:48 +02:00
Samuel Vermeulen
2af9e65c7f Merge branch 'develop' of ssh://git.weblib.re:221/svpro/svpro_gnu into develop 2020-08-06 00:29:49 +02:00
Samuel Vermeulen
107c2cbcdc refonte du script build 2020-08-06 00:27:38 +02:00
Samuel Vermeulen
997ec957e0 refonte du script build 2020-08-06 00:23:47 +02:00
Samuel Vermeulen
276c52b70a nautilus-nextcloud 2020-08-05 22:45:33 +02:00
Samuel Vermeulen
132869796e maj liens telechargement 2020-08-05 22:37:45 +02:00
svnet
cda11895ff maj 2020-08-01 00:02:39 +02:00
root
23b22027a0 nextcloud-desktop client 2020-08-01 00:00:58 +02:00
Samuel Vermeulen
91026b6d65 maj 2020-07-23 00:38:45 +02:00
24 changed files with 126 additions and 82 deletions

View File

@@ -2,9 +2,28 @@
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 :
```
apt install live-build
cd <dossier du dépôt>
lb config
lb build
```
@@ -12,5 +31,5 @@ lb build
### ToDo
- [x] Installeur
- [ ] Live Persistence
- [ ] Yunohost
- [x] Live Persistence
- [ ] Integration Yunohost

BIN
Screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 251 KiB

45
build_svprognu Executable file
View 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

View File

@@ -5,24 +5,8 @@
LB_DISTRIBUTION="buster"
# $LB_PARENT_DISTRIBUTION: select parent distribution to use
# (Default: )
LB_PARENT_DISTRIBUTION=""
# $LB_DISTRIBUTION_CHROOT: select distribution to use in the chroot
# (Default: buster)
LB_DISTRIBUTION_CHROOT="buster"
# $LB_PARENT_DISTRIBUTION_CHROOT: select parent distribution to use in the chroot
# (Default: buster)
LB_PARENT_DISTRIBUTION_CHROOT="buster"
# $LB_DISTRIBUTION_BINARY: select distribution to use in the final image
# (Default: buster)
LB_DISTRIBUTION_BINARY="buster"
# $LB_PARENT_DISTRIBUTION_BINARY: select parent distribution to use in the final image
# (Default: buster)
LB_PARENT_DISTRIBUTION_BINARY="buster"
LB_PARENT_DISTRIBUTION="buster"
# $LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION: select parent distribution for debian-installer to use
# (Default: buster)

View File

@@ -1,8 +1,7 @@
[Image]
Architecture: amd64
Archive-Areas: main contrib non-free
Distribution-Chroot: buster
Distribution-Binary: buster
Distribution: buster
Mirror-Bootstrap: http://deb.debian.org/debian/
[FIXME]

View File

@@ -17,16 +17,8 @@ LB_INTERACTIVE="false"
LB_KEYRING_PACKAGES="debian-archive-keyring"
# $LB_LINUX_FLAVOURS: set kernel flavour to use
# This is kept for backwards compatibility
# (Default: autodetected)
if [ -n " amd64" ]
then
LB_LINUX_FLAVOURS_WITH_ARCH=" amd64"
fi
# $LB_LINUX_FLAVOURS_WITH_ARCH: set kernel flavour to use (with arch)
# (Default: autodetected)
LB_LINUX_FLAVOURS_WITH_ARCH="amd64"
LB_LINUX_FLAVOURS="amd64"
# $LB_LINUX_PACKAGES: set kernel packages to use
# (Default: autodetected)

View File

@@ -87,32 +87,26 @@ LB_TASKSEL="apt"
# live-build options
# $_BREAKPOINTS: enable breakpoints
# If set here, overrides the command line option
# (Default: false)
#_BREAKPOINTS="false"
# $_DEBUG: enable debug
# If set here, overrides the command line option
# (Default: false)
#_DEBUG="false"
# $_COLOR: enable color
# If set here, overrides the command line option
# (Default: false)
#_COLOR="false"
# $_FORCE: enable force
# If set here, overrides the command line option
# (Default: false)
#_FORCE="false"
# $_QUIET: enable quiet
# If set here, overrides the command line option
# (Default: false)
#_QUIET="false"
_QUIET="false"
# $_VERBOSE: enable verbose
# If set here, overrides the command line option
# (Default: false)
#_VERBOSE="false"

View File

@@ -0,0 +1,9 @@
______ ______ ____ ___ ____ _ _ _ _
/ ___\ \ / / _ \| _ \ / _ \ / ___| \ | | | | |
\___ \\ \ / /| |_) | |_) | | | | | | _| \| | | | |
___) |\ V / | __/| _ <| |_| | | |_| | |\ | |_| |
|____/ \_/ |_| |_| \_\\___/___\____|_| \_|\___/
|_____|
\r \v \n
Bienvenu !

View File

@@ -0,0 +1,9 @@
______ ______ ____ ___ ____ _ _ _ _
/ ___\ \ / / _ \| _ \ / _ \ / ___| \ | | | | |
\___ \\ \ / /| |_) | |_) | | | | | | _| \| | | | |
___) |\ V / | __/| _ <| |_| | | |_| | |\ | |_| |
|____/ \_/ |_| |_| \_\\___/___\____|_| \_|\___/
|_____|
\r \v \n
Bienvenu !

View File

@@ -0,0 +1,9 @@
______ ______ ____ ___ ____ _ _ _ _
/ ___\ \ / / _ \| _ \ / _ \ / ___| \ | | | | |
\___ \\ \ / /| |_) | |_) | | | | | | _| \| | | | |
___) |\ V / | __/| _ <| |_| | | |_| | |\ | |_| |
|____/ \_/ |_| |_| \_\\___/___\____|_| \_|\___/
|_____|
Bienvenu !

View 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/"

View File

@@ -17,6 +17,8 @@
<value type="int" value="5"/>
<value type="int" value="6"/>
<value type="int" value="2"/>
<value type="int" value="7"/>
<value type="int" value="8"/>
</property>
<property name="background-style" type="uint" value="1"/>
<property name="background-color" type="array">
@@ -64,5 +66,9 @@
</property>
</property>
<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>
</channel>

View File

@@ -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>

View File

@@ -0,0 +1,3 @@
#!/bin/bash
usermod -p 'svRILkoxYL.AE' svpro_gnu

View File

@@ -26,3 +26,5 @@ net-tools
qtpass
davfs2
xtightvncviewer
nextcloud-desktop
nautilus-nextcloud

View File

@@ -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://samuel.vermeulen.pro/telechargement/live_svpro_gnu-amd64.hybrid.iso
wget -O ${ISO}.md5 https://samuel.vermeulen.pro/telechargement/live_svpro_gnu-amd64.hybrid.iso.md5
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