Browse Source

maj script

tags/v1.1.1^0
Samuel VERMEULEN 4 months ago
parent
commit
ae31765826
2 changed files with 16 additions and 10 deletions
  1. BIN
      Screenshot.png
  2. +16
    -10
      build_svprognu

BIN
Screenshot.png View File

Before After
Width: 1366  |  Height: 768  |  Size: 251KB Width: 1920  |  Height: 1076  |  Size: 845KB

+ 16
- 10
build_svprognu View File

@@ -5,16 +5,22 @@

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"
ISO="live-svpro_gnu-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
then
echo "ISO Corompue. Abandon !!"
rm -f ${ISO} ${ISO}.md5
exit 1
fi

# Copie de l'image iso sur clé
while getopts ":d: " opt; do
case $opt in


Loading…
Cancel
Save