Clean up update-cd

Remove old stuff
Fix up copyright
This commit is contained in:
Steve McIntyre 2017-08-04 21:12:57 +01:00
parent b6c7df147a
commit c8e8c0b10b
1 changed files with 9 additions and 12 deletions

View File

@ -1,9 +1,7 @@
#!/bin/bash #!/bin/bash
# #
# $Id$ # (c) Steve McIntyre <steve@einval.com> 2001-2017
# # GNU GPL v2
# (c) Steve McIntyre <stevem@chiark.greenend.org.uk> Released under
# GNU GPL v2 1st January 2001
# #
# Quick and dirty script to create update CDs for people to upgrade # Quick and dirty script to create update CDs for people to upgrade
# from an initial stable release (r0) to the latest point release level # from an initial stable release (r0) to the latest point release level
@ -15,13 +13,12 @@ set -e
# Where is your mirror? # Where is your mirror?
MIRROR_NORM=/srv/cdbuilder.debian.org/src/ftp/debian MIRROR_NORM=/srv/cdbuilder.debian.org/src/ftp/debian
MIRROR_AMD64=/srv/cdbuilder.debian.org/src/ftp/debian-amd64/debian
# Do you want non-free? 1 for yes, 0 for no # Do you want non-free? 1 for yes, 0 for no
NONFREE=0 NONFREE=0
# What release version is this? # What release version is this?
VER=6.0.2.1 VER=9.1.0
# Is this an official CD? # Is this an official CD?
OFFICIAL=Official OFFICIAL=Official
@ -37,13 +34,13 @@ JTE=1
BT=1 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/squeeze-update/cd-work TDIR=/srv/cdbuilder.debian.org/src/deb-cd/tmp/stretch-update/cd-work
# Building squeeze cd set ... # Building stretch cd set ...
CODENAME=squeeze CODENAME=stretch
# Path where the images will be written # Path where the images will be written
OUT=/srv/cdbuilder.debian.org/src/deb-cd/tmp/squeeze-update/cd-out OUT=/srv/cdbuilder.debian.org/src/deb-cd/tmp/stretch-update/cd-out
# Location(s) for the snapshot(s) # Location(s) for the snapshot(s)
SNAPSHOT='Debian=http://us.cdimage.debian.org/cdimage/snapshot/Debian/ --try-last' SNAPSHOT='Debian=http://us.cdimage.debian.org/cdimage/snapshot/Debian/ --try-last'
@ -69,7 +66,7 @@ esac
# Location of the diff file to use to determine the changes. If you leave # Location of the diff file to use to determine the changes. If you leave
# this blank, we'll try to determine the changes from the ChangeLog files, # this blank, we'll try to determine the changes from the ChangeLog files,
# which is probably less accurate. # which is probably less accurate.
DIFF=/home/debian-cd/lists/squeeze/r0-r2.diff DIFF=/home/debian-cd/lists/stretch/r0-r2.diff
if [ "$TYPE" = "cd" ] ; then if [ "$TYPE" = "cd" ] ; then
CDSIZE=644 # megabytes, leaving space for metadata CDSIZE=644 # megabytes, leaving space for metadata
@ -93,7 +90,7 @@ CAPCODE=`perl -e "print ucfirst("$CODENAME")"`
export FIRSTVER CAPCODE export FIRSTVER CAPCODE
if [ "$ARCHLIST"x = ""x ] ; then if [ "$ARCHLIST"x = ""x ] ; then
ARCHLIST="arm64 armel armhf amd64 i386 mips mipsel powerpc s390x source kfreebsd-amd64 kfreebsd-i386" # amd64 # all dealt with specially ARCHLIST="arm64 armel armhf amd64 i386 mips mipsel mips64el s390x source" # amd64 # -all dealt with specially
fi fi
export TDIR NONFREE VER MIRROR CODENAME OUT BASEDIR export TDIR NONFREE VER MIRROR CODENAME OUT BASEDIR