2003-10-05 21:09:17 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2006-12-04 16:23:57 -01:00
|
|
|
set -e
|
|
|
|
|
2003-10-05 21:09:17 +00:00
|
|
|
# Generate a list of packages required for debian-installer
|
|
|
|
# This script makes use of the following variables that need to be preset:
|
2008-11-13 22:19:30 -01:00
|
|
|
# MIRROR, CODENAME
|
2006-02-11 00:09:11 -01:00
|
|
|
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
|
2003-10-05 21:09:17 +00:00
|
|
|
|
|
|
|
DATE=`date`
|
2008-11-13 22:19:30 -01:00
|
|
|
cat > debian-installer+kernel << EOF
|
* Audited all the apt-install commands in d-i, and added these packages
to generate_di+k_list: pcmciautils, dosfsutils (barely needed),
udev, installation-report, palo, elilo, sibyl, sibyl, colo, powerpc-utils,
silo, vmelilo.
Some of the bootloaders were alredy included via debootstrap, but as they
are being removed from there, it's better to add them explicitly here.
2005-12-27 04:18:42 -01:00
|
|
|
/* These packages + the ones needed by debootstrap are the ones needed for
|
|
|
|
* debian-installer to be able to install a base Debian system.
|
|
|
|
*
|
|
|
|
* These packages are installed by various parts of the debian-installer,
|
|
|
|
* mostly via its apt-install command.
|
2003-10-05 21:09:17 +00:00
|
|
|
*
|
|
|
|
* This list can be generated with the command:
|
|
|
|
* ../tools/generate_di+k_list
|
|
|
|
*
|
- Since amd64 is not on standard debian mirrors, and generate_d-i+k_list
must be runnable on them, make it chack for absence of amd64 Packages
files and add a dummy kernel for amd64. This will need to be manually
kept up-to-date by the amd64 people for now.
- Didn't fix generate_di_list the same way, since doing so would be too
hard. Next time tasks/debian-installer is updated using this script on
a machine w/o the unofficial amd64 archive, the am64 info in the file
will be lost.
- Add DO NOT EDIT warning messages to generated files in cvs.
- Check and revert manual modifications to tasks/base-sarge. This file is
automatically generated and those mods would have been lost:
- Add fileutils to generate_d-i+k_list, "until kernels get fixed",
whatever that means.
- arcboot was already in generate_d-i+k_list.
- Update tasks/debian-installer+kernel using generate_d-i+k_list.
- Sort package lists in tasks/base-sarge to ease comparisons when
updating.
- Update tasks/base-sarge for debootstrap 0.2.45. This includes the
following removals:
- aboot: already listed in debian-installer+kernel
- gcc-3.2-base, libdb2, libgcrypt1, libgnutls7, libident,
libdb2, libtasn1-0: obsolete
- modconf: obsoleted by d-i
- setserial: not base anymore
- slang1: turned into slang1a-utf8
- libident: not needed by base anymore
- lilo: in debian-installer+kernel
- mbr: not installed anymore
- pcmcia-cs: in debian-installer+kernel
- syslinux: not installed
- "filesutils": typo; fileutils in generate_d-i+k_list for m68k
- quik: in debian-installer+kernel
- yaboot: in debian-installer+kernel
- arcboot: in debian-installer+kernel
- delo: in debian-installer+kernel
And the following additions:
- libdb4.2, libgcrypt11, libgcrypt7, libgnutls10, libgnutls11,
libgpg-error0, libtasn1-2: new libraries
- console-tools: now installed by debootstrap even on s390
2005-01-02 22:31:45 -01:00
|
|
|
* DO NOT EDIT THIS FILE, edit the above script
|
|
|
|
*
|
2003-10-05 21:09:17 +00:00
|
|
|
* Last update: $DATE
|
|
|
|
*/
|
|
|
|
|
2008-11-13 22:19:30 -01:00
|
|
|
#include <debian-installer>
|
2012-07-08 00:29:46 +00:00
|
|
|
|
|
|
|
/* Hardware config */
|
2003-10-05 21:09:17 +00:00
|
|
|
eject
|
2010-03-14 06:26:15 -01:00
|
|
|
pciutils
|
2004-06-07 15:16:40 +00:00
|
|
|
usbutils
|
* Clean up forcd1, removing twm, wmaker, wmakerconf, pump,
menu (pulled in by desktop tasks),
aptitude (pulled in by debootstap, and may be demoted to optional),
alsa-utils, alsa-base (pulled in by task-desktop),
mdetect, read-edid (no longer used by xorg),
grub (handed by generate_di+k_list),
deborphan, debfoster, localepurge (expert user stuff),
chdrvfont (no such package any more)
* Updated generate_di+k_list to match more closely the current
packages d-i apt-installs.
2012-07-07 22:36:24 +00:00
|
|
|
keyboard-configuration
|
2009-08-23 07:03:42 +00:00
|
|
|
console-setup
|
* Audited all the apt-install commands in d-i, and added these packages
to generate_di+k_list: pcmciautils, dosfsutils (barely needed),
udev, installation-report, palo, elilo, sibyl, sibyl, colo, powerpc-utils,
silo, vmelilo.
Some of the bootloaders were alredy included via debootstrap, but as they
are being removed from there, it's better to add them explicitly here.
2005-12-27 04:18:42 -01:00
|
|
|
pcmciautils
|
2012-07-08 00:29:46 +00:00
|
|
|
acpi
|
|
|
|
acpid
|
|
|
|
acpi-support-base
|
|
|
|
pbbuttonsd
|
|
|
|
mouseemu
|
|
|
|
udev
|
|
|
|
discover
|
|
|
|
|
|
|
|
/* Storage and filesystem tools */
|
|
|
|
e2fsprogs
|
|
|
|
dmsetup
|
|
|
|
lvm2
|
|
|
|
mdadm
|
2004-03-04 17:26:34 -01:00
|
|
|
xfsprogs
|
2004-05-30 18:06:58 +00:00
|
|
|
jfsutils
|
* Clean up forcd1, removing twm, wmaker, wmakerconf, pump,
menu (pulled in by desktop tasks),
aptitude (pulled in by debootstap, and may be demoted to optional),
alsa-utils, alsa-base (pulled in by task-desktop),
mdetect, read-edid (no longer used by xorg),
grub (handed by generate_di+k_list),
deborphan, debfoster, localepurge (expert user stuff),
chdrvfont (no such package any more)
* Updated generate_di+k_list to match more closely the current
packages d-i apt-installs.
2012-07-07 22:36:24 +00:00
|
|
|
dosfstools
|
2004-03-04 17:26:34 -01:00
|
|
|
reiserfsprogs
|
2011-02-17 15:25:21 -01:00
|
|
|
btrfs-tools
|
2012-03-04 21:21:33 -01:00
|
|
|
ufsutils
|
2011-08-05 12:44:20 +00:00
|
|
|
zfsutils
|
2012-07-08 00:29:46 +00:00
|
|
|
cryptsetup
|
|
|
|
loop-aes-utils
|
|
|
|
dmraid
|
|
|
|
open-iscsi
|
|
|
|
/* multipath-tools-boot is used for multipath support and installed
|
|
|
|
* during installation process if multipath is used
|
|
|
|
*/
|
|
|
|
multipath-tools-boot
|
|
|
|
|
|
|
|
/* Networking */
|
|
|
|
wireless-tools
|
2005-12-09 20:40:39 -01:00
|
|
|
ppp
|
|
|
|
pppoeconf
|
2008-10-14 12:39:32 +00:00
|
|
|
pptp-linux
|
2012-07-08 00:29:46 +00:00
|
|
|
/* #593914: netinsts are being used on wireless too these days. */
|
|
|
|
wpasupplicant
|
|
|
|
|
|
|
|
/* Misc d-i */
|
* Audited all the apt-install commands in d-i, and added these packages
to generate_di+k_list: pcmciautils, dosfsutils (barely needed),
udev, installation-report, palo, elilo, sibyl, sibyl, colo, powerpc-utils,
silo, vmelilo.
Some of the bootloaders were alredy included via debootstrap, but as they
are being removed from there, it's better to add them explicitly here.
2005-12-27 04:18:42 -01:00
|
|
|
installation-report
|
2006-03-03 01:35:25 -01:00
|
|
|
openssh-server
|
* Clean up forcd1, removing twm, wmaker, wmakerconf, pump,
menu (pulled in by desktop tasks),
aptitude (pulled in by debootstap, and may be demoted to optional),
alsa-utils, alsa-base (pulled in by task-desktop),
mdetect, read-edid (no longer used by xorg),
grub (handed by generate_di+k_list),
deborphan, debfoster, localepurge (expert user stuff),
chdrvfont (no such package any more)
* Updated generate_di+k_list to match more closely the current
packages d-i apt-installs.
2012-07-07 22:36:24 +00:00
|
|
|
popularity-contest
|
|
|
|
os-prober
|
2012-07-08 00:29:46 +00:00
|
|
|
locales
|
|
|
|
|
|
|
|
/* Needed for some languages with bi-directional support */
|
|
|
|
libfribidi0
|
* Audited all the apt-install commands in d-i, and added these packages
to generate_di+k_list: pcmciautils, dosfsutils (barely needed),
udev, installation-report, palo, elilo, sibyl, sibyl, colo, powerpc-utils,
silo, vmelilo.
Some of the bootloaders were alredy included via debootstrap, but as they
are being removed from there, it's better to add them explicitly here.
2005-12-27 04:18:42 -01:00
|
|
|
|
2006-05-12 05:54:08 +00:00
|
|
|
/* Needed for rootless installs. */
|
|
|
|
sudo
|
|
|
|
|
2008-02-11 11:58:46 -01:00
|
|
|
/* laptop-detect is used by tasksel when checking if the system is a
|
|
|
|
* laptop so we have to make sure to get it included on first CD for
|
|
|
|
* arches that are know to have laptops
|
|
|
|
*/
|
|
|
|
|
2010-05-27 00:52:25 +00:00
|
|
|
/* add the list of firmware packages here too if required */
|
|
|
|
#ifdef FORCE_FIRMWARE
|
|
|
|
# include <firmware>
|
|
|
|
#endif
|
|
|
|
|
2003-10-05 21:09:17 +00:00
|
|
|
#ifdef ARCH_i386
|
* Fix the environment variable checks in tools/generate_di+k_list.
* generate_di+k_list: Switch initamfs generator to per-arch,
based on what base-installer installs:
- initramfs-tools on i386, amd64, alpha, powerpc, arm
- yaird on hppa, ia64, mips, mipsel, sparc, m68k
2006-02-12 20:48:18 -01:00
|
|
|
initramfs-tools
|
2007-12-13 15:32:39 -01:00
|
|
|
busybox
|
2010-02-21 23:12:47 -01:00
|
|
|
grub-legacy
|
2008-02-14 13:27:03 -01:00
|
|
|
grub-pc
|
2012-09-26 00:17:27 +00:00
|
|
|
grub-efi
|
|
|
|
grub-efi-ia32
|
|
|
|
grub-efi-ia32-bin
|
2008-02-11 11:58:46 -01:00
|
|
|
laptop-detect
|
2004-03-31 23:37:57 +00:00
|
|
|
lilo
|
2006-07-27 23:58:59 +00:00
|
|
|
elilo
|
2006-08-22 21:47:28 +00:00
|
|
|
libc6-i686
|
2005-09-14 20:52:48 +00:00
|
|
|
/* Note that we do not have to include every optimised kernel flavor for
|
2006-07-01 23:12:59 +00:00
|
|
|
* i386, but this does control what kernels are available on the netinst CD.
|
|
|
|
* Kernel headers are included as third party modules are commonly
|
2005-09-14 20:52:48 +00:00
|
|
|
* used on this architecture.
|
|
|
|
*/
|
2011-11-14 14:10:15 -01:00
|
|
|
linux-image-686-pae
|
|
|
|
linux-headers-686-pae
|
2010-10-18 14:26:39 +00:00
|
|
|
#ifndef ARCH_i386_EXCLUDE_486_KERNEL
|
2011-11-14 14:10:15 -01:00
|
|
|
linux-image-486
|
|
|
|
linux-headers-486
|
2010-10-18 14:26:39 +00:00
|
|
|
#endif
|
2009-08-09 14:33:00 +00:00
|
|
|
|
2004-12-08 22:23:09 -01:00
|
|
|
#endif
|
2005-09-14 20:52:48 +00:00
|
|
|
|
2004-12-08 22:23:09 -01:00
|
|
|
#ifdef ARCH_amd64
|
* Fix the environment variable checks in tools/generate_di+k_list.
* generate_di+k_list: Switch initamfs generator to per-arch,
based on what base-installer installs:
- initramfs-tools on i386, amd64, alpha, powerpc, arm
- yaird on hppa, ia64, mips, mipsel, sparc, m68k
2006-02-12 20:48:18 -01:00
|
|
|
initramfs-tools
|
2007-12-13 15:32:39 -01:00
|
|
|
busybox
|
2010-02-21 23:12:47 -01:00
|
|
|
grub-legacy
|
2008-02-14 13:27:03 -01:00
|
|
|
grub-pc
|
2012-09-26 00:17:27 +00:00
|
|
|
grub-efi
|
|
|
|
grub-efi-amd64
|
|
|
|
grub-efi-amd64-bin
|
2008-02-11 11:58:46 -01:00
|
|
|
laptop-detect
|
2005-05-17 11:49:25 +00:00
|
|
|
lilo
|
2011-11-14 14:10:15 -01:00
|
|
|
linux-image-amd64
|
|
|
|
linux-headers-amd64
|
2003-10-05 21:09:17 +00:00
|
|
|
#endif
|
2005-09-14 20:52:48 +00:00
|
|
|
|
2003-10-05 21:09:17 +00:00
|
|
|
#ifdef ARCH_ia64
|
2006-07-27 23:46:03 +00:00
|
|
|
initramfs-tools
|
2007-12-13 15:32:39 -01:00
|
|
|
busybox
|
2011-11-14 14:10:15 -01:00
|
|
|
linux-image-itanium
|
|
|
|
linux-image-itanium-smp
|
|
|
|
linux-image-mckinley
|
|
|
|
linux-image-mckinley-smp
|
* Audited all the apt-install commands in d-i, and added these packages
to generate_di+k_list: pcmciautils, dosfsutils (barely needed),
udev, installation-report, palo, elilo, sibyl, sibyl, colo, powerpc-utils,
silo, vmelilo.
Some of the bootloaders were alredy included via debootstrap, but as they
are being removed from there, it's better to add them explicitly here.
2005-12-27 04:18:42 -01:00
|
|
|
elilo
|
2004-03-31 23:37:57 +00:00
|
|
|
#endif
|
2005-09-14 20:52:48 +00:00
|
|
|
|
2004-03-31 23:37:57 +00:00
|
|
|
#ifdef ARCH_mips
|
2007-12-13 15:32:39 -01:00
|
|
|
/* doesn't use a initrd to boot */
|
2004-03-31 23:37:57 +00:00
|
|
|
arcboot
|
* Audited all the apt-install commands in d-i, and added these packages
to generate_di+k_list: pcmciautils, dosfsutils (barely needed),
udev, installation-report, palo, elilo, sibyl, sibyl, colo, powerpc-utils,
silo, vmelilo.
Some of the bootloaders were alredy included via debootstrap, but as they
are being removed from there, it's better to add them explicitly here.
2005-12-27 04:18:42 -01:00
|
|
|
sibyl
|
2011-11-14 14:10:15 -01:00
|
|
|
linux-image-r4k-ip22
|
|
|
|
linux-image-r5k-ip32
|
|
|
|
linux-image-sb1-bcm91250a
|
|
|
|
linux-image-sb1a-bcm91480b
|
2004-03-31 23:37:57 +00:00
|
|
|
#endif
|
2005-09-14 20:52:48 +00:00
|
|
|
|
2004-03-31 23:37:57 +00:00
|
|
|
#ifdef ARCH_mipsel
|
2007-12-13 15:32:39 -01:00
|
|
|
/* doesn't use a initrd to boot */
|
* Audited all the apt-install commands in d-i, and added these packages
to generate_di+k_list: pcmciautils, dosfsutils (barely needed),
udev, installation-report, palo, elilo, sibyl, sibyl, colo, powerpc-utils,
silo, vmelilo.
Some of the bootloaders were alredy included via debootstrap, but as they
are being removed from there, it's better to add them explicitly here.
2005-12-27 04:18:42 -01:00
|
|
|
sibyl
|
|
|
|
colo
|
2004-07-30 01:45:42 +00:00
|
|
|
delo
|
2011-11-14 14:10:15 -01:00
|
|
|
linux-image-r3k-kn02
|
|
|
|
linux-image-r4k-kn04
|
|
|
|
linux-image-r5k-cobalt
|
|
|
|
linux-image-sb1-bcm91250a
|
|
|
|
linux-image-sb1a-bcm91480b
|
2006-07-27 23:58:59 +00:00
|
|
|
#endif
|
2004-03-31 23:37:57 +00:00
|
|
|
|
2008-05-04 17:38:52 +00:00
|
|
|
#ifdef ARCH_armel
|
|
|
|
initramfs-tools
|
|
|
|
busybox
|
|
|
|
slugimage
|
|
|
|
flash-kernel
|
|
|
|
nslu2-utils
|
|
|
|
apex-nslu2
|
2011-11-14 14:10:15 -01:00
|
|
|
linux-image-iop32x
|
|
|
|
linux-image-ixp4xx
|
2012-03-16 13:32:39 -01:00
|
|
|
linux-image-kirkwood
|
|
|
|
linux-image-mv78xx0
|
|
|
|
linux-image-orion5x
|
2011-11-14 14:10:15 -01:00
|
|
|
linux-image-versatile
|
2008-05-04 17:38:52 +00:00
|
|
|
#endif
|
|
|
|
|
2012-03-16 13:43:18 -01:00
|
|
|
#ifdef ARCH_armhf
|
|
|
|
initramfs-tools
|
|
|
|
busybox
|
|
|
|
flash-kernel
|
|
|
|
linux-image-mx5
|
|
|
|
linux-image-omap
|
|
|
|
#endif
|
|
|
|
|
2006-07-27 23:58:59 +00:00
|
|
|
#ifdef ARCH_sparc
|
|
|
|
initramfs-tools
|
2007-12-13 15:32:39 -01:00
|
|
|
busybox
|
2006-07-27 23:58:59 +00:00
|
|
|
silo
|
2006-08-22 21:59:04 +00:00
|
|
|
libc6-sparcv9b
|
|
|
|
libc6-sparcv9
|
2011-11-14 14:10:15 -01:00
|
|
|
linux-image-sparc32
|
|
|
|
linux-image-sparc32-smp
|
|
|
|
linux-image-sparc64
|
|
|
|
linux-image-sparc64-smp
|
2003-10-05 21:09:17 +00:00
|
|
|
#endif
|
2005-09-14 20:52:48 +00:00
|
|
|
|
2003-10-05 21:09:17 +00:00
|
|
|
#ifdef ARCH_powerpc
|
* Fix the environment variable checks in tools/generate_di+k_list.
* generate_di+k_list: Switch initamfs generator to per-arch,
based on what base-installer installs:
- initramfs-tools on i386, amd64, alpha, powerpc, arm
- yaird on hppa, ia64, mips, mipsel, sparc, m68k
2006-02-12 20:48:18 -01:00
|
|
|
initramfs-tools
|
2007-12-13 15:32:39 -01:00
|
|
|
busybox
|
2008-02-11 11:58:46 -01:00
|
|
|
laptop-detect
|
2004-07-24 01:52:20 +00:00
|
|
|
quik
|
2004-06-07 09:35:40 +00:00
|
|
|
yaboot
|
* Audited all the apt-install commands in d-i, and added these packages
to generate_di+k_list: pcmciautils, dosfsutils (barely needed),
udev, installation-report, palo, elilo, sibyl, sibyl, colo, powerpc-utils,
silo, vmelilo.
Some of the bootloaders were alredy included via debootstrap, but as they
are being removed from there, it's better to add them explicitly here.
2005-12-27 04:18:42 -01:00
|
|
|
powerpc-utils
|
2005-11-08 16:32:21 -01:00
|
|
|
hfsutils
|
2004-07-18 21:18:02 +00:00
|
|
|
mkvmlinuz
|
2011-11-14 14:10:15 -01:00
|
|
|
linux-image-powerpc
|
|
|
|
linux-image-powerpc-smp
|
|
|
|
linux-image-powerpc64
|
|
|
|
linux-image-prep
|
2003-10-05 21:09:17 +00:00
|
|
|
#endif
|
2005-09-14 20:52:48 +00:00
|
|
|
|
* Clean up forcd1, removing twm, wmaker, wmakerconf, pump,
menu (pulled in by desktop tasks),
aptitude (pulled in by debootstap, and may be demoted to optional),
alsa-utils, alsa-base (pulled in by task-desktop),
mdetect, read-edid (no longer used by xorg),
grub (handed by generate_di+k_list),
deborphan, debfoster, localepurge (expert user stuff),
chdrvfont (no such package any more)
* Updated generate_di+k_list to match more closely the current
packages d-i apt-installs.
2012-07-07 22:36:24 +00:00
|
|
|
#ifdef ARCH_alpha
|
|
|
|
aboot
|
|
|
|
#endif
|
|
|
|
|
2010-08-20 15:04:23 +00:00
|
|
|
#ifdef ARCH_kfreebsd_amd64
|
|
|
|
kfreebsd-image-8-amd64
|
2011-12-08 14:34:14 -01:00
|
|
|
kfreebsd-image-9-amd64
|
2010-08-20 15:04:23 +00:00
|
|
|
grub-pc
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef ARCH_kfreebsd_i386
|
|
|
|
kfreebsd-image-8-486
|
|
|
|
kfreebsd-image-8-686
|
|
|
|
kfreebsd-image-8-686-smp
|
2011-12-08 14:34:14 -01:00
|
|
|
kfreebsd-image-9-486
|
|
|
|
kfreebsd-image-9-686
|
|
|
|
kfreebsd-image-9-686-smp
|
2010-08-20 15:04:23 +00:00
|
|
|
grub-pc
|
|
|
|
libc0.1-i686
|
|
|
|
#endif
|
|
|
|
|
2011-03-30 10:29:44 +00:00
|
|
|
#ifdef ARCH_hurd_i386
|
|
|
|
gnumach-image-1-486
|
|
|
|
grub-pc
|
|
|
|
libc0.3-i686
|
|
|
|
#ifdef VARIANT_xen
|
|
|
|
gnumach-image-1-xen-486
|
|
|
|
libc0.3-xen
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
2012-07-07 23:12:24 +00:00
|
|
|
#if defined(ARCH_s390) || defined(ARCH_s390x)
|
|
|
|
s390-tools
|
|
|
|
sysconfig-hardware
|
|
|
|
#endif
|
2005-02-20 22:06:39 -01:00
|
|
|
EOF
|