Browse Source

maj script

develop v1.1.1
Samuel VERMEULEN 1 year ago
parent
commit
ae31765826
  1. BIN
      Screenshot.png
  2. 26
      build_svprognu

BIN
Screenshot.png

Before

Width: 1366  |  Height: 768  |  Size: 251 KiB

After

Width: 1920  |  Height: 1076  |  Size: 844 KiB

26
build_svprognu

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