Bug#590993: installation-reports: netboot install report broken mirror if installation CD is used as mirror

2010-07-31 Thread Rainer Glaschick


Frans Pop wrote:
 reassign 590993 debian-cd
 severity 590993 normal
 thanks
 
 Since you are trying something that's not really supported, this is 
 certainly *not* a grave issue. After all, a CD image is not a mirror 
 even if both contain a repository.
 
 It is correct that the error occurs because CD images have symlinks for all 
 suites to the release (codename) included on the CD. This is mostly for 
 historic reasons and no longer has any purpose (since current versions of 
 the installer select by codename instead of suite).
 
 In a bit more detail. The latest versions of choose-mirror (including the 
 current Etch and Lenny versions) perform validity checks on the Release 
 files and will reject a mirror as broken if the Release file under a 
 suite symlink lists a different suite inside the Release file.
 
 It would be better if debian-cd was modified to only include the symlink 
 for the suite actually specified in the Release file. Reassigning 
 accordingly.
 
 Looks like my whole attempt to use the ISO image as netboot installation
 source is futile, as the files are not signed on the CD,
 so netinst gives up in the next step.
 
 This can be worked around by telling the installer to ignore the 
 signatures. See the installation guide for details.
 
 Cheers,
 FJP

-- 
Rainer Glaschick
email: rai...@glaschick-pb.de
tel: +49 5254 6238
Paderborn, Germany
Persönliche nichtöffentliche Nachricht / personal private message




--
To UNSUBSCRIBE, email to debian-cd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c53de09.9020...@glaschick-pb.de



Bug#590993: installation-reports: netboot install report broken mirror if installation CD is used as mirror

2010-07-31 Thread Rainer Glaschick
Please excuse that I have sent back the original message to all;
this was not intended and a mistake that should not have happened.

And thank you, I now understand the case.

Rainer

Frans Pop wrote:
 reassign 590993 debian-cd
 severity 590993 normal
 thanks
 
 Since you are trying something that's not really supported, this is 
 certainly *not* a grave issue. After all, a CD image is not a mirror 
 even if both contain a repository.
 



-- 
To UNSUBSCRIBE, email to debian-cd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c53defe.1030...@online.de



Bug#590993: installation-reports: netboot install report broken mirror if installation CD is used as mirror

2010-07-31 Thread Frans Pop
tags 590993 patch
thanks

 It would be better if debian-cd was modified to only include the symlink
 for the suite actually specified in the Release file.

The attached patch (tested) implements this.

diff --git a/tools/start_new_disc b/tools/start_new_disc
index cf00344..779f242 100755
--- a/tools/start_new_disc
+++ b/tools/start_new_disc
@@ -66,9 +66,6 @@ fi
 
 if [ ! -d $CDDIR/dists/$CODENAME ] ; then
 mkdir -p $CDDIR/dists/$CODENAME
-for name in stable unstable frozen testing; do
-	ln -sf $CODENAME $CDDIR/dists/$name
-done
 fi
 
 # Commodity link for tools which want local in dists/local/local ...
@@ -336,6 +333,12 @@ if [ -e $MIRROR/dists/$CODENAME/Release ] ; then
 	sed -i -e s/^Suite: .*$/Suite: stable/ dists/$CODENAME/Release
 	sed -i -e s/^Description: .*$/Description: Debian $DEBVERSION Released $RDATE/ dists/$CODENAME/Release
 	fi
+
+	# Create the suite symlink
+	SUITE=$(sed -n /^Suite:/ s/.*: //p dists/$CODENAME/Release)
+	if [ -n $SUITE ]  [ x$SUITE != x$CODENAME ]; then
+		ln -sf $CODENAME dists/$SUITE
+	fi
 else
 	echo ERROR: Release file ($MIRROR/dists/$CODENAME/Release) is missing !
 	exit 1


Processed: Re: Bug#590993: installation-reports: netboot install report broken mirror if installation CD is used as mirror

2010-07-31 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 tags 590993 patch
Bug #590993 [debian-cd] installation-reports: netboot install report broken 
mirror if installation CD is used as mirror
Added tag(s) patch.
 thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
590993: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=590993
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


-- 
To UNSUBSCRIBE, email to debian-cd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.12805744488002.transcr...@bugs.debian.org