Patches
Hi!
It is long time since I want to write this mail, but I have reviewed cvs and
this bugs seem to still be there, so here are my patches to solve a couple
of small issues, should they seem ok, I can apply them myself but I'd rather
not do it without aproval from the main coders ;-)
The first one is an old friend of mine, it was made to solve this problem:
make: *** No rule to make target
/home/ftp/tmp/debian/dists/unstable/main/binary-i386/Packages.gz', needed by
/home/ftp/tmp/jigdofilelist'. Stop.
which appears when you try to build a woody cd with just a woody mirror and
not having unstable around.
--- Makefile.orig Mon Feb 18 22:27:50 2002
+++ Makefile Wed Feb 20 16:34:40 2002
@@ -712,7 +712,7 @@
# this list when really necessary (saves many minutes per run).
# Don't depend on anything else as this will not work as intended, so
# make $(TDIR) ourselves just to be sure.
-$(TDIR)/jigdofilelist: $(MIRROR)/dists/unstable/main/binary-i386/Packages.gz
+$(TDIR)/jigdofilelist: $(MIRROR)/dists/$(CODENAME)/main/binary-$(ARCH)/Packages.gz
@echo "Generating file list for jigdo (if requested) ..."
$(Q)set -e; \
if [ "$(DOJIGDO)" != 0 ]; then \
As $(TDIR)/jigdofilelist is needed by bin-images this patch seems a must and
I think it is correct.
The other one is when trying to build alpha cds if the current directory of
the boot floppies is not a link but a normal directory, then one gets this
error:
# isomarkboot can't resolve symlinks within the ISO image, so we do it
# manually.
BOOTVER=`readlink $CDROOT/dists/$CODENAME/main/disks-alpha/current`
readlink $CDROOT/dists/$CODENAME/main/disks-alpha/current
make: *** [bin-images] Error 1
This is what I did to solve that one:
--- post-boot-alpha.orig Mon Dec 3 21:11:16 2001
+++ post-boot-alpha Fri Feb 22 19:00:00 2002
@@ -20,7 +20,11 @@
# isomarkboot can't resolve symlinks within the ISO image, so we do it
# manually.
-BOOTVER=`readlink $CDROOT/dists/$CODENAME/main/disks-alpha/current`
+if [ -h $CDROOT/dists/$CODENAME/main/disks-alpha/current ];then
+ BOOTVER=`readlink $CDROOT/dists/$CODENAME/main/disks-alpha/current`
+else
+ BOOTVER=current
+fi
BOOTDISKS=dists/$CODENAME/main/disks-alpha/$BOOTVER
isomarkboot $CDIMAGE $BOOTDISKS/bootlx $BOOTDISKS/images-1.44/root.bin
Well, that's all for now, just my 2ç
Regards...
--
Manty/BestiaTester -> http://manty.net
Reply to: