Adjust MKISOFS definition and usage.

This commit is contained in:
Cyril Brulebois 2023-06-08 16:11:05 +02:00
parent 93a508b60d
commit 0999e7c284
1 changed files with 4 additions and 4 deletions

View File

@ -25,7 +25,7 @@ OFFICIAL=Official
# OFFICIAL="Unofficial snapshot"
# Path to use with mkisofs/mkhybrid
MKISOFS="genisoimage -jigdo-template-compress bzip2 -r -checksum_algorithm_iso sha256,sha512"
MKISOFS="xorriso -as mkisofs -jigdo-template-compress bzip2 -r -checksum_algorithm_iso md5,sha256,sha512"
# Use JTE extensions to mkisofs to make jigdo files?
JTE=1
@ -166,9 +166,9 @@ make_cd () {
-jigdo-template ${JIGDODIR}/${BASENAME}.template \
-jigdo-map Debian=$MIRROR/ \
-jigdo-force-md5 /pool/ \
-checksum-list $UPD/checksum-check \
$UPD/CD$CDNUM 2>&1 | grep "extents written"
# $UPD/CD$CDNUM
-md5-list $UPD/checksum-check \
$UPD/CD$CDNUM
# $UPD/CD$CDNUM 2>&1 | grep "extents written"
if [ $? -ne 0 ] ; then
echo "${MKISOFS} failed, error $?"
exit 1