Re: Debian/mipsel bootfloppies available by ftp
On Fri, Aug 03, 2001 at 10:07:59PM -0400, Adam Di Carlo wrote:
> Karsten Merker <karsten@excalibur.cologne.de> writes:
[SNIP]
> > ftp://bolugftp.uni-bonn.de/pub/mipsel-linux/woody-bootfloppies/bf-20010802
> >
> > This directory contains the boot-floppies themselves, a netboot-kernel
> > with the initrd and the patches needed to get the boot-floppies built
> > on mipsel.
[SNIP]
> Are the necessary patches in the latest boot-floppies CVS?
Not yet - before submitting it I wanted to have another test besides
the one I had done on my machine. I got a success report last night,
so it should be ok. Could you apply the patch? I have appended it to
this mail.
Greetings,
Karsten
--
#include <standard_disclaimer>
Nach Paragraph 28 Abs. 3 Bundesdatenschutzgesetz widerspreche ich der Nutzung
oder Uebermittlung meiner Daten fuer Werbezwecke oder fuer die Markt- oder
Meinungsforschung.
diff -Nur boot-floppies-cvs20010726/release.sh boot-floppies/release.sh
--- boot-floppies-cvs20010726/release.sh Wed Jul 25 20:44:55 2001
+++ boot-floppies/release.sh Sun Jul 29 18:20:36 2001
@@ -1069,8 +1069,16 @@
do_arch_mipsel()
{
- echo "Nothing here yet!"
- exit 1
+ echo "do_arch_mipsel called..."
+ echo "release=$release"
+ echo "TOP=$TOP"
+
+ mkdir -p $release
+ cp linux $release/
+
+ gunzip -c $TOP/config.gz > $release/kernel-config
+ gunzip -c $TOP/config.gz > $release/images-1.44/kernel-config
+
}
# main
diff -Nur boot-floppies-cvs20010726/rescue.sh boot-floppies/rescue.sh
--- boot-floppies-cvs20010726/rescue.sh Wed Jul 18 23:50:35 2001
+++ boot-floppies/rescue.sh Sun Jul 29 18:22:54 2001
@@ -407,9 +407,11 @@
;;
esac
;;
- mips)
- error "no support for MIPS"
- ;;
+ mips|mipsel)
+ mke2fs -F -q $floppy $blocks
+ fstype=ext2
+ nlfmt='cat -' # UNIX newline convention
+ ;;
powerpc)
case "$subarch" in
apus|chrp)
@@ -507,10 +509,10 @@
relax
-if [ "$arch" = hppa -o "$arch" = powerpc -a "$subarch" = pmac ]; then
+if [ "$arch" = hppa -o "$arch" = powerpc -a "$subarch" = pmac -o "$arch" = "mipsel" ]; then
info "compressing and installing kernel 'linux$subarch'"
- gzip -9f linux$subarch
- cp linux$subarch.gz $mnt/linux.gz
+ # gzip -9f linux$subarch
+ gzip -9cf linux$subarch > $mnt/linux.gz
else
info "installing kernel 'linux$subarch'"
cp linux$subarch $mnt/linux
@@ -632,6 +634,9 @@
;;
hppa)
write_m68kinfo
+ ;;
+ mipsel)
+ write_installsh
;;
esac
diff -Nur boot-floppies-cvs20010726/rootdisk.sh boot-floppies/rootdisk.sh
--- boot-floppies-cvs20010726/rootdisk.sh Wed Jul 18 23:50:35 2001
+++ boot-floppies/rootdisk.sh Thu Jul 26 16:18:24 2001
@@ -602,7 +602,7 @@
fi
# do library reduction for platforms where it works
-if [ "$arch" != "ia64" ]; then
+if [ "$arch" != "ia64" -a "$arch" != "mipsel" ]; then
info "doing library reduction"
rm -f $R/lib/libc-$libcver.so $R/lib/$libcso
rm -f $R/usr/lib/libslang.so.* $R/lib/libslang.so.*
Reply to: