[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

making sparc cds bootable and other arches cd problems for woody



Hi!

Well I'm trying to finish setting up the cd image creation machines that AJ
had asked for, I suppose that I'll have it finished this week, if the mirror
machine doesn't break again.

Anyway... I'm having some troubles, firs't I'll comment the problems I have
found with other arches and then the sparc stuff.

powerpc boot floppies on the ftp is lacking the current link, so the cd
building fails.

Also hppa,s390,ia64 and mips are lacking the Contents file on woody, so
debian-cd won't build this images, of course that we could relax this test
on debian-cd, but I think it is better if this gets built in a normal way.

Well, that is all I have found for now, and about making the sparc cds
bootable, I had this error:

Generating md5sum of files from all the binary CDs ...
Generating the binary iso images ...
/usr/bin/mkisofs: No such file or directory. Cannot access 'boot/second.b'.
make: *** [bin-images] Error 2

wich I'm solving with this patch:

--- boot-sparc.orig     Mon Sep 10 22:15:31 2001
+++ /usr/share/debian-cd/tools/boot/woody/boot-sparc    Tue Sep 11 02:42:20
2001@@ -23,7 +23,7 @@
        exit 0;
 fi

-echo "-B boot/second.b boot1" > $N.mkisofs_opts
+echo "-B $TDIR/$CODENAME-$ARCH/boot1/boot/second.b boot1" > $N.mkisofs_opts
 rm -rf boot1

 inst=boot1

However both buxy and me have agreed that this doesn't make much sense, it
should work in the original way, I have always used the -B option with
relative paths to the cd image without any problems on i386, but now it is
breaking. Building machine is a Sun UltraSparc wich is using woody with
mkisofs 1.10-1.

Anybody else had this problem? Does it seem ok to apply this patch to
cvs debian-cd?

Also I'd like some comments on this other patch I was using:

--- boot-sparc  Tue Sep 11 02:40:20 2001
+++ /usr/share/debian-cd/tools/boot/woody/boot-sparc    Tue Sep 11 02:42:20
2001@@ -37,7 +37,7 @@
        tar zxf - -C $inst/ ./boot/{cd,second}.b)

 # Some custom etc files
-cp -f -p $BASEDIR/tools/boot/potato/sparc-etc/{boot-msg.txt,debian.txt,silo.conf} \
+cp -f -p $BASEDIR/data/sparc/etc/{boot-msg.txt,debian.txt,silo.conf} \
        $inst/etc/

 tmp=$TDIR/sparc-root

The code on cvs seems to work ok on this case, but I'd like to know if there
was any move or something on the sparc files.

Regards...
-- 
Manty/BestiaTester -> http://manty.net



Reply to: