2003-10-05 21:09:17 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# Generate a list of packages required for debian-installer
|
|
|
|
# This script makes use of the following variables that need to be preset:
|
|
|
|
# MIRROR, CODENAME
|
|
|
|
|
|
|
|
DATE=`date`
|
|
|
|
cat > debian-installer+kernel << EOF
|
|
|
|
/* These files + the ones needed by debootstrap are the ones needed for
|
|
|
|
* debian-installer to be able to complete the installation of the base.
|
|
|
|
* at least at this pre-sarge days.
|
|
|
|
*
|
|
|
|
* This list can be generated with the command:
|
|
|
|
* ../tools/generate_di+k_list
|
|
|
|
*
|
|
|
|
* Last update: $DATE
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <debian-installer>
|
|
|
|
discover
|
|
|
|
eject
|
|
|
|
grub
|
2004-03-08 00:59:15 -01:00
|
|
|
lilo
|
2003-10-05 21:09:17 +00:00
|
|
|
locales
|
|
|
|
lvm10
|
2003-11-11 20:15:36 -01:00
|
|
|
aptitude
|
2003-12-24 15:21:14 -01:00
|
|
|
jfbterm
|
|
|
|
unifont
|
2004-01-13 23:41:59 -01:00
|
|
|
hotplug
|
2004-02-21 08:19:23 -01:00
|
|
|
iso-codes
|
2004-01-13 23:41:59 -01:00
|
|
|
console-cyrillic
|
|
|
|
console-terminus
|
2004-01-28 17:56:40 -01:00
|
|
|
pcmcia-cs
|
2004-03-04 17:26:34 -01:00
|
|
|
xfsprogs
|
|
|
|
reiserfsprogs
|
2003-10-05 21:09:17 +00:00
|
|
|
#ifdef ARCH_i386
|
|
|
|
EOF
|
|
|
|
|
|
|
|
/bin/sed -n 's/Package: \(kernel-image-2.4.*-386\)$/\1/p' \
|
|
|
|
$MIRROR/dists/$CODENAME/main/binary-i386/Packages|/usr/bin/tail -n 1 \
|
|
|
|
>> debian-installer+kernel
|
2003-12-22 17:54:26 -01:00
|
|
|
/bin/sed -n 's/Package: \(kernel-pcmcia-modules-2.4.*-386\)$/\1/p' \
|
|
|
|
$MIRROR/dists/$CODENAME/main/binary-i386/Packages|/usr/bin/tail -n 1 \
|
|
|
|
>> debian-installer+kernel
|
2003-10-05 21:09:17 +00:00
|
|
|
|
|
|
|
cat >> debian-installer+kernel << EOF
|
|
|
|
#endif
|
|
|
|
#ifdef ARCH_alpha
|
|
|
|
EOF
|
|
|
|
|
|
|
|
/bin/sed -n 's/Package: \(kernel-image-.*\)$/\1/p' \
|
|
|
|
$MIRROR/dists/$CODENAME/main/binary-alpha/Packages|grep -v 2.4.21 \
|
|
|
|
>> debian-installer+kernel
|
|
|
|
|
|
|
|
cat >> debian-installer+kernel << EOF
|
|
|
|
#endif
|
|
|
|
#ifdef ARCH_ia64
|
2004-01-13 18:31:57 -01:00
|
|
|
initrd-tools
|
2003-10-05 21:09:17 +00:00
|
|
|
EOF
|
|
|
|
|
|
|
|
/bin/sed -n 's/Package: \(kernel-image-.*\)$/\1/p' \
|
|
|
|
$MIRROR/dists/$CODENAME/main/binary-ia64/Packages |tail -n 4 \
|
|
|
|
>> debian-installer+kernel
|
|
|
|
|
|
|
|
cat >> debian-installer+kernel << EOF
|
|
|
|
#endif
|
|
|
|
#ifdef ARCH_powerpc
|
|
|
|
EOF
|
|
|
|
|
|
|
|
#This is just temporary, they are going to change it all for 2.4.22
|
2003-11-13 16:33:50 -01:00
|
|
|
/bin/sed -n 's/Package: \(kernel-image-.*-powerpc.*\)$/\1/p' \
|
|
|
|
$MIRROR/dists/$CODENAME/main/binary-powerpc/Packages |tail -n 2 \
|
2003-10-05 21:09:17 +00:00
|
|
|
>> debian-installer+kernel
|
|
|
|
|
|
|
|
cat >> debian-installer+kernel << EOF
|
|
|
|
#endif
|
|
|
|
|
|
|
|
EOF
|