debian-cd-clone/tools/generate_di+k_list

234 lines
4.0 KiB
Plaintext
Raw Normal View History

#!/bin/sh
2006-12-04 16:23:57 -01:00
set -e
# Generate a list of packages required for debian-installer
# This script makes use of the following variables that need to be preset:
# MIRROR, 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 << EOF
/* 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.
*
* 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
*
* Last update: $DATE
*/
#include <debian-installer>
eject
locales
libdevmapper1.02
lvm-common
lvm2
mdadm
2003-11-11 20:15:36 -01:00
aptitude
hotplug
pciutils
usbutils
2009-08-23 11:01:55 +00:00
/* Used for Squeeze and onwards */
kbd
console-setup
pcmciautils
wireless-tools
xfsprogs
2004-05-30 18:06:58 +00:00
jfsutils
dosfsutils
reiserfsprogs
btrfs-tools
ufsutils
zfsutils
libfribidi0
2004-10-05 01:00:46 +00:00
localization-config
acpi
acpid
acpi-support-base
ppp
pppoeconf
pptp-linux
udev
installation-report
openssh-server
cryptsetup
loop-aes-utils
2007-09-27 17:46:00 +00:00
dmraid
/* Needed for rootless installs. */
sudo
/* 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
*/
/* On x86 users have a choice between grub-legacy and grub-pc */
/* #231583: Make life easier for Australian ISP users */
bpalogin
/* multipath-tools-boot is used for multipath support and installed
* during installation process if multipath is used
*/
multipath-tools-boot
/* #593914: netinsts are being used on wireless too these days. */
wpasupplicant
/* add the list of firmware packages here too if required */
#ifdef FORCE_FIRMWARE
# include <firmware>
#endif
#ifdef ARCH_i386
initramfs-tools
busybox
grub-legacy
grub-pc
laptop-detect
lilo
elilo
libc6-i686
/* Note that we do not have to include every optimised kernel flavor for
* i386, but this does control what kernels are available on the netinst CD.
* Kernel headers are included as third party modules are commonly
* used on this architecture.
*/
linux-image-686-pae
linux-headers-686-pae
#ifndef ARCH_i386_EXCLUDE_486_KERNEL
linux-image-486
linux-headers-486
#endif
2004-12-08 22:23:09 -01:00
#endif
2004-12-08 22:23:09 -01:00
#ifdef ARCH_amd64
initramfs-tools
busybox
grub-legacy
grub-pc
laptop-detect
lilo
linux-image-amd64
linux-headers-amd64
#endif
#ifdef ARCH_ia64
initramfs-tools
busybox
linux-image-itanium
linux-image-itanium-smp
linux-image-mckinley
linux-image-mckinley-smp
elilo
#endif
#ifdef ARCH_mips
/* doesn't use a initrd to boot */
arcboot
sibyl
linux-image-r4k-ip22
linux-image-r5k-ip32
linux-image-sb1-bcm91250a
linux-image-sb1a-bcm91480b
#endif
#ifdef ARCH_mipsel
/* doesn't use a initrd to boot */
sibyl
colo
delo
linux-image-r3k-kn02
linux-image-r4k-kn04
linux-image-r5k-cobalt
linux-image-sb1-bcm91250a
linux-image-sb1a-bcm91480b
#endif
2008-05-04 17:38:52 +00:00
#ifdef ARCH_armel
initramfs-tools
busybox
slugimage
flash-kernel
nslu2-utils
apex-nslu2
linux-image-iop32x
linux-image-ixp4xx
linux-image-versatile
2008-05-04 17:38:52 +00:00
#endif
#ifdef ARCH_sparc
initramfs-tools
busybox
silo
libc6-sparcv9b
libc6-sparcv9
linux-image-sparc32
linux-image-sparc32-smp
linux-image-sparc64
linux-image-sparc64-smp
#endif
#ifdef ARCH_powerpc
initramfs-tools
busybox
laptop-detect
quik
yaboot
powerpc-utils
hfsutils
2004-07-18 21:18:02 +00:00
mkvmlinuz
linux-image-powerpc
linux-image-powerpc-smp
linux-image-powerpc64
linux-image-prep
#endif
#ifdef ARCH_kfreebsd_amd64
kfreebsd-image-8-amd64
2011-12-08 14:34:14 -01:00
kfreebsd-image-9-amd64
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
grub-pc
libc0.1-i686
#endif
#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
EOF