Re: Arch-dependent extra packages for debian-cd
Santiago Garcia Mantinan wrote:
> > > - Is is ok to have bootloaders for i386 listed but not for others?
> > I think that most bootloaders are pulled in by debootstrap, so appear on
> > tasks/base-sarge. lilo and grub are an exception as debootstrap installs
> > neither.
>
> Anyway, this boot loaders should only be listed in the i386 arch, and they
> are for all arches, I know that they don't exist for others, but then why
> not putting them in the i386 section?
>
> > > - Which architectures need pcmcia-cs?
> > Duno. I seem to recall seeing a mips laptop with it once..
>
> I'd say all of them, I have a pci to pcmcia adapter, the one I used the
> other day at the university while doing a demo of our installation and
> installing from a usb device using then a wireless pcmcia car to get the
> files from the net. There are also ISA adapters of this kind, so I guess
> that any arch can have pcmcia.
I have updated the patch for debian-cd accordingly.
Thiemo
Index: tools/generate_di+k_list
===================================================================
RCS file: /cvs/debian-boot/debian-cd/tools/generate_di+k_list,v
retrieving revision 1.16
diff -u -p -r1.16 generate_di+k_list
--- tools/generate_di+k_list 18 Mar 2004 19:52:33 -0000 1.16
+++ tools/generate_di+k_list 27 Mar 2004 15:52:26 -0000
@@ -17,10 +17,7 @@ cat > debian-installer+kernel << EOF
*/
#include <debian-installer>
-discover
eject
-grub
-lilo
locales
lvm10
aptitude
@@ -35,6 +32,9 @@ wireless-tools
xfsprogs
reiserfsprogs
#ifdef ARCH_i386
+discover
+grub
+lilo
EOF
/bin/sed -n 's/Package: \(kernel-image-2.4.*-386\)$/\1/p' \
@@ -47,6 +47,7 @@ EOF
cat >> debian-installer+kernel << EOF
#endif
#ifdef ARCH_alpha
+discover
EOF
/bin/sed -n 's/Package: \(kernel-image-.*\)$/\1/p' \
@@ -56,6 +57,7 @@ EOF
cat >> debian-installer+kernel << EOF
#endif
#ifdef ARCH_hppa
+discover
EOF
/bin/sed -n 's/Package: \(kernel-image-.*\)$/\1/p' \
@@ -65,6 +67,7 @@ EOF
cat >> debian-installer+kernel << EOF
#endif
#ifdef ARCH_ia64
+discover
initrd-tools
EOF
@@ -74,7 +77,35 @@ EOF
cat >> debian-installer+kernel << EOF
#endif
+#ifdef ARCH_mips
+arcboot
+EOF
+
+# Only include mips kernels that d-i base-installer installs.
+for subarch in r4k-ip22 r5k-ip22; do
+ sed -n 's/Package: \(kernel-image-.*-.*\)$/\1/p' \
+ $MIRROR/dists/$CODENAME/main/binary-mips/Packages \
+ | grep -- "-$subarch$" | sort -n | tail -n 1 \
+ >> debian-installer+kernel
+done
+
+cat >> debian-installer+kernel << EOF
+#endif
+#ifdef ARCH_mipsel
+EOF
+
+# Only include mipsel kernels that d-i base-installer installs.
+for subarch in r3k-kn02 r4k-kn04; do
+ sed -n 's/Package: \(kernel-image-.*-.*\)$/\1/p' \
+ $MIRROR/dists/$CODENAME/main/binary-mipsel/Packages \
+ | grep -- "-$subarch$" | sort -n | tail -n 1 \
+ >> debian-installer+kernel
+done
+
+cat >> debian-installer+kernel << EOF
+#endif
#ifdef ARCH_powerpc
+discover
EOF
# Only include powerpc kernels that d-i base-installer installs.
@@ -89,6 +120,7 @@ done
cat >> debian-installer+kernel << EOF
#endif
#ifdef ARCH_sparc
+discover
EOF
/bin/sed -n 's/Package: \(kernel-image-.*-sparc.*\)$/\1/p' \
Reply to: