Disable bittorrent support.
This commit is contained in:
parent
0999e7c284
commit
b52ec859d6
11
update-cd
11
update-cd
|
@ -30,9 +30,6 @@ MKISOFS="xorriso -as mkisofs -jigdo-template-compress bzip2 -r -checksum_algorit
|
|||
# Use JTE extensions to mkisofs to make jigdo files?
|
||||
JTE=1
|
||||
|
||||
# Set up torrents too?
|
||||
BT=1
|
||||
|
||||
# The working directory to use. MUST be on the same partition as the mirror.
|
||||
TDIR=/srv/cdbuilder.debian.org/src/deb-cd/tmp/bullseye-update/cd-work
|
||||
|
||||
|
@ -143,7 +140,6 @@ make_cd () {
|
|||
ISODIR=$OUT/$THISARCH/iso-$TYPE
|
||||
JIGDODIR=$OUT/$THISARCH/jigdo-$TYPE
|
||||
LISTDIR=$OUT/$THISARCH/list-$TYPE
|
||||
BTDIR=$OUT/$THISARCH/bt-$TYPE
|
||||
|
||||
if [ ! -d ${ISODIR} ] ; then
|
||||
mkdir -p ${ISODIR}
|
||||
|
@ -154,9 +150,6 @@ make_cd () {
|
|||
if [ ! -d ${LISTDIR} ] ; then
|
||||
mkdir -p ${LISTDIR}
|
||||
fi
|
||||
if [ $BT = 1 ] && [ ! -d ${BTDIR} ] ; then
|
||||
mkdir -p ${BTDIR}
|
||||
fi
|
||||
|
||||
if [ $JTE = 1 ] ; then
|
||||
set +e
|
||||
|
@ -195,10 +188,6 @@ make_cd () {
|
|||
echo "$SHA ${BASENAME}.iso" >> ${JIGDODIR}/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)
|
||||
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
|
||||
|
||||
# Make sure that the ISO is as new/newer than the jigdo file; #587774
|
||||
|
|
Loading…
Reference in New Issue