| 1 |
#!/bin/sh |
| 2 |
|
| 3 |
set -e |
| 4 |
|
| 5 |
# Generate a list of packages required for debian-installer |
| 6 |
# This script makes use of the following variables that need to be preset: |
| 7 |
# MIRROR, CODENAME |
| 8 |
if [ "$MIRROR"x = ""x ] ; then |
| 9 |
echo "\$MIRROR unset; abort!" |
| 10 |
exit 1 |
| 11 |
fi |
| 12 |
if [ "$CODENAME"x = ""x ] ; then |
| 13 |
echo "\$CODENAME unset; abort!" |
| 14 |
exit 1 |
| 15 |
fi |
| 16 |
if [ "$DI_CODENAME"x = ""x ] ; then |
| 17 |
echo "\$DI_CODENAME unset; abort!" |
| 18 |
exit 1 |
| 19 |
fi |
| 20 |
|
| 21 |
DATE=`date` |
| 22 |
cat > debian-installer+kernel << EOF |
| 23 |
/* These packages + the ones needed by debootstrap are the ones needed for |
| 24 |
* debian-installer to be able to install a base Debian system. |
| 25 |
* |
| 26 |
* These packages are installed by various parts of the debian-installer, |
| 27 |
* mostly via its apt-install command. |
| 28 |
* |
| 29 |
* This list can be generated with the command: |
| 30 |
* ../tools/generate_di+k_list |
| 31 |
* |
| 32 |
* DO NOT EDIT THIS FILE, edit the above script |
| 33 |
* |
| 34 |
* Last update: $DATE |
| 35 |
*/ |
| 36 |
|
| 37 |
#include <debian-installer> |
| 38 |
|
| 39 |
/* Hardware config */ |
| 40 |
eject |
| 41 |
pciutils |
| 42 |
usbutils |
| 43 |
keyboard-configuration |
| 44 |
console-setup |
| 45 |
pcmciautils |
| 46 |
acpi |
| 47 |
acpid |
| 48 |
acpi-support-base |
| 49 |
pbbuttonsd |
| 50 |
mouseemu |
| 51 |
udev |
| 52 |
discover |
| 53 |
|
| 54 |
/* Storage and filesystem tools */ |
| 55 |
e2fsprogs |
| 56 |
dmsetup |
| 57 |
lvm2 |
| 58 |
mdadm |
| 59 |
xfsprogs |
| 60 |
jfsutils |
| 61 |
dosfstools |
| 62 |
reiserfsprogs |
| 63 |
btrfs-tools |
| 64 |
btrfs-progs |
| 65 |
ufsutils |
| 66 |
zfsutils |
| 67 |
cryptsetup |
| 68 |
cryptsetup-initramfs |
| 69 |
systemd-cryptsetup |
| 70 |
loop-aes-utils |
| 71 |
dmraid |
| 72 |
open-iscsi |
| 73 |
/* multipath-tools-boot is used for multipath support and installed |
| 74 |
* during installation process if multipath is used |
| 75 |
*/ |
| 76 |
multipath-tools-boot |
| 77 |
|
| 78 |
/* Needed for pkgsel */ |
| 79 |
tasksel-data |
| 80 |
tasksel |
| 81 |
|
| 82 |
/* Networking */ |
| 83 |
wireless-tools |
| 84 |
ppp |
| 85 |
pppoeconf |
| 86 |
pptp-linux |
| 87 |
/* #593914: netinsts are being used on wireless too these days. */ |
| 88 |
wpasupplicant |
| 89 |
/* #782299: netcfg will install rdnssd, make sure it's on our media */ |
| 90 |
rdnssd |
| 91 |
|
| 92 |
/* Misc d-i */ |
| 93 |
installation-report |
| 94 |
openssh-server |
| 95 |
popularity-contest |
| 96 |
os-prober |
| 97 |
locales |
| 98 |
|
| 99 |
/* Needed for some languages with bi-directional support */ |
| 100 |
libfribidi0 |
| 101 |
|
| 102 |
/* Accessibility stuff that is installed by base-installer |
| 103 |
* in certain situations. */ |
| 104 |
alsa-utils |
| 105 |
brltty |
| 106 |
espeakup |
| 107 |
|
| 108 |
/* Needed for rootless installs. */ |
| 109 |
sudo |
| 110 |
|
| 111 |
/* #855035: make sure we have the bits on media for https package downloads */ |
| 112 |
apt-transport-https |
| 113 |
ca-certificates |
| 114 |
|
| 115 |
/* laptop-detect is used by tasksel when checking if the system is a |
| 116 |
* laptop so we have to make sure to get it included on first CD for |
| 117 |
* arches that are know to have laptops |
| 118 |
*/ |
| 119 |
|
| 120 |
/* add the list of firmware packages here too if required */ |
| 121 |
#ifdef FORCE_FIRMWARE |
| 122 |
# include <firmware> |
| 123 |
#endif |
| 124 |
|
| 125 |
/* Extra common bits for all arches */ |
| 126 |
initramfs-tools |
| 127 |
busybox |
| 128 |
zstd |
| 129 |
|
| 130 |
#ifdef ARCH_i386 |
| 131 |
iucode-tool |
| 132 |
grub-pc |
| 133 |
grub-efi |
| 134 |
grub-efi-ia32 |
| 135 |
grub-efi-ia32-bin |
| 136 |
grub-efi-ia32-signed |
| 137 |
shim-signed |
| 138 |
laptop-detect |
| 139 |
libc6-i686 |
| 140 |
/* Note that we do not have to include every optimised kernel flavor for |
| 141 |
* i386, but this does control what kernels are available on the netinst CD. |
| 142 |
* Kernel headers are included as third party modules are commonly |
| 143 |
* used on this architecture. |
| 144 |
*/ |
| 145 |
#ifndef ARCH_i386_EXCLUDE_486_KERNEL |
| 146 |
linux-image-486 |
| 147 |
linux-headers-486 |
| 148 |
#endif |
| 149 |
#ifndef ARCH_i386_EXCLUDE_586_KERNEL |
| 150 |
linux-image-586 |
| 151 |
linux-headers-586 |
| 152 |
#endif |
| 153 |
#ifndef ARCH_i386_EXCLUDE_686_KERNEL |
| 154 |
linux-image-686 |
| 155 |
linux-headers-686 |
| 156 |
#endif |
| 157 |
#ifndef ARCH_i386_EXCLUDE_686_PAE_KERNEL |
| 158 |
linux-image-686-pae |
| 159 |
linux-headers-686-pae |
| 160 |
#endif |
| 161 |
|
| 162 |
#endif |
| 163 |
|
| 164 |
#ifdef ARCH_amd64 |
| 165 |
iucode-tool |
| 166 |
grub-pc |
| 167 |
grub-efi |
| 168 |
grub-efi-amd64 |
| 169 |
grub-efi-amd64-bin |
| 170 |
grub-efi-amd64-signed |
| 171 |
grub-efi-ia32 |
| 172 |
grub-efi-ia32-bin |
| 173 |
grub-efi-ia32-signed |
| 174 |
shim-signed |
| 175 |
laptop-detect |
| 176 |
linux-image-amd64 |
| 177 |
linux-headers-amd64 |
| 178 |
#endif |
| 179 |
|
| 180 |
#ifdef ARCH_ia64 |
| 181 |
grub-efi |
| 182 |
grub-efi-ia64 |
| 183 |
grub-efi-ia64-bin |
| 184 |
linux-image-itanium |
| 185 |
linux-image-itanium-smp |
| 186 |
linux-image-mckinley |
| 187 |
linux-image-mckinley-smp |
| 188 |
#endif |
| 189 |
|
| 190 |
#ifdef ARCH_mips |
| 191 |
arcboot |
| 192 |
sibyl |
| 193 |
linux-image-octeon |
| 194 |
linux-image-r4k-ip22 |
| 195 |
linux-image-r5k-ip32 |
| 196 |
linux-image-sb1-bcm91250a |
| 197 |
linux-image-sb1a-bcm91480b |
| 198 |
#endif |
| 199 |
|
| 200 |
#ifdef ARCH_mipsel |
| 201 |
sibyl |
| 202 |
colo |
| 203 |
delo |
| 204 |
linux-image-loongson-2e |
| 205 |
linux-image-loongson-2f |
| 206 |
linux-image-loongson-3 |
| 207 |
linux-image-r3k-kn02 |
| 208 |
linux-image-r4k-kn04 |
| 209 |
linux-image-r5k-cobalt |
| 210 |
linux-image-sb1-bcm91250a |
| 211 |
linux-image-sb1a-bcm91480b |
| 212 |
#endif |
| 213 |
|
| 214 |
#ifdef ARCH_mips64el |
| 215 |
linux-image-5kc-malta |
| 216 |
linux-image-loongson-3 |
| 217 |
linux-image-mips64r2el |
| 218 |
linux-image-mips64r6el |
| 219 |
linux-image-octeon |
| 220 |
#endif |
| 221 |
|
| 222 |
#ifdef ARCH_armel |
| 223 |
slugimage |
| 224 |
flash-kernel |
| 225 |
nslu2-utils |
| 226 |
apex-nslu2 |
| 227 |
linux-image-iop32x |
| 228 |
linux-image-ixp4xx |
| 229 |
linux-image-kirkwood |
| 230 |
linux-image-mv78xx0 |
| 231 |
linux-image-orion5x |
| 232 |
linux-image-versatile |
| 233 |
#endif |
| 234 |
|
| 235 |
#ifdef ARCH_armhf |
| 236 |
flash-kernel |
| 237 |
grub-efi |
| 238 |
grub-efi-arm |
| 239 |
grub-efi-arm-bin |
| 240 |
linux-image-armmp |
| 241 |
linux-image-armmp-lpae |
| 242 |
#endif |
| 243 |
|
| 244 |
#ifdef ARCH_arm64 |
| 245 |
flash-kernel |
| 246 |
grub-efi |
| 247 |
grub-efi-arm64 |
| 248 |
grub-efi-arm64-bin |
| 249 |
grub-efi-arm64-signed |
| 250 |
shim-signed |
| 251 |
linux-image-arm64 |
| 252 |
#endif |
| 253 |
|
| 254 |
#ifdef ARCH_riscv64 |
| 255 |
grub-efi |
| 256 |
grub-efi-riscv64 |
| 257 |
grub-efi-riscv64-bin |
| 258 |
u-boot-efi-dtb |
| 259 |
linux-image-riscv64 |
| 260 |
#endif |
| 261 |
|
| 262 |
#ifdef ARCH_sparc |
| 263 |
grub-ieee1275 |
| 264 |
libc6-sparcv9b |
| 265 |
libc6-sparcv9 |
| 266 |
linux-image-sparc32 |
| 267 |
linux-image-sparc32-smp |
| 268 |
linux-image-sparc64 |
| 269 |
linux-image-sparc64-smp |
| 270 |
#endif |
| 271 |
|
| 272 |
#ifdef ARCH_sparc64 |
| 273 |
grub-ieee1275 |
| 274 |
linux-image-sparc64 |
| 275 |
linux-image-sparc64-smp |
| 276 |
#endif |
| 277 |
|
| 278 |
#ifdef ARCH_m68k |
| 279 |
linux-image-m68k |
| 280 |
#endif |
| 281 |
|
| 282 |
#ifdef ARCH_powerpc |
| 283 |
grub-ieee1275 |
| 284 |
laptop-detect |
| 285 |
quik |
| 286 |
powerpc-utils |
| 287 |
hfsutils |
| 288 |
mkvmlinuz |
| 289 |
linux-image-powerpc |
| 290 |
linux-image-powerpc-smp |
| 291 |
linux-image-powerpc64 |
| 292 |
linux-image-prep |
| 293 |
#endif |
| 294 |
|
| 295 |
#ifdef ARCH_ppc64 |
| 296 |
grub-ieee1275 |
| 297 |
hfsutils |
| 298 |
powerpc-utils |
| 299 |
powerpc-ibm-utils |
| 300 |
linux-image-powerpc64 |
| 301 |
linux-image-powerpc64-64k |
| 302 |
#endif |
| 303 |
|
| 304 |
#ifdef ARCH_ppc64el |
| 305 |
grub-ieee1275 |
| 306 |
powerpc-utils |
| 307 |
powerpc-ibm-utils |
| 308 |
linux-image-powerpc64le |
| 309 |
linux-image-powerpc64le-64k |
| 310 |
#endif |
| 311 |
|
| 312 |
#ifdef ARCH_alpha |
| 313 |
aboot |
| 314 |
linux-image-alpha-generic |
| 315 |
linux-image-alpha-smp |
| 316 |
#endif |
| 317 |
|
| 318 |
#ifdef ARCH_hppa |
| 319 |
palo |
| 320 |
linux-image-parisc |
| 321 |
linux-image-parisc64 |
| 322 |
#endif |
| 323 |
|
| 324 |
#ifdef ARCH_kfreebsd_amd64 |
| 325 |
grub-pc |
| 326 |
kfreebsd-image-10-amd64 |
| 327 |
#endif |
| 328 |
|
| 329 |
#ifdef ARCH_kfreebsd_i386 |
| 330 |
grub-pc |
| 331 |
kfreebsd-image-10-486 |
| 332 |
kfreebsd-image-10-686 |
| 333 |
libc0.1-i686 |
| 334 |
#endif |
| 335 |
|
| 336 |
#ifdef ARCH_hurd_i386 |
| 337 |
grub-pc |
| 338 |
gnumach-image-1-486 |
| 339 |
libc0.3-i686 |
| 340 |
#ifdef VARIANT_xen |
| 341 |
gnumach-image-1-xen-486 |
| 342 |
libc0.3-xen |
| 343 |
#endif |
| 344 |
#endif |
| 345 |
|
| 346 |
#ifdef ARCH_hurd_amd64 |
| 347 |
grub-pc |
| 348 |
gnumach-image-1-amd64 |
| 349 |
#endif |
| 350 |
|
| 351 |
#if defined(ARCH_s390) || defined(ARCH_s390x) |
| 352 |
s390-tools |
| 353 |
sysconfig-hardware |
| 354 |
linux-image-s390x |
| 355 |
#endif |
| 356 |
|
| 357 |
#ifdef ARCH_loong64 |
| 358 |
grub-efi |
| 359 |
grub-efi-loong64 |
| 360 |
grub-efi-loong64-bin |
| 361 |
linux-image-loong64 |
| 362 |
linux-headers-loong64 |
| 363 |
#endif |
| 364 |
EOF |