From fc58666619263486986e87e82b4f727bec18a847 Mon Sep 17 00:00:00 2001
From: Otavio Salvador <otavio@ossystems.com.br>
Date: Sun, 26 Sep 2010 23:17:48 +0200
Subject: Fixing debian-installer index generation.

When figuring out which suite to use, cdrom-detect looks for the
Release file and the first one to be tried is the content of
/etc/default-release, inside of installer initrd, that needs to be
available as symbolic link.
---
 scripts/build/lb_binary_debian-installer | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/build/lb_binary_debian-installer b/scripts/build/lb_binary_debian-installer
index 9868041..d1f99b7 100755
--- a/scripts/build/lb_binary_debian-installer
+++ b/scripts/build/lb_binary_debian-installer
@@ -615,7 +615,7 @@ EOF
 	mv chroot/root/binary ./
 
 	# Creating dist symlinks
-	for DISTRIBUTION in frozen stable testing unstable
+	for DISTRIBUTION in frozen stable testing unstable ${LB_DISTRIBUTION}
 	do
 		ln -s ${LB_DEBIAN_INSTALLER_DISTRIBUTION} binary/dists/${DISTRIBUTION}
 	done
-- 
cgit v1.0