|
|
|
@ -3,7 +3,7 @@
|
|
|
|
|
# https://debian-facile.org/git/ProjetsDF/dfiso-buster/
|
|
|
|
|
|
|
|
|
|
# cfg ------------------------------------------------------------------
|
|
|
|
|
VERSION="10.5"
|
|
|
|
|
VERSION="10.5-1"
|
|
|
|
|
|
|
|
|
|
if [ `whoami` != root ]; then
|
|
|
|
|
echo "erreur : lancer DFbuild en tant qu'administrateur"
|
|
|
|
@ -53,7 +53,10 @@ cd ../../
|
|
|
|
|
echo ""
|
|
|
|
|
|
|
|
|
|
# import des cahiers du débutant
|
|
|
|
|
ln ext/*.deb config/packages/
|
|
|
|
|
# pensez à vérifier la version sur le serveur pour ajuster la commande
|
|
|
|
|
cd config/packages/
|
|
|
|
|
wget -q -c https://debian-facile.org/projets/lescahiersdudebutant/download/lescahiersdudebutant_10.5-2_all.deb
|
|
|
|
|
cd ../../
|
|
|
|
|
|
|
|
|
|
# utiliser apt-cacher s'il est installé
|
|
|
|
|
if dpkg-query -W apt-cacher-ng &>"/dev/null"
|
|
|
|
@ -69,17 +72,14 @@ if [ "$ARCH" == "i386" ]; then lb config -a ${ARCH} ${CACHE[@]} -k "686" --bootl
|
|
|
|
|
if [ "$ARCH" == "amd64" ]; then lb config -a ${ARCH} ${CACHE[@]} --bootloader "syslinux,grub-efi"; fi
|
|
|
|
|
lb build
|
|
|
|
|
|
|
|
|
|
# nettoyage : ça doit ralentir l'ensemble, ça. Voyons ce que ça donne sans.
|
|
|
|
|
#rm -Rf config/packages config/includes config/includes.bootstrap config/includes.source
|
|
|
|
|
|
|
|
|
|
## renommage
|
|
|
|
|
if test -f live-image-${ARCH}.hybrid.iso; then
|
|
|
|
|
echo "INFO: renommer"
|
|
|
|
|
mkdir -p dfiso-${ARCH}
|
|
|
|
|
mv live-image-${ARCH}.hybrid.iso dfiso-${ARCH}/debian-facile-${VERSION}-${ARCH}.iso
|
|
|
|
|
mv chroot.packages.install dfiso-${ARCH}/debian-facile-${VERSION}-${ARCH}.pkgs
|
|
|
|
|
mv dfiso.log dfiso-${ARCH}/debian-facile-${VERSION}-${ARCH}.log
|
|
|
|
|
cd dfiso-${ARCH} && md5sum debian-facile-${VERSION}-${ARCH}.iso > debian-facile-${VERSION}-${ARCH}.md5 && cd ../
|
|
|
|
|
mv live-image-${ARCH}.hybrid.iso dfiso-${ARCH}/debian-facile-${VERSION}_${ARCH}.iso
|
|
|
|
|
mv chroot.packages.install dfiso-${ARCH}/debian-facile-${VERSION}_${ARCH}.pkgs
|
|
|
|
|
mv dfiso.log dfiso-${ARCH}/debian-facile-${VERSION}_${ARCH}.log
|
|
|
|
|
cd dfiso-${ARCH} && md5sum debian-facile-${VERSION}_${ARCH}.iso > debian-facile-${VERSION}_${ARCH}.md5 && cd ../
|
|
|
|
|
lb clean
|
|
|
|
|
else
|
|
|
|
|
echo "ISO non construite : erreur, voir le fichier dfiso.log"
|
|
|
|
|