fix use of chrootmirror
authorMichael Prokop <mika@grml.org>
Fri, 3 Nov 2006 22:19:51 +0000 (23:19 +0100)
committerMichael Prokop <mika@grml.org>
Fri, 3 Nov 2006 22:19:51 +0000 (23:19 +0100)
chroot-script
config

index 1524da4..4a505ac 100644 (file)
@@ -4,7 +4,7 @@
 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
 # Bug-Reports:   see http://grml.org/bugs/
 # License:       This file is licensed under the GPL v2.
-# Latest change: Fre Nov 03 22:48:42 CET 2006 [mika]
+# Latest change: Fre Nov 03 23:19:29 CET 2006 [mika]
 ################################################################################
 
 set -e # exit on any error
@@ -14,7 +14,7 @@ set -e # exit on any error
 [ -r /proc/1 ] || mount -t proc   none /proc
 
 if [ -n "$CHROOTMIRROR" ] ; then
-   echo "$CHROOTMIRROR" > /etc/apt/sources.list
+   echo "deb $CHROOTMIRROR $RELEASE main contrib non-free" /etc/apt/sources.list
 fi
 
 if ! [ -r /etc/kernel-img.conf ] ; then
diff --git a/config b/config
index d49d7e6..f8e7ded 100644 (file)
--- a/config
+++ b/config
@@ -3,7 +3,7 @@
 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
 # Bug-Reports:   see http://grml.org/bugs/
 # License:       This file is licensed under the GPL v2.
-# Latest change: Fre Nov 03 22:05:19 CET 2006 [mika]
+# Latest change: Fre Nov 03 23:19:35 CET 2006 [mika]
 ################################################################################
 
 ################################################################################
@@ -30,7 +30,7 @@ MBR=''
 
 # specify entry which should be used for /etc/apt/sources.list,
 # if empty then any existing /etc/apt/sources.list will be taken
-CHROOTMIRROR='deb ftp://ftp.tugraz.at/mirror/debian unstable main contrib non-free'
+CHROOTMIRROR='ftp://ftp.tugraz.at/mirror/debian'
 
 # release (which Debian version should be installed)
 RELEASE='etch'