Add missing envvar checks in tools/generate_di*_list scripts

This commit is contained in:
Frans Pop 2006-02-06 11:17:58 +00:00
parent f4b2eb930f
commit f2dbec3701
3 changed files with 5 additions and 0 deletions

1
debian/changelog vendored
View File

@ -158,6 +158,7 @@ debian-cd (2.2.24) UNRELEASED; urgency=low
[ Frans Pop ]
* For etch, pick up the installation guide from the appropriate
package in the archive rather than from the d-i area.
* Add missing envvar checks in tools/generate_di*_list scripts.
-- Joey Hess <joeyh@debian.org> Fri, 3 Feb 2006 14:22:51 -0500

View File

@ -3,6 +3,9 @@
# Generate a list of packages required for debian-installer
# This script makes use of the following variables that need to be preset:
# MIRROR, CODENAME, DI_CODENAME
die "Missing \$MIRROR variable" unless $ENV{MIRROR};
die "Missing \$CODENAME variable" unless $ENV{CODENAME};
die "Missing \$DI_CODENAME variable" unless $ENV{DI_CODENAME};
DATE=`date`
cat > debian-installer+kernel-$DI_CODENAME << EOF

View File

@ -4,6 +4,7 @@
# MIRROR, DI_CODENAME, BASEDIR
die "Missing \$MIRROR variable" unless $ENV{MIRROR};
die "Missing \$DI_CODENAME variable" unless $ENV{DI_CODENAME};
die "Missing \$BASEDIR variable" unless $ENV{BASEDIR};
my @ARCHES=qw{alpha arm hppa hurd-i386 i386 ia64 m68k mips mipsel
powerpc s390 sparc sh amd64};