update-cd: drop support for bittorrent.
This matches changes that already happened in the buildd/bullseye branch.
This commit is contained in:
parent
ee4d6cb1d4
commit
f9cd3f436f
11
update-cd
11
update-cd
|
@ -31,9 +31,6 @@ MKISOFS="genisoimage -jigdo-template-compress bzip2 -r -checksum_algorithm_iso s
|
||||||
# Use JTE extensions to mkisofs to make jigdo files?
|
# Use JTE extensions to mkisofs to make jigdo files?
|
||||||
JTE=1
|
JTE=1
|
||||||
|
|
||||||
# Set up torrents too?
|
|
||||||
BT=1
|
|
||||||
|
|
||||||
# The working directory to use. MUST be on the same partition as the mirror.
|
# The working directory to use. MUST be on the same partition as the mirror.
|
||||||
TDIR=/srv/cdbuilder.debian.org/src/deb-cd/tmp/bookworm-update/cd-work
|
TDIR=/srv/cdbuilder.debian.org/src/deb-cd/tmp/bookworm-update/cd-work
|
||||||
|
|
||||||
|
@ -143,7 +140,6 @@ make_cd () {
|
||||||
ISODIR=$OUT/$THISARCH/iso-$TYPE
|
ISODIR=$OUT/$THISARCH/iso-$TYPE
|
||||||
JIGDODIR=$OUT/$THISARCH/jigdo-$TYPE
|
JIGDODIR=$OUT/$THISARCH/jigdo-$TYPE
|
||||||
LISTDIR=$OUT/$THISARCH/list-$TYPE
|
LISTDIR=$OUT/$THISARCH/list-$TYPE
|
||||||
BTDIR=$OUT/$THISARCH/bt-$TYPE
|
|
||||||
|
|
||||||
if [ ! -d ${ISODIR} ] ; then
|
if [ ! -d ${ISODIR} ] ; then
|
||||||
mkdir -p ${ISODIR}
|
mkdir -p ${ISODIR}
|
||||||
|
@ -154,9 +150,6 @@ make_cd () {
|
||||||
if [ ! -d ${LISTDIR} ] ; then
|
if [ ! -d ${LISTDIR} ] ; then
|
||||||
mkdir -p ${LISTDIR}
|
mkdir -p ${LISTDIR}
|
||||||
fi
|
fi
|
||||||
if [ $BT = 1 ] && [ ! -d ${BTDIR} ] ; then
|
|
||||||
mkdir -p ${BTDIR}
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ $JTE = 1 ] ; then
|
if [ $JTE = 1 ] ; then
|
||||||
set +e
|
set +e
|
||||||
|
@ -195,10 +188,6 @@ make_cd () {
|
||||||
echo "$SHA ${BASENAME}.iso" >> ${JIGDODIR}/SHA${SHA_SIZE}SUMS.update
|
echo "$SHA ${BASENAME}.iso" >> ${JIGDODIR}/SHA${SHA_SIZE}SUMS.update
|
||||||
echo "$SHA ${BASENAME}.iso" >> ${ISODIR}/SHA${SHA_SIZE}SUMS.update
|
echo "$SHA ${BASENAME}.iso" >> ${ISODIR}/SHA${SHA_SIZE}SUMS.update
|
||||||
(cd ${JIGDODIR} && sha${SHA_SIZE}sum ${BASENAME}.jigdo ${BASENAME}.template >> SHA${SHA_SIZE}SUMS.update)
|
(cd ${JIGDODIR} && sha${SHA_SIZE}sum ${BASENAME}.jigdo ${BASENAME}.template >> SHA${SHA_SIZE}SUMS.update)
|
||||||
if [ $BT = 1 ]; then
|
|
||||||
echo "$SHA ${BASENAME}.iso" >> ${BTDIR}/SHA${SHA_SIZE}SUMS.update
|
|
||||||
(cd ${BTDIR} && sha${SHA_SIZE}sum ${BASENAME}.iso.torrent >> SHA${SHA_SIZE}SUMS.update)
|
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
|
|
||||||
# Make sure that the ISO is as new/newer than the jigdo file; #587774
|
# Make sure that the ISO is as new/newer than the jigdo file; #587774
|
||||||
|
|
Loading…
Reference in New Issue