Added initial amd64 support

This commit is contained in:
Steve McIntyre 2004-12-08 23:23:09 +00:00
parent cb6639c765
commit f398111b10
3 changed files with 16 additions and 1 deletions

View File

@ -40,6 +40,9 @@ kernel-image-2.4.27-1-386
kernel-pcmcia-modules-2.4.27-1-386
kernel-image-2.6.8-1-386
#endif
#ifdef ARCH_amd64
kernel-image-2.6.8-9-amd64-generic
#endif
#ifdef ARCH_alpha
aboot
aboot-base

View File

@ -56,6 +56,18 @@ EOF
$MIRROR/dists/$CODENAME/main/binary-i386/Packages|/usr/bin/tail -n 1 \
>> debian-installer+kernel
cat >> debian-installer+kernel << EOF
#endif
#ifdef ARCH_amd64
EOF
/bin/sed -n 's/Package: \(kernel-image-2.6.*-generic\)$/\1/p' \
$MIRROR/dists/$CODENAME/main/binary-amd64/Packages|/usr/bin/tail -n 1 \
>> debian-installer+kernel
/bin/sed -n 's/Package: \(kernel-pcmcia-modules-2.6.*-generic\)$/\1/p' \
$MIRROR/dists/$CODENAME/main/binary-amd64/Packages|/usr/bin/tail -n 1 \
>> debian-installer+kernel
cat >> debian-installer+kernel << EOF
#endif
#ifdef ARCH_alpha

View File

@ -3,7 +3,7 @@
# This script makes use of the following variables that need to be preset:
# MIRROR, DI_CODENAME, BASEDIR
my @ARCHES=qw{alpha arm hppa hurd-i386 i386 ia64 m68k mips mipsel
powerpc s390 sparc sh};
powerpc s390 sparc sh amd64};
my $DATE=`date`;
chomp $DATE;
open(OUT, ">debian-installer") || die "write: $!";