mirror of
https://salsa.debian.org/images-team/debian-cd.git
synced 2024-11-24 15:19:51 -01:00
Fix the environment variable checks in tools/generate_di+k_list.
This commit is contained in:
parent
e9d53921b6
commit
d35ef77599
3
debian/changelog
vendored
3
debian/changelog
vendored
@ -168,6 +168,9 @@ debian-cd (2.2.24) UNRELEASED; urgency=low
|
||||
* Add linux-image-2.6-footbridge and linux-image-2.6-s3c2410
|
||||
arm kernels as d-i now uses these.
|
||||
|
||||
[ Steve McIntyre ]
|
||||
* Fix the environment variable checks in tools/generate_di+k_list.
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Thu, 9 Feb 2006 15:18:35 -0500
|
||||
|
||||
debian-cd (2.2.23) unstable; urgency=low
|
||||
|
@ -3,9 +3,18 @@
|
||||
# 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};
|
||||
if [ "$MIRROR"x = ""x ] ; then
|
||||
echo "\$MIRROR unset; abort!"
|
||||
exit 1
|
||||
fi
|
||||
if [ "$CODENAME"x = ""x ] ; then
|
||||
echo "\$CODENAME unset; abort!"
|
||||
exit 1
|
||||
fi
|
||||
if [ "$DI_CODENAME"x = ""x ] ; then
|
||||
echo "\$DI_CODENAME unset; abort!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
DATE=`date`
|
||||
cat > debian-installer+kernel-$DI_CODENAME << EOF
|
||||
|
Loading…
Reference in New Issue
Block a user